Newbies repro Posted July 20, 2005 Newbies Posted July 20, 2005 I have an sql query which works fine when the query is pasted into the import box, however I want to do a calculation where the last 5 digits are a job number which changes like this SELECT "JobDescription"."JobNo", "JobDescription"."Description" FROM "JobDescription" WHERE "JobDescription"."JobNo" = XXXXX where XXXXX is my job number which changes but I cannot get it to work as a calculation either by pasting the above text plus the job no. field or by creating a field which holds the result and using that in the calculation. Sorry if a little muddled first few steps into Filemaker and SQL
mattley Posted July 21, 2005 Posted July 21, 2005 Try creating a calcultion field which holds the entire query, so = "select ....... ... WHERE..." & & "" then use that field as the calculated SQL. Hope that makes sense.
Newbies insta_gator Posted July 29, 2005 Newbies Posted July 29, 2005 (edited) Here's an example using Access. Don't forget to set up the DSN first. ODBC.zip Edited July 29, 2005 by Guest
Recommended Posts
This topic is 7055 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