Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select statement
Message
From
11/07/2001 21:10:04
Randy Hooper
Ranco Business Software
Tampa, Florida, United States
 
 
To
All
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Title:
Select statement
Miscellaneous
Thread ID:
00529527
Message ID:
00529527
Views:
50
What wrong with this code.

Dim IntRetrieve As Integer
frmChkBk.adochkBk.commandType = adcmdText
intRetrieve = val(InputBox("What check # do you want to retrieve?", "Retrieve"))
frmChkBk.adoChkBk.RecordSource = _
"select * from tblchecks where fldnum = intRetrieve"
frmChkBk.adoChkBk.refresh
frmChkbk.adochkBk.commandType = adCmdTable

error message: No value given for one or more required parameters

I through up a msgbox with intRetrieve has the value I key in form mu input box.
My fldNum is an Integer data type

New to VB

Thanks Randy
Foxpro is a sweet puppy

'cept it barks every now and then =)
Next
Reply
Map
View

Click here to load this message in the networking platform