crosmill
10-19-2001, 03:28 AM
I have two forms that are displayed at the same time. On one form I want to select a record form a combo box based on a lookup table. I then want the other form to display details form that record.
I tried changing the ID to a Dlookup, which returns the ID, but the rest of the form doesn't update to that record.
I tried using SetValue with OnClick to change the ID, but it tells me it can't do it. Could this be because the value I want to update is the ID for record?
It may be worth pointing out that the second form is based on a table which is based on a crosstab query, which is why I don't just have it as a subform.
If this doesn't make sense let me know!
[This message has been edited by crosmill (edited 10-19-2001).]
I tried changing the ID to a Dlookup, which returns the ID, but the rest of the form doesn't update to that record.
I tried using SetValue with OnClick to change the ID, but it tells me it can't do it. Could this be because the value I want to update is the ID for record?
It may be worth pointing out that the second form is based on a table which is based on a crosstab query, which is why I don't just have it as a subform.
If this doesn't make sense let me know!
[This message has been edited by crosmill (edited 10-19-2001).]