Fuga
Registered User.
- Local time
- Today, 17:34
- Joined
- Feb 28, 2002
- Messages
- 566
Hi,
I´m trying to create an append query that I need to append only new records. This is done on an hourly basis, which means that the date should be an inner join and the hour should be an outer join, right? However, access can´t handle this so I need help.
If I do an append at 12 today, the query should select todays records from hours 0 to 11 for append. Next, when I do an append at 3 pm, the query should select todays records (inner join) but only those hours not already in the table (ie 12, 13, 14 etc (outer join)).
The date and the hour are in separate fields. I need to have it like that.
I can´t use PK:s because then access messes up my running sequence, which I also need.
Please don´t tell me I have to create a querydef each time.
Thanks
Fuga
I´m trying to create an append query that I need to append only new records. This is done on an hourly basis, which means that the date should be an inner join and the hour should be an outer join, right? However, access can´t handle this so I need help.
If I do an append at 12 today, the query should select todays records from hours 0 to 11 for append. Next, when I do an append at 3 pm, the query should select todays records (inner join) but only those hours not already in the table (ie 12, 13, 14 etc (outer join)).
The date and the hour are in separate fields. I need to have it like that.
I can´t use PK:s because then access messes up my running sequence, which I also need.
Please don´t tell me I have to create a querydef each time.
Thanks
Fuga