This code will help many.

You know, empty and null (null: not assigned any value yet except if dim'ed) is different. In VB, touching in null value variables creates error and stops the code. Therefore, when null-value probability exists, nz comes to help to simulate a value.

I dont know the string there would have any null value, though. Needs a tryout.
Need to say it is already defined by 'Public'.


Edited by tekgergedan (06/12/06 07:33 AM)
_________________________
...
...
what you are is what you eat and what you think ...
...
Install 5.1 and be aware you can switch back ...
...
some help :: more help :: further help :: advanced help :: interactive help ...
...
developer help :: elf help :: full help ...