View Single Post
  #2  
Old April 13th, 2010, 10:17 PM posted to microsoft.public.access.gettingstarted
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Updating a table from a form

On Tue, 13 Apr 2010 11:16:02 -0700, Melissa Brown Melissa
wrote:

Is it possible? I have been reading and trying different things, but no
successs yet.

I have a customer base table with name, address, etc
a products table
a facility table

When a customer calls to make a reservation in a facility I would like to
open the reservation form and when I enter the customer's ID, that customer
table info appear to be verified or corrected. I do not need anything other
than the customer's ID on the reservation form.

Ideas? Advice?


If the form is correctly designed, sure, it's possible. It's not clear what
you've tried and in what way you've failed!

Perhaps this would help: put a Combo Box on the form using the Customer table
as its rowsource. Include the fields that you want to see, and set its
ColumnCount large enough for all the desired fields, and set the ColumnWidths
to conceal everything except the customer name. On the Form put textboxes with
control sources like

=comboboxname.Column(n)

where n is the zero based index of the field you want to see - e.g. if the
address is in the third column of the query use (2). This will display the
values from the customer table. The values will be read-only though.
--

John W. Vinson [MVP]