Creating a Statement or Loading an Existing Statement from a File
- Last UpdatedNov 07, 2016
- 1 minute read
You can create a query with other third-party database tools, and then use SQL Access to run the query. First, you must load the SQL statement from an .SQL query file created by the third-party database tool.
ResultCode = SQLLoadStatement (ConnectionID, "c:\myappdir\lotquery.sql");
You load the SQL query using the SQLoadStatement() function. The statement is now ready to run.