By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,318 Members | 2,107 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,318 IT Pros & Developers. It's quick & easy.

child to parent variable passing

P: n/a
i have a parent form which opens a child form, i need to pass a variable
back to parent
then reload parent
so

parentopens child, child passes to parent, child closes, parent reloads

its only a single variable

is this possible ?

cheers

mark
Jan 30 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
yes, you need to use javascript

http://www.codeguru.com/forum/archiv.../t-348455.html

--
Regards

John Timney
Microsoft MVP

"luna" <lu**@themoon.com> wrote in message
news:1D******************@newsfe4-gui.ntli.net...
i have a parent form which opens a child form, i need to pass a variable
back to parent
then reload parent
so

parentopens child, child passes to parent, child closes, parent reloads

its only a single variable

is this possible ?

cheers

mark

Jan 30 '06 #2

P: n/a
is the child being opened as a modal dialog? If you use showModalDialog in
JavaScript, you can specify a return value that the child form can provide.
"luna" <lu**@themoon.com> wrote in message
news:1D******************@newsfe4-gui.ntli.net...
i have a parent form which opens a child form, i need to pass a variable
back to parent
then reload parent
so

parentopens child, child passes to parent, child closes, parent reloads

its only a single variable

is this possible ?

cheers

mark

Jan 30 '06 #3

P: n/a
thanks for the replies, im using javascript for the popup windows,

thanks for the pointers
"John Timney ( MVP )" <ti*****@despammed.com> wrote in message
news:ec**************@TK2MSFTNGP14.phx.gbl...
yes, you need to use javascript

http://www.codeguru.com/forum/archiv.../t-348455.html

--
Regards

John Timney
Microsoft MVP

"luna" <lu**@themoon.com> wrote in message
news:1D******************@newsfe4-gui.ntli.net...
i have a parent form which opens a child form, i need to pass a variable
back to parent
then reload parent
so

parentopens child, child passes to parent, child closes, parent reloads

its only a single variable

is this possible ?

cheers

mark


Jan 30 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.