Hello and thanks for taking a look,
Riddle you this, I will. :banghead:
Trying to migrate from Excel to Access to track Trucking Operations. Building a query for a datasheet form down the road. It is meant to be a dashboard DS to show minimal information.
Simplified, these tables are in the query:
LoadT
LoadID
LoadStopT
LoadStopID
LoadID_FK
StopOrder
StopID_FK
StopT
StopID
StopCity
StopState
StopZipCode
Each record will display a unique load.
Each record needs to show the first stop and last stop.
Stops, right now, are entered in short text 1-9 by field [LoadStopT]![StopOrder].
Building: DLookUp("[StopCity]&', '& [StopState] &' '& [StopZipCode]","StopT","[StopID]=" & [StopID_FK])
Gives me what I want to see but my problem is trying to combine the DlookUp of the City, State, and Zip with the criteria of StopOrder=1 and for the second field StopOrder=DMax?
So far I can't find any resource and I just feel so dumb because I can't figure this out..Am I even trying something possible?
Any criticism is much appreciated.
Riddle you this, I will. :banghead:
Trying to migrate from Excel to Access to track Trucking Operations. Building a query for a datasheet form down the road. It is meant to be a dashboard DS to show minimal information.
Simplified, these tables are in the query:
LoadT
LoadID
LoadStopT
LoadStopID
LoadID_FK
StopOrder
StopID_FK
StopT
StopID
StopCity
StopState
StopZipCode
Each record will display a unique load.
Each record needs to show the first stop and last stop.
Stops, right now, are entered in short text 1-9 by field [LoadStopT]![StopOrder].
Building: DLookUp("[StopCity]&', '& [StopState] &' '& [StopZipCode]","StopT","[StopID]=" & [StopID_FK])
Gives me what I want to see but my problem is trying to combine the DlookUp of the City, State, and Zip with the criteria of StopOrder=1 and for the second field StopOrder=DMax?
So far I can't find any resource and I just feel so dumb because I can't figure this out..Am I even trying something possible?
Any criticism is much appreciated.