Here's one I can't figure out.. I'm writing a custom tag to replicate cfquery.. in short this is only because I can then switch from datasource to connection string in seconds instead of much longer.
First try gave me this failure: It used double quotes wherever I had single quotes.. So to remedy that: PreserveSingleQuotes.. Now it's doing a new thing..
SELECT * FROM RemoteNews
WHERE InChannel=#Channel#
ORDER BY NewsDate DESC
is apparently the only query on the whole site that it trips on.. InChannel is a lookup field treated as a number field.. The database is not hurt.. this code should work but I get an odd error:
[Microsoft][ODBC Microsoft Access Driver] Syntax error in date in query expression 'InChannel=#Channel#'.
This is not a date field.. I've tried everything I can think of to get it to run.. and nothing works.. is there another way to handle number fields?
Thanks,
Tony Hicks [ Founder of <A href=" online bible. ]
First try gave me this failure: It used double quotes wherever I had single quotes.. So to remedy that: PreserveSingleQuotes.. Now it's doing a new thing..
SELECT * FROM RemoteNews
WHERE InChannel=#Channel#
ORDER BY NewsDate DESC
is apparently the only query on the whole site that it trips on.. InChannel is a lookup field treated as a number field.. The database is not hurt.. this code should work but I get an odd error:
[Microsoft][ODBC Microsoft Access Driver] Syntax error in date in query expression 'InChannel=#Channel#'.
This is not a date field.. I've tried everything I can think of to get it to run.. and nothing works.. is there another way to handle number fields?
Thanks,
Tony Hicks [ Founder of <A href=" online bible. ]