October 6, 201510 yr Quick question....Is there a way to include a time stamp field in the WHERE clause, but check only the date and not the entire timestamp. In other words, ExecuteSQL("SELECT field1 from table1 WHERE timestamp_Created = ?"; ""; ""; Get(CurrentDate) ) I could do this with greater than or less than conditions in the WHERE clause. I'm just wondering if something like the sample query above can be done instead of the greater than or less than conditions.
October 6, 201510 yr Some contortions required, but it seems that this works: . . . WHERE DATEVAL ( LEFT ( STRVAL ( timeStampField ) , 10 ) ) = ? " ; "" ; "" ; aFileMakerDateExpression )
Create an account or sign in to comment