VB coding

J

Joel

I am trying to write a statment that gives a null field a value in an after
update sub.

If Me.Inspection = Null Then
Me.Inspection = "Other"
Else
End If

This code doesnt seem to do anything.
Any help would be greaty appreceated!

Thanks
 
F

FSt1

hi,
flip it around
if isnull(me.Inspection) then
me.inspection = "other" 'or it might be Me!inspection = "other"
end if

Regards

FSt1
 
J

Joel

Ahh that works great!

Thank You

FSt1 said:
hi,
flip it around
if isnull(me.Inspection) then
me.inspection = "other" 'or it might be Me!inspection = "other"
end if

Regards

FSt1
 
Top