> From: Rochester, Dean
>
> If I have a field on a table that is blank, with this code have a problem?
> Since there is nothing in the field, will this have a problem?
>
> // Get the text from a field
> static void getText( FieldPtr field, VoidPtr precord, Word offset )
> {
>       CharPtr         pfield; // CH.5 Pointer to field text
>       pfield = FldGetTextPtr( field );
>       DmWrite( precord, offset, pfield, StrLen( pfield ) );
>       return;
> }
>

Why not try it and see?
If you are worried about the DmWrite, use DmWriteCheck first.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to