Good morning I'm trying to put together an update query to populate an 'exclusion' field - "Not on Product Look-Up" and have put this in the Update To line:
What I intend is:-
This is the first of several similar queries that will populate each row of data with only one 'exclusion' field per row. We had been doing this (successfully!) on a weekly basis with Excel but are now having to put together a 6 month summary and there's just too much data for it to cope.
Many thanks,
D€$
Code:
IIf([SampleCombined]![excl_prod]="Yes","",IIf([SampleCombined]![no_lookup]="Yes","Yes",""))
What I intend is:-
The database consists of over 112,000 rows and around 100 columns and this query takes a while to run and updates all the rows. Is there a better way to write this?If field excl_prod = "Yes" then don't put anything in Not on Product Look-Up. If it's not then if field no_lookup = "Yes" then put "Yes".
This is the first of several similar queries that will populate each row of data with only one 'exclusion' field per row. We had been doing this (successfully!) on a weekly basis with Excel but are now having to put together a 6 month summary and there's just too much data for it to cope.
Many thanks,
D€$