Connecting a Parameterized Query in to a form

saleemMSMS

Registered User.
Local time
Today, 15:58
Joined
Aug 12, 2009
Messages
92
i have a parameterized query.. it is "Select Description from Books where BookID=<a parameter>"

i want to link this with a form and i'd like to pass the parameter from a text box in the form.
i need to connect this query in to a button click event where the parameter will get the value from the text box at that time..
is there any way of doing this?
if so please let me know
 
Use the textbox reference directly in the query.

Forms!formname.Form!textboxname
 

Users who are viewing this thread

Back
Top Bottom