Hi,
I know there are various answers to this problem available on the web but none of them seem to work for me. I am using Access 2003 to make a form to look up data from a table. I have so far created three combo boxes that cascade down from Name to Project to Date and when this has been chosen I have four textbox fields I want to display based on this selection. I tried linking the last combo box comboDate to update these fields after update by the following:
With Me
.Lead_Name.Valu e = .Date.Column(1)
.Action_Timesca le.Value = .Date.Column(2)
.Bus_contact.Va lue = .Date.Column(3)
.Actions.Value = .Date.Column(4)
End With
but it doesn't work the boxes remain blank after selecting from the drop down box and I have checked that they are included in the combobox list.
Anyone have anyidea why it isn't working? I'm presuming it might be because it is just basing it on the date which in the database as a whole is repeated for different projects and not linking it to the above comboboxes.
How do I get around this?
Thanks, I really hope that makes sense to someone!
Marianne
P.S. I did manage to get this to work when the last combo box was only linked to the one above i.e. project but not name but as there are multiple projects with the same name I can't use this. I have both type of formed saved (one with the comboboxes all linked but the text boxes not updating and one with the text boxes updating but the dates listed not filtered by the original name).
I know there are various answers to this problem available on the web but none of them seem to work for me. I am using Access 2003 to make a form to look up data from a table. I have so far created three combo boxes that cascade down from Name to Project to Date and when this has been chosen I have four textbox fields I want to display based on this selection. I tried linking the last combo box comboDate to update these fields after update by the following:
With Me
.Lead_Name.Valu e = .Date.Column(1)
.Action_Timesca le.Value = .Date.Column(2)
.Bus_contact.Va lue = .Date.Column(3)
.Actions.Value = .Date.Column(4)
End With
but it doesn't work the boxes remain blank after selecting from the drop down box and I have checked that they are included in the combobox list.
Anyone have anyidea why it isn't working? I'm presuming it might be because it is just basing it on the date which in the database as a whole is repeated for different projects and not linking it to the above comboboxes.
How do I get around this?
Thanks, I really hope that makes sense to someone!
Marianne
P.S. I did manage to get this to work when the last combo box was only linked to the one above i.e. project but not name but as there are multiple projects with the same name I can't use this. I have both type of formed saved (one with the comboboxes all linked but the text boxes not updating and one with the text boxes updating but the dates listed not filtered by the original name).
Comment