Hello Ailee,
When u use FrmpopupForm, u can have access to the calling form objects from
the called form. U can use the follwing to get access to the original form
FrmGetFormPtr (Word formId)
and through this pointer u can access the table.
This is possible only because u used FrmPopupForm() to invoke the second
form.
See if it helps
Vini
-----Original Message-----
From: Ai Lee Tang [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 18, 2001 3:49 PM
To: Palm Developer Forum
Subject: RE: FrmReturnToForm Error.
hi vini,
thks for reply me instantly.
But then the table is in formA. How could i redraw the table before
FrmReturnToForm()?
Another thing i noticed is after calling FrmReturnToForm and FrmUpdateForm.
There is no event is being triggered, no FrmOpenEvent or FrmUpdateEvent. I
think that's the reason why formA is not updated.
If that's the case, what should i do?
rgds,
ailee
>From: Vini Bhatnagar <[EMAIL PROTECTED]>
>Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>Subject: RE: FrmReturnToForm Error.
>Date: Mon, 18 Jun 2001 14:59:04 +0530
>
>I am newbie myself but I think that in case of tables, after any
>modification
>table needs to be redrawn
>
>TblMarkTableInvalid (table);
>TblRedrawTable (table);
>
>May be you can add these lines before frmReturnToForm and see if it updates
>
>Vini
>-----Original Message-----
>From: Ai Lee Tang [mailto:[EMAIL PROTECTED]]
>Sent: Monday, June 18, 2001 2:53 PM
>To: Palm Developer Forum
>Subject: FrmReturnToForm Error.
>
>
>hi all,
>
>i created 2 forms. i named as formA and formB. There are pointing to the
>same database.
>
>FormA is a main form and formB is sub-form of formA. FormA have a table
>shown all the records in the database. When i am in formA and want to
>create
>
>new record, formA will called frmpopupform(formB).
>
>After input the details and to confirm the transaction, i will pressed
>'done' to go to formA. In order to go back to formA, i called
>FrmReturnToForm(formA) and FrmUpdateForm.
>
>i did add in FrmUpdateEvent in formA. But when i back to formA, the table
>is
>
>not updated. The new record is not added in, it does not show on the table.
>
>Your help is appreciated.
>
>
>rgds,
>ailee
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
>please see http://www.palmos.com/dev/tech/support/forums/
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
>please see http://www.palmos.com/dev/tech/support/forums/
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/