Hi Morten,
   my app does that, but it's not updating the list.  I think it's because
I'm using the FrmReturnToForm(0) call which, as I understand it, doesn't
cause a Close Form event, it just goes back to the original open form and
leaves it in it's current state, therefore not generating an Open Form event
either.

Salli


"Morten Schmidt" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi...
>
> You have function that updates the form (from the db). I often update my
> lists on the event that the Form opens. I call this function (or the
related
> one) just after I call the FrmReturnToForm(0);
>
> This does the trick for my app's...
>
> /morten
>
> "Salli" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I have a form with a list on it (populated from a database), together
with
> > an add button to allow the user to add new entries.
> >
> > When the user taps the add button a modal form opens up (using
> FrmPopupForm)
> > and the user can add information.  When they click the Done button on
the
> > modal form the information is saved to a database and the modal form is
> > closed and the app reverts back to the first form (I'm doing this using
> > FrmReturnToForm(0)).
> >
> > My question is, how do I get the list to refresh so that the new
addition
> is
> > visible?  The data is being added to the database....if I come out of
the
> > app and then go back in my new entry is in the list.
> >
> > Thanks in advance for your help,
> >
> > Salli
> >
> >
> >
>
>
>



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

Reply via email to