Northwind DB: voodoo in Orders form?

G

Guest

Hi,

In the Northwind sample database there's a form named Orders. If you select
an option in the 'Bill to' dropdown, the text boxes directly underneath
change their values. I've looked everywhere and I can't work out how this
happens! There's no binding anywhere, that I can see, between the CustomerID
dropdown and the five fields below it.

I can easily see how the 'Ship to' fields are populated - the values are
simply copied across from the 'Bill to' fields, via the AfterUpdate method of
the CustomerID list - but I have less than no idea how those 'Bill to' fields
are populated.

Any enlightenment would be gratefully accepted!
 
S

Sandra Daigle

No voodoo - just using a little feature that's been in Access for a long
time. The RecordSource query for the form is an AutoLookup query. If you
look at the controls in question you will see that they are bound to fields
in the query. The AutoLookup query is simply a multiple-table query that
automatically fill in certain field values for a new record. Do a search in
help for AutoLookup to find out the specifics.
 

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