jrr316 Posted September 21, 2006 Posted September 21, 2006 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?
Raybaudi Posted September 21, 2006 Posted September 21, 2006 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
jrr316 Posted September 21, 2006 Author Posted September 21, 2006 Almost, I figured out it was the evaluate function. Evaluate(Syntax). Very Cool Thanks!
Raybaudi Posted September 21, 2006 Posted September 21, 2006 Hi you can use the Evaluate()function too... Case( not IsEmpty (yourField); Evaluate(Quote ( yourField & " "" & FC_Users::Name_FirstLAst & """ & " " & """ & FC_Users::User ID & """ );yourField); "" )
Recommended Posts
This topic is 6700 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 accountSign in
Already have an account? Sign in here.
Sign In Now