Jump to content
Server Maintenance This Week. ×

ExecuteSQL() problem


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

Recommended Posts

When I create a calculation field with the following ExecuteSQL function, it works fine:

 

ExecuteSQL ( 

"SELECT  DISTINCT "Regatta Contact AMYAnum"
FROM "Regatta Schedule"
WHERE OnLineReg = ?
 ";
"" ; "¶"; 1)
 
But when I add a further qualifier 
 
ExecuteSQL ( 
"SELECT  DISTINCT "Regatta Contact AMYAnum"
FROM "Regatta Schedule"
WHERE OnLineReg = ?
and Date > CURRENT_DATE()
 ";
"" ; "¶"; 1)
 
It returns the dreaded "?".
 
What is the correct syntax?
Link to comment
Share on other sites

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