paul123456
Technical User
UPDATE temp1 INNER JOIN Items ON temp1.MainNum = Items.MainNum SET Items.ItemNum = temp1.ItemNum
WHERE Items.[Date] IS NOT NULL AND cDbl(Items.[Date]) > 0
everything updates ok if i take the where statement out. but for some reason its not working ..i just want to update the itemnum field only if there is no date present in the date field.?? does anyone see anything wrong with this code?
on a side note..Thank you Golom for explaining that Len applies to Text fields ... not dates.
Thanks, PAUL
WHERE Items.[Date] IS NOT NULL AND cDbl(Items.[Date]) > 0
everything updates ok if i take the where statement out. but for some reason its not working ..i just want to update the itemnum field only if there is no date present in the date field.?? does anyone see anything wrong with this code?
on a side note..Thank you Golom for explaining that Len applies to Text fields ... not dates.
Thanks, PAUL