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

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

Recommended Posts

Posted

Greetings,

I have a sql query I want to run... but I think some of the clauses in it are not available in Filemaker's Query builder, which only has SELECT WHERE ORDERBY. Can I type in the query manually to get this to work, or will only those three clauses work? Or is there another way to request a SQL query that I don't know about?

Posted

You can create a calculation and call that. I just don't use the "builder", it is limiting. :

Posted

I think I tried that, and Filemaker acted like it didn't know the functions.

select count(orderno) as number_orders, custnum into #temp from cms group by custnum

select * from #temp where number_orders=1

select * from cust where custnum in (select custnum from #temp where number_orders=1)

This Query would work if I went directly to the SQL server and ran it... but I am trying to avoid interacting with the server, other than using FMP....

I think the problem is, this particular query would return a lot of results.. I wonder how I could do this in FMP... since the calculated field is built for one result...

Any Ideas?

This topic is 5546 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.