Hi, folks!  I have a question.

How can I find out if a field has a string or not?  I've been doing this;

------------------------------------------------------------------------
CharPtr fldStringPtr = FldGetTextPtr(GetObjectPtr(fieldID));

if (fldStringPtr == NULL)
{
        // Nothing in the field.  do something.
}
else
{
        // Something in the field.  do something
}
------------------------------------------------------------------------

Is this right method?  Is there any simpler way to find out if the field is
used or not?

Thank you very much for taking the time to read my email.  I really
appreciate it.

Reply via email to