Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

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

Posted

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.

  • 2 weeks later...

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 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.