The main form list loops through all records before display, and
predictably lists the "blankname" strings interspersed with the blanks
for the records for which I entered text.

Thanks,
Kathleen

> Just a random thought here.  DmNewRecord creates a new record and,
possibly,
> changes the location (indexes) of existing records.  Perhaps your main
form
> is looking at the wrong record?
>
> -bob mckenzie, palmsource pdx

>
> I create a record using DmNewRecord, read in a form field with
> FldGetTextPtr, create a structure, copy the name field to the
> structure, and save it to my new record location using DmWrite. When
> this form closes and the main form list displays the record names,
> the name field is only displayed if it was left blank (which I
>hardcoded to show up as "blankname"). If text was actually read from
the
>field, a blank is displayed in the list.  The CodeWarrior Debugger says
that
> the name variable contains only '\0' (end of string) whenever actual
> text was read in.  Any ideas on why my field is not saved and
> displayed in the list, but the hardcoded text is?
>
> Thanks,
> Kathleen



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

Reply via email to