Can I retrieve information from a table onto a form?

G

GD

Let's say I enter an invoice # into a form. I would like to be able to have
the date, amount, notes, etc., for that invoice (already entered into another
table) automatically appear in other boxes within the same form. Is this
possible, and if so, can you walk me through it?
 
G

Golfinray

Put a combo box on the from. Let the wizard do that for you and let it set
invoice # as the item you will look up. Then right click on the combo and go
to properties, then find the events properties. Click on the afterupdate
event, click the little button out to the right, and start the code builder.
Type:
Me.filter = "[invoice #] = """ & me.combo# & """"
Me.filteron = true
The combo# will be listed, like combo12 or combo2
 

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