S
Sam Kuo
Hi,
How do I link 2 fields in a data-entry subform such that when the "new code"
is entered, the "old code" is automatically filled in? The data-entry table
currently has no records in it.
The master table also contains both new and old code fields.
I've changed new code text box to combo box with row sorce as "SELECT [new
code] FROM mastert table;". But then what do I do with the corrosponding old
id text box so it auto-fills for visual confirmation only?
I've tried this line provided by Gerald Stanley MCSD for a similar problem,
but it didn't work for me -- maybe I wasn't interpreting the line correctly?
How do I link 2 fields in a data-entry subform such that when the "new code"
is entered, the "old code" is automatically filled in? The data-entry table
currently has no records in it.
The master table also contains both new and old code fields.
I've changed new code text box to combo box with row sorce as "SELECT [new
code] FROM mastert table;". But then what do I do with the corrosponding old
id text box so it auto-fills for visual confirmation only?
I've tried this line provided by Gerald Stanley MCSD for a similar problem,
but it didn't work for me -- maybe I wasn't interpreting the line correctly?
I tried =DLookUp("old code", "master table", "id = "& new code)setting its ControlSource to something along the lines of
=DLookUp("nameCol", "masterTable", "id = " & txtid)