Hi!
Hmm, it seems you expect that record pointer in the view changed when you select record in the first (company) combobox. Than, if second combobox tied to view using control source, you just need to call refresh method of the second combobox after record pointer changed. Better do this in the Valid event of the first combobox - for comboboxes Valid seems called each time value changed.
It will be also much better if you tell exactly following properties and methods of both comboboxes:
Valid
InteractiveChange
BountColumn
BoundTo
ControlSource
RowSourceType
RowSource (or code that fills it)
etc.
This way problem could be figured out exactly.
>I have two dropdown list boxes on a pageframe that is bound to a view. The first box contains two columns company name and company id, it's bound to the id. The second box contains contact name and contact id for the current company, it's bound to the contact id of the view. The contact drop down list box does not stay in sync when I select another company from the treeview. When I select the second item for the same company the contact catches up. I am populating the list boxes in the activate of the page. The p-view contains company id and contact id and part info. I must be missing something ...
>
>Thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.