But here's a safe way to do it - it won't update unless ALL the Mail address are Null:
UPDATE tblAddresses
SET
[Mail Addr1 Ld] = [Home Addr1 Ld],
[Mail Addr2 Ld] = [Home Addr2 Ld],
[Mail Addr3 Ld] = [Home Addr3 Ld],
[Mail Addr4 Ld] = [Home Addr4 Ld],
[Mail City Nm] = [Home City Nm],
[Mail Postal Cd] = [Home Postal Cd],
[Mail State Cd] = [Home State Cd]
WHERE
[Mail Addr1 Ld] IS NULL AND
[Mail Addr2 Ld] IS NULL AND
[Mail Addr3 Ld] IS NULL AND
[Mail Addr4 Ld] IS NULL AND
[Mail City Nm] IS NULL AND
[Mail Postal Cd] IS NULL AND
[Mail State Cd] IS NULL;
John Viescas, Author
Effective SQL
SQL Queries for Mere Mortals
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications
(Paris, France)
On Sep 22, 2016, at 2:17 AM, 'Graham Mandeno' graham@mandeno.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
__._,_.___
Posted by: John Viescas <johnv@msn.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (3) |
Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.
.
__,_._,___
Tidak ada komentar:
Posting Komentar