Navigating in the form

S

ssxmetro

I have a form bound to a table with a combobox. When I select and item in the
combobox, the other fields do not move to the selected record. What do I
need to do here?
 
S

ssxmetro

This still is not changing the record # at the bottom of the form. I have 447
records. No matter what value i choose in the combobox it stays on record 1.
The name of the ComboBox is DL_Name (it is populated by a query i created
called qry_comp_dl) There is also a subform that is populated by a different
table. So what would the code look like exactly using the names I gave you?
Assuming you set the combo to an ID, name, Item, or something like that,
right click on the combo and go to properties. Go to the events property and
select the afterupdate event. Click the button out to the right and start the
code builder. Type:
Me.filter = "[your id] = """ & Me.combo# & """"
Me.filteron = true
Your combo# will be listed, like combo10 or combo22
I have a form bound to a table with a combobox. When I select and item in the
combobox, the other fields do not move to the selected record. What do I
need to do here?
 
S

ssxmetro

I downloaded this but it doesnt seem to work in yours either! I am using
access 2007. When i change the value of the combobox, it doesnt navigate to
the record!
 
S

ssxmetro

yes, its on my company network

Roger said:
Is your database in a trusted location? I sounds like the security settings
are not allowing VBA to run.
I downloaded this but it doesnt seem to work in yours either! I am using
access 2007. When i change the value of the combobox, it doesnt navigate
[quoted text clipped - 11 lines]
 
S

ssxmetro

Any ideas on using a GoTo record macro? I tried to run one but it is giving
me fits and still won't navigate to the appropriate record.
Assuming you set the combo to an ID, name, Item, or something like that,
right click on the combo and go to properties. Go to the events property and
select the afterupdate event. Click the button out to the right and start the
code builder. Type:
Me.filter = "[your id] = """ & Me.combo# & """"
Me.filteron = true
Your combo# will be listed, like combo10 or combo22
I have a form bound to a table with a combobox. When I select and item in the
combobox, the other fields do not move to the selected record. What do I
need to do here?
 

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