Hi there,
I have a query to update data to a table which takes the account ID from the form and updates. This works fine as is.
The problem is that the update can be made on several different forms and was wondering whether there was a way to conditionally select the ID in the query based on what form is open. I have tried some combinations of IIF statements but every time I get a parameter prompt for the Forms that are not open.
Is there any way around this or do I just need a separate query for each form. Any advice would be appreciated.
JC
I have a query to update data to a table which takes the account ID from the form and updates. This works fine as is.
The problem is that the update can be made on several different forms and was wondering whether there was a way to conditionally select the ID in the query based on what form is open. I have tried some combinations of IIF statements but every time I get a parameter prompt for the Forms that are not open.
Is there any way around this or do I just need a separate query for each form. Any advice would be appreciated.
JC