|
-
Nov 8th, 2000, 11:31 AM
#1
Thread Starter
Addicted Member
I am getting a message that I have a 'data type error in criteria expression'. In the Access database, the issuenumber is defined as an autonumber, which is a long integer. The variable gintIssueNumber is define as 'Long' in a public statement.
This is the line that is giving me the error:
rst.Open "Select * from tblLog WHERE issuenumber = '" & gintIssueNumber & " ' ", cnn
This is the code that fills 'gintissuenumber':
gintIssueNumber = cboIssue.Text
Is the '.text' giving me the problem? If so, what can I use in its place?
smh
Normal is boring...
 smh 
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
|