Thanks John:
my primary key is the SSN
in regard to my combo box columns the ssn is hidden - so that is column 0 to
my understanding
It's confusing: the Column() property is zero based, but the
BoundColumn property is NOT zero based. SSN is Column(0) if you're
referring to it using comboboxname.Column(), but it's 1 if you're
referring to it in any of the other combo properties. So your
understanding is (thanks to Microsoft!!) in error!
- my drop down 2 columns are Last name - Firstname - in the
form it works fine - in the table it works fine
I'd recommend NEVER using combo boxes in Tables. See
http://www.mvps.org/access/lookupfields.htm for a critique of this
misfeature.
my problem is when I run the following make table query: (which will feed a
crosstab query) - but I am dead in the water with the make table query
Why do you need a MakeTable query!? They're VERY RARELY NEEDED.
SELECT tblHours.DayOfWeek, tblHours.Job, tblHours.EmployeeLastName,
tblHours.EmployeeFirstName, tblHours.HoursWorked, tblHours.ForemansLastName
INTO tblforcrosstab
FROM tblHours
WHERE (((tblHours.Date) Between [Type the beginning date:] And [Type the
ending date:]) AND ((tblHours.UnnJob)=Yes))
ORDER BY tblHours.Date;
what appears in the "EmployeeLastName extrtaction field is the SSN -
Exactly. Because that's WHAT IS STORED IN tblHours. The accursed
Lookup Wizard is simply CONCEALING that basic fact from your view. The
table actually *contains* a SSN value; but what you *see* is the combo
box, displaying the lastname.
You'll need to include both tblHours and tblEmployees in your
MakeTable query (or in the Crosstab query, it is emphatically *NOT*
necessary to create a new table in order to build a crosstab).
when I
am not even including the SSN in the query - I also tried modifying the query
to include the SSN and the SSN appears in both the SSN & EmployeeLastName
field extraction....
I have no idea what you mean by a "field extraction" so I cannot help
you there...
John W. Vinson[MVP]