Input Box

F

fredg

Kid said:
How can I use InputBox("___") and have a browse button
also?

You can't.
If you need any sort of special InputBox you will have to make your oun,
using an unbound form with whatever controls you wish to place on it.
Add a Command button to the form.
Code it's click event:
Me.Visible = False

Then, in your code, instead of using
strText = InputBox(etc)
you would use:
DoCmd.OpenForm "FormName", , , , , acDialog
strText = forms!FormName!ControlName
Docmd.close acForm, "FormName"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top