Guest_imported
New member
- Jan 1, 1970
- 0
I’m having trouble writing code to do the following:
When data is entered into textboxTableB.FieldX of Form001 I need to check if there is any previous records in TableB.FieldX with a match to that entry. If yes open Form002 WHERE [Form001]![TableB.FieldX]=[Form002] ELSE open Form003 WHERE [Form001]![TableB.FieldX]=[Form003]![TableA.FieldX]
TableA.FieldX(one)
TableB.FieldX(many)
Form001
TextBox TableB.FieldX
Form002
TextBox TableB.FieldX
Form003
TextBox TableA.FieldX
When data is entered into textboxTableB.FieldX of Form001 I need to check if there is any previous records in TableB.FieldX with a match to that entry. If yes open Form002 WHERE [Form001]![TableB.FieldX]=[Form002] ELSE open Form003 WHERE [Form001]![TableB.FieldX]=[Form003]![TableA.FieldX]
TableA.FieldX(one)
TableB.FieldX(many)
Form001
TextBox TableB.FieldX
Form002
TextBox TableB.FieldX
Form003
TextBox TableA.FieldX