Thanks for responding, also thanks to the guy that emailed me.

Basically, the problem was a buffer overrun of sorts... I believe I was
copying a source string too long for the destination, maybe that corrupted
the table, maybe the formPtr, who knows.. All fixed.

Thanks again for the help.

Jason


"Richard Burmeister" <[EMAIL PROTECTED]> wrote in message
news:56939@palm-dev-forum...
>
> > From: JF
> >
> >   frmP = FrmGetActiveForm();
> >   tableP = (TablePtr)FrmGetObjectPtr(frmP,
> >       FrmGetObjectIndex(frmP, OrderTableTable));
> > ...
> > somtiemes ... I get an "Object not in Form" error...
> >
>
> Check frmP to make sure it really is your form before calling
> FrmGetObjectPtr().  Or, instead of FrmGetActiveForm(), use
> FrmGetFormPtr(YourFormID).
>
> The form you think is the active form is not always the active form.  For
> example, I believe the OS creates a form for a List, so if you have tapped
> on a List, that is likely to be the active form.
>
>
>



-- 
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