L
Liz James
Queries won’t work
Forms to display data won’t work
Table structure is:
tblTrackRecs has 55 fields.
JobNo pk
Adate
start
end
waypoint
ItemID fk
IdescID fk
AlignID fk
TypeID fk
SlopeID fk
WidthID fk
SurfID fk
SoilID fk
VegID fk
Etc for 55 fields
Other related tables are
tblItem
ItemID
Item
tblType
IdescID
Idesc
tblAlign
AlignID pk
Align
TblSlope etc for most of the 55 fields
The related tables have 2 fields, a pk field and a text field.
Instead of storing the text describing the Item, the tblTrackRecs stores the
ItemID, the same for IDescID, AlignID, SlopeID, TypeID etc.
The rules are that ItemID is a required field, whereas AlignID, SlopeID,
TypeID etc are not required.
If a run a query from the main table tblTrackRecs, which includes the
foreign key for ItemID, IDescID, AlignID, SlopeID, TypeID etc, the query
works, there are Nulls where some fields are blank. However the information
showing IdescID, AlignID, SlopeID, TypeID etc as a number is not what I need.
I want to see the actual text that corresponds to IdescID, AlignID, SlopeID,
TypeID etc
If I drag the text field from each of the related tables on to the query
grid the query won’t work.
What do I need to do?
When this query is working it will be the data for a form.
This form needs to have the text for Align, Slope, Type etc (7 fields)
concatenated into one text box, then a different lot of 6 fields concatenated
into one text box, and so on.
If I store the actual text for Align, Slope, Type etc in the main table, the
whole thing works, but I want to do it this way, so I am not repetitively
storing the same text many times in the main table.
What do I need to do?
Forms to display data won’t work
Table structure is:
tblTrackRecs has 55 fields.
JobNo pk
Adate
start
end
waypoint
ItemID fk
IdescID fk
AlignID fk
TypeID fk
SlopeID fk
WidthID fk
SurfID fk
SoilID fk
VegID fk
Etc for 55 fields
Other related tables are
tblItem
ItemID
Item
tblType
IdescID
Idesc
tblAlign
AlignID pk
Align
TblSlope etc for most of the 55 fields
The related tables have 2 fields, a pk field and a text field.
Instead of storing the text describing the Item, the tblTrackRecs stores the
ItemID, the same for IDescID, AlignID, SlopeID, TypeID etc.
The rules are that ItemID is a required field, whereas AlignID, SlopeID,
TypeID etc are not required.
If a run a query from the main table tblTrackRecs, which includes the
foreign key for ItemID, IDescID, AlignID, SlopeID, TypeID etc, the query
works, there are Nulls where some fields are blank. However the information
showing IdescID, AlignID, SlopeID, TypeID etc as a number is not what I need.
I want to see the actual text that corresponds to IdescID, AlignID, SlopeID,
TypeID etc
If I drag the text field from each of the related tables on to the query
grid the query won’t work.
What do I need to do?
When this query is working it will be the data for a form.
This form needs to have the text for Align, Slope, Type etc (7 fields)
concatenated into one text box, then a different lot of 6 fields concatenated
into one text box, and so on.
If I store the actual text for Align, Slope, Type etc in the main table, the
whole thing works, but I want to do it this way, so I am not repetitively
storing the same text many times in the main table.
What do I need to do?