Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
cetrevi
Starting Member
1 Post |
Posted - 2001-03-30 : 07:13:48
|
| I've written the following statement for a recordset in VB6.0, the connection object uses ODBC (Visual Foxpro driver):<b><red><i>"SELECT DISTINCT RefNum FROM Aijoqtrn WHERE aijoqtrn.Typeflag = 'I' AND Date > (#" & dtFrom & "#)ORDER BY refnum"</i></red></b>The statement looks like this after assigning it to a variable:<b><red><i>SELECT DISTINCT RefNum FROM Aijoqtrn WHERE aijoqtrn.Typeflag = 'I' AND Date > (#01/02/01#) ORDER BY refnum</i></red></b>I get the following ODBC error when trying to open the recordset with this statement:<b><red><i>"MISSING OPERAND"</i></red></b>Thanks in advance, |
|
|
|
|
|