I have two tables tblA and tblB.
tblA contains the following fields:
Period,
StartDate,
EndDate
tblB contains the following fields:
ID,
Amount,
ReceivedDate
As you can see there is no way of linking these two tables but what I need is to prompt the user to enter a Startdate and Enddate (which looks at the Period field from tblA eg 200704). I would then display the ID and Amount fields from tblB where the ReceivedDate field is between the StartDate and EndDate fields in tblA.
The StartDate and EndDate fields in tblA display the start and end of each period.
Is there a way of linking the two tables even though there is no direct link?
tblA contains the following fields:
Period,
StartDate,
EndDate
tblB contains the following fields:
ID,
Amount,
ReceivedDate
As you can see there is no way of linking these two tables but what I need is to prompt the user to enter a Startdate and Enddate (which looks at the Period field from tblA eg 200704). I would then display the ID and Amount fields from tblB where the ReceivedDate field is between the StartDate and EndDate fields in tblA.
The StartDate and EndDate fields in tblA display the start and end of each period.
Is there a way of linking the two tables even though there is no direct link?