Dear reader ... read the following CF code please:
<CFQUERY DATASOURCE="DS" NAME="QMaxID">
Select Max(ID) As MaxID From Messages
</CFQUERY>
<CFQUERY DATASOURCE="DS" NAME="QMinID">
Select Min(ID) As MinID From Messages
</CFQUERY>
<CFQUERY...
I think that the problem in "#Application.dsn#". Try to make an ODBC from Windows control-panel, so your code may look like this:
-----------------------------------------------------
- <CFQUERY DATASOURCE="MyDSN" NAME="EmpQuery"> -
- Select RepID, Email...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.