Hi All,
I'm trying to create a 'Temporary' table in Access, I have created it and inputted a set amount of 'RoomIDs'(1-100). I need to enter data into the this table when I load up a form from another called Schedule Details.
the reason the table is temporary is so that I can generate the table depending on variable dates the user enters.
Now how would i go about entering the data into the table and match the RoomIDs so that the Temporary Table's RoomID field has 1-100(This is important as the form needs this layout to display the data):
Tables
(Schedule_details) - RoomID,StartDate,EndDate,StudentID
(TemporaryTable) - RoomID,StartDate,Endate,StudentID
Current Progress
Insert Into Temporarytable (StartDate,EndDate,StudentID)
Select startDate,EndDate,StudentID
From Schedule_Details
WHERE (([Schedule Details].EndDate)>=[Enter Start Date]) AND (([Schedule Details].StartDate)<=[Enter End Date]);
I'm trying to create a 'Temporary' table in Access, I have created it and inputted a set amount of 'RoomIDs'(1-100). I need to enter data into the this table when I load up a form from another called Schedule Details.
the reason the table is temporary is so that I can generate the table depending on variable dates the user enters.
Now how would i go about entering the data into the table and match the RoomIDs so that the Temporary Table's RoomID field has 1-100(This is important as the form needs this layout to display the data):
Tables
(Schedule_details) - RoomID,StartDate,EndDate,StudentID
(TemporaryTable) - RoomID,StartDate,Endate,StudentID
Current Progress
Insert Into Temporarytable (StartDate,EndDate,StudentID)
Select startDate,EndDate,StudentID
From Schedule_Details
WHERE (([Schedule Details].EndDate)>=[Enter Start Date]) AND (([Schedule Details].StartDate)<=[Enter End Date]);