|
-
Oct 9th, 2000, 01:51 PM
#1
Thread Starter
Junior Member
I'm doing a search using the next statment:
Set RS = DB.OpenRecordset("SELECT id, Codigo, Venta, Compra FROM DT1 WHERE id =" & idnum, dbOpenDynaset)
to prevent geting an error if one of the fields is blanck I´m doing the next for a string variable
scod = "" & RS!Codigo
but the next variable store a integer value, and when it gets to field with an negative value, I´m geting a Run Time error 13, Type mismatch.
icompra = 0 & RS!Compra
any sugestions.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|