Setting field to null through code

A

Amy Blankenship

I need to be able to set a field to null based on certain conditions, which
means I need to be able to set a string variable to null. I have not been
able to find any way to do this (I get invalid use of null). Any ideas?

Thanks;

Amy
 
D

Douglas J. Steele

You cannot set string variables to Null. The only variable type that can be
set to Null is variant.

What exactly are you trying to do?
 
A

Amy Blankenship

Douglas J. Steele said:
You cannot set string variables to Null. The only variable type that can
be set to Null is variant.

What exactly are you trying to do?

Nevermind, I fixed it...
 

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

Top