Hi,
I have frmTableA (persons) and want to open frmTableB when I double click on the "Name" column from frmTableA.
frmTableB opens the TableB (friends) table, where friends can be entered which need to correspond to the NameId from frmTableA.
Opening frmTableB I have managed by a small vba code.
The way I am currently doing this is by setting the defaultvalue of NameId in frmTableB to "=[Forms]![frmTableA]![NameId]" and this is working.
However, when frmTableB is open and I navigate back to frmTableA and select another record, a mistake could be made when I then go back again to frmTableA.
Could somebody let me know if their is a better way of establishing what I want with frmTable B?
Already many thanks for your help.
I have frmTableA (persons) and want to open frmTableB when I double click on the "Name" column from frmTableA.
frmTableB opens the TableB (friends) table, where friends can be entered which need to correspond to the NameId from frmTableA.
Opening frmTableB I have managed by a small vba code.
The way I am currently doing this is by setting the defaultvalue of NameId in frmTableB to "=[Forms]![frmTableA]![NameId]" and this is working.
However, when frmTableB is open and I navigate back to frmTableA and select another record, a mistake could be made when I then go back again to frmTableA.
Could somebody let me know if their is a better way of establishing what I want with frmTable B?

Already many thanks for your help.