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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display a query parameter through Dialog Box

Status
Not open for further replies.

proggy

Programmer
Apr 21, 2002
46
US
How can I display a query parameter through a Dialog Box?
I have a function GettidValue() which I want to display through dialog box and also store that valu in a new table to be retrieved later.
any help is really appreciated,
thanks,
 
It's been awhile, but in query builder I used to put the question in brackets as the "field name" and it would prompt for input.

ie. [What item number to you want to order?]

HTH, MapMan [americanflag]

Assume nothing, question everything, be explicit not implicit, and you'll always be covered.
 
thanks but.. that i have done already...
what want is a dialog box should pop and say you entered " 56" where 56 is passed to a parameter query as u said above..
 
Here you go, give this a whirl...

Assumptions...
[tt]The textbox is name NetBlkEnd[/tt]

Concept...[tt]
Add code to the LostFocus event of your control to display the contents of the control[/tt]

Code...
Code:
Private Sub NetBlkEnd_LostFocus()
    Dim a$
    a$ = MsgBox(NetBlkEnd, vbOKOnly, "You Entered")
End Sub
HTH, MapMan [americanflag]

Assume nothing, question everything, be explicit not implicit, and you'll always be covered.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top