VB coding

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
hi,
flip it around
if isnull(me.Inspection) then
me.inspection = "other" 'or it might be Me!inspection = "other"
end if

Regards

FSt1
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top