Hi mmatz,
since SSN exists in both places, there is no need to store the names in
any other location as they can always be shown. It is better NOT to
store this data twice anyway, in case changes are made.
do this:
make SSN a combobox on your order form
Name --> SSN
ControlSource --> SSN
RowSource -->
SELECT SSN
, Lastname & ", " & Firstname as Fullname
FROM Customers
ORDER by Lastname, Firstname
BoundColumn --> 1
ColumnCount --> 2
ColumnWidths --> 1;1.5
Listwidth --> 2.7 (sum of column widths + 0.2 for scrollbar)
then, make a textbox control with these properties:
Name --> Fullname
Controlsource --> = SSN.column(1)
The reason that column 1 is referenced instead of column 2 is that
column indexes start with 0, not 1, in Access.
If your fieldnames are not SSN, Lastname, Firstname or your tablename is
not Customers, then make the appropriate substitutions <smile>
Warm Regards,
Crystal
Access Basics
8-part free tutorial that covers essentials in Access
http://www.accessmvp.com/Strive4Peace/Index.htm
*
![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
have an awesome day
![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
*