Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

inserting NULL value 1

Status
Not open for further replies.

wbodger

Programmer
Apr 23, 2007
769
0
0
US
I have this code

Code:
if IsNull(tempFrmInstr) or IsEmpty(tempFrmInstr) or (tempFrmInstr = "") then
tempFrmInstr = ""

but rather than

Code:
tempFrmInstr = ""

can I just do

Code:
tempFrmInstr = NULL

to place a null value into that field? It is a nullable field, so I think it should work.

wb
 
Yes.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top