Barry Stuckman
New member
- Local time
- Today, 03:31
- Joined
- Jul 28, 2015
- Messages
- 8
Automatically handling "Enter Parameter Value" prompts?
EDIT: I think my original post may have been detailed to a fault and probably crossed-over into confusing. So I've all but rewritten my post in an effort to make it as clear and concise as the best of my abilities allow for. I apologize to anyone whose time I've wasted and urge you to review the update with a fresh set of eyes (and patience). But just in case I completely missed my mark, I added 2 database files and a diagram highlighting my desired results. Please take a look at them before replying. Thank you.
Hello party people!
I'm trying to create a single, Update Query in Access 2007 that does all of these 3 things:
Attached, is a diagram of the desired results applied to a set of sample Tables. And here's the SQL code for the Update Query adjusted to work with those sample Tables:
Any help would be greatly appreciated.
EDIT: I think my original post may have been detailed to a fault and probably crossed-over into confusing. So I've all but rewritten my post in an effort to make it as clear and concise as the best of my abilities allow for. I apologize to anyone whose time I've wasted and urge you to review the update with a fresh set of eyes (and patience). But just in case I completely missed my mark, I added 2 database files and a diagram highlighting my desired results. Please take a look at them before replying. Thank you.
Hello party people!
I'm trying to create a single, Update Query in Access 2007 that does all of these 3 things:
- Update (skipping zero-length values)
- Append
- Automatically handle missing Fields without showing any "Enter Parameter Value" prompts.
Attached, is a diagram of the desired results applied to a set of sample Tables. And here's the SQL code for the Update Query adjusted to work with those sample Tables:
Code:
UPDATE Table_1 RIGHT JOIN Table_2 ON Table_1.ID = Table_2.ID SET Table_1.ID = NZ([Table_2].[ID],[Table_1].[ID]), Table_1.Company = NZ([Table_2].[Company],[Table_1].[Company]), Table_1.Address = NZ([Table_2].[Address],[Table_1].[Address]), Table_1.Phone = NZ([Table_2].[Phone],[Table_1].[Phone]);
Any help would be greatly appreciated.

Attachments
Last edited: