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

Access 2000 Text Entry MsgBox

Status
Not open for further replies.

TheIntern03

Technical User
Jul 9, 2003
4
US
I'm writing an application in Access 2000. I seem to remember that there was an automated pop-up box, similar to the VBA MsgBox function, that allowed the programmer to specify a prompt, and then a text-entry pop-up would appear to the user, the return value being the string which the user entered. It's of course entirely possible that I'm making this up, but if any of you know about it, can you help me with specifics? (Or, if you know that no such thing exists, please disabuse me of my notions.)

Thanks :)
 
are u talking of an input box? if so this is an example, make a command button and name is cmdsearch and on click event past the following code:

Private Sub cmdSearch_Click()

Dim intCount As Integer
Dim strfind As String

strfind = InputBox("Please enter item to find", "Search", vbNullString)

'your code using strfind, example below will just show another box with wthat the user wrote
msgbox strfind
End Sub
 
That is precisely what I was looking for! Thank you very much. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top