Andrew,
As I was saying, the combo wizard can automate this. Here is
sample code for going to the record that you want. You would
put this in the AfterUpdate event of the combobox and then
change the combo reference to match the name of your combo
control and fields....
If your data is text....
Me.RecordsetClone.FindFirst "[Customer ID] = '" &
Me![YourComboName] & "'"
Me.Bookmark = Me.RecordsetClone.Bookmark
If it is numeric....
Me.RecordsetClone.FindFirst "[Customer ID] = " &
Me![YourComboName]
Me.Bookmark = Me.RecordsetClone.Bookmark
--
Gary Miller
Gary Miller Computer Services
Sisters, OR
________________________
Thanks
I have already figured out how to make a combo box in the
header that has
all the data in the table so I can type in a name or
whatever and it will
bring it up - when I hit enter however I would like the
data to be displayed
in a form in the body of the form.
Thats step one - ill bug you for more when I get that
figured out
Andrew
message
Andrew,
Access, as most any database, is inherently searchable.
If
you store your data 'properly' in tables, it is easy to
create a form to display/enter/edit the data. The
combobox
wizard can then help you create one or more comboboxes
you
can drop in the form header that will find a record base
on
your selection from all of the available records.
Take a look at the sample Northwind database that comes
with
Access and you will get some ideas. When you have some
specific questions, come on back.
--
Gary Miller
Gary Miller Computer Services
Sisters, OR
________________________
Im fairly new to access so please bear with me. We
resell
webhosting and I
want to make a database of our clients with their
domains,
user ids,
passwords etc. I want to make this searchable so that
I
can pull up the
record that contains their data if I need to. How
would I
go about doing
this? Is there a tutorial on making a searchable
database?
Thanks