BrianBoyes
Registered User.
- Local time
- Today, 20:38
- Joined
- Feb 8, 2013
- Messages
- 10
Using Access 2010; starting point for this post was 2011 post "Multiple Column Lookup Display- table & form" .
I have a lookup table with 4 data fields whose values I need to associate with a Master record in my "Main Table". (The main table was initially created by importing an Excel spreadsheet so had all 4 lookup data fields already populated). Having failed to get the lookup wizard to populate more that 2 fields I "purified" my approach, added an atoincrement primary key to the LU table and added the LU key field as a new field in my Main form with the view of deleting the duplicated fields in the main table and comining the values at Report or Excel Export stage by means of a query.
The Access Lookup wizard gave me exactly what I wanted in the Main Table, that is a view of the 5 fields (Auto KEY + 4 data fields) allowing me to make an appropriate record choice and appending the key value in the Main Table. Perfect.
When I went to start editing using the form, only the primary key field was displayed - absolutely useless !
I therefore need to replicate exactly the functionality achieved for the table entry version. That means I need to;
view all the LU data fields prior to record selection,
view all the LU fields after selection (for checking purposes) when the combo box has focus
enter only the LU primary key numeric value in Main Table
I do not want to;
enter a concatenated value in the main table
enter the 4 LU data values in the main table.
The previous post implies that the concatenated value will be entered into the main table field.
I have a lookup table with 4 data fields whose values I need to associate with a Master record in my "Main Table". (The main table was initially created by importing an Excel spreadsheet so had all 4 lookup data fields already populated). Having failed to get the lookup wizard to populate more that 2 fields I "purified" my approach, added an atoincrement primary key to the LU table and added the LU key field as a new field in my Main form with the view of deleting the duplicated fields in the main table and comining the values at Report or Excel Export stage by means of a query.
The Access Lookup wizard gave me exactly what I wanted in the Main Table, that is a view of the 5 fields (Auto KEY + 4 data fields) allowing me to make an appropriate record choice and appending the key value in the Main Table. Perfect.
When I went to start editing using the form, only the primary key field was displayed - absolutely useless !
I therefore need to replicate exactly the functionality achieved for the table entry version. That means I need to;
view all the LU data fields prior to record selection,
view all the LU fields after selection (for checking purposes) when the combo box has focus
enter only the LU primary key numeric value in Main Table
I do not want to;
enter a concatenated value in the main table
enter the 4 LU data values in the main table.
The previous post implies that the concatenated value will be entered into the main table field.