Hi, kinda new to Access and I've hit a wall I'm hoping someone can help me with.
Two tables: DOM Repairs and FA_DOM_Repairs. I want FA_DOM_Repairs to update it's fields with only those from DOM Repairs which aren't new, ID is primary in both. I first have created a query for LastOfID from FA_DOM_Repairs, because DOM_Repairs is huge (million plus lines) I don't want to do an actual match between the two tables.
In the next query which EX:
SELECT DOM_REPAIRS.ID
FROM DOM_REPAIRS LEFT JOIN [qry_Last FA DOM Repair] ON DOM_REPAIRS.ID = [qry_Last FA DOM Repair].LastOfID
WHERE (((DOM_REPAIRS.ID)>[LastOfID]));
I keep getting nothing. It'll return one record if I say >= the one record of LastOfID will show up but nothing greater than that ID.
What am I doing wrong and how do I fix it?
Thanks
Two tables: DOM Repairs and FA_DOM_Repairs. I want FA_DOM_Repairs to update it's fields with only those from DOM Repairs which aren't new, ID is primary in both. I first have created a query for LastOfID from FA_DOM_Repairs, because DOM_Repairs is huge (million plus lines) I don't want to do an actual match between the two tables.
In the next query which EX:
SELECT DOM_REPAIRS.ID
FROM DOM_REPAIRS LEFT JOIN [qry_Last FA DOM Repair] ON DOM_REPAIRS.ID = [qry_Last FA DOM Repair].LastOfID
WHERE (((DOM_REPAIRS.ID)>[LastOfID]));
I keep getting nothing. It'll return one record if I say >= the one record of LastOfID will show up but nothing greater than that ID.
What am I doing wrong and how do I fix it?
Thanks