Ok I found out why the problem is arising, but I still need help.
The WellType's datatype is a Number. If I change it to a Text than I don't
get the error.
But I need it as a number so is there a workaround so it can still do the SQL
statement with the datatype being a number?
>I am getting this error and I tried Compacting and decompiling the database
>and all that jazz and I still get this error. Its a 1 table database, nothing
[quoted text clipped - 21 lines]
>Please help or let me know if you need more info!
>Thanks!
Beetle - 14 May 2008 23:11 GMT
Remove the single quotes in the criteria part of your SQL statement.
It should be;
LSQL = LSQL & " where WellType = " & combo17
for a number data type

Signature
_________
Sean Bailey
> Ok I found out why the problem is arising, but I still need help.
> The WellType's datatype is a Number. If I change it to a Text than I don't
[quoted text clipped - 27 lines]
> >Please help or let me know if you need more info!
> >Thanks!