I am having some major issues with this component of my db. I will try to be as detailed as possible, sorry if it is confusing.
I have two Tables -
Transaction Log (Transaction ID, Serial Number, Model, Date, Time, Total Prints, Total Copies, Total Scans, and Total Count) and
Main (Serial Number, Model, Location, Date, Time, Total Print, Total Copies, Total Scans, and Total Count)
Transaction ID is an Auto Number. Data is coming into this table constantly. I want to take only the most recent data and rewrite the Main table with that data. The Main table is my working table.
Currently I am using a Make Table Query. I use Between Date()-6 And Date() for the criteria but that only gives me current for a week. If I have more than one entry for that week or no entry at all, it doesn't work. Is there a function that will only give me the most current data? I only want the Main Table to display the most recent data from the Transaction Log table.
Thanks in advance for your input!
I have two Tables -
Transaction Log (Transaction ID, Serial Number, Model, Date, Time, Total Prints, Total Copies, Total Scans, and Total Count) and
Main (Serial Number, Model, Location, Date, Time, Total Print, Total Copies, Total Scans, and Total Count)
Transaction ID is an Auto Number. Data is coming into this table constantly. I want to take only the most recent data and rewrite the Main table with that data. The Main table is my working table.
Currently I am using a Make Table Query. I use Between Date()-6 And Date() for the criteria but that only gives me current for a week. If I have more than one entry for that week or no entry at all, it doesn't work. Is there a function that will only give me the most current data? I only want the Main Table to display the most recent data from the Transaction Log table.
Thanks in advance for your input!