Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL problem

Status
Not open for further replies.

Tom123456

Programmer
Apr 2, 2003
70
SE
If I want to run a sql query from a dropdown list that says a number, in this case a employee id, and I want the result to show in a textbox. How do I implement it?

I have the the sql query (Is a SUM query so itr only return one answer) ready but I dont know how to return the value to show up in a textbox.





- Tom
 

In the drop down lists afterupdate event procedure

Me.TxtTextbox = DSum (Equivalent of your SQL query)

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top