Feb 15, 2005 #1 gbs01 MIS Jun 2, 2003 73 US I have one table called EDIDB. It has 2 fields: ISBN & UPC. Some of the UPC fields are blank. How do I use the query grid to Update the UPC field with the ISBN when the UPC is null. Thanks in advance for your help! jlig
I have one table called EDIDB. It has 2 fields: ISBN & UPC. Some of the UPC fields are blank. How do I use the query grid to Update the UPC field with the ISBN when the UPC is null. Thanks in advance for your help! jlig
Feb 15, 2005 #2 PHV MIS Nov 8, 2002 53,708 FR UPDATE EDIDB SET UPC = ISBN WHERE UPC Is Null; If UPC may be blank or empty or Null, the slower version: UPDATE EDIDB SET UPC = ISBN WHERE Trim(UPC & "") = ""; Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
UPDATE EDIDB SET UPC = ISBN WHERE UPC Is Null; If UPC may be blank or empty or Null, the slower version: UPDATE EDIDB SET UPC = ISBN WHERE Trim(UPC & "") = ""; Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
Feb 15, 2005 Thread starter #3 gbs01 MIS Jun 2, 2003 73 US Thanks to PHV! You make it seem so easy.... jlig Upvote 0 Downvote