Jump to content

Use Text Field As a Calculation


This topic is 6518 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Now this is interesting one.

I am trying to com up with a way to enter data into a text field that CONCATENATE's values from 2 data bases. I want to be able to type what I want into a text field and have that text field be used by a calculation. Here's what I got

Script Syntax: (Text Field user types into)= "CHANGEALIAS " & """ & FC_Users::Name_FirstLAst & """ & " " & """ & FC_Users::User ID & """

FC_Users is a related database.

So I type that in to my Syntax field, I now want a field that will CONCATENATE, via a calculation and spit out:

Script Calculation:CHANGEALIAS "Buildings & Grounds" "Buildings & Gro"

Any thoughts?

Link to comment
Share on other sites

Hi

something like this ?

Case(

Get(ActiveFieldName) = "yourField" ; yourField & """ & FC_Users::Name_FirstLAst & """ & " " & """ & FC_Users::User ID & """ ;

""

)

note: yourField is a text field with the option of AutoEnter/Replace a calculated value

Link to comment
Share on other sites

This topic is 6518 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.