[AccessD] Public variable losing contents

paul.hartland at fsmail.net paul.hartland at fsmail.net
Tue Mar 11 05:33:00 CST 2003


To all,

I have a Public variable that is declared in the start-up form of my A2k Database called pubCallingForm, and I have a button on a staffing form that when clicked performs various tasks and also assigns the variable the form name.
(i.e. pubCallingForm = "frmStaffingFullDay"), and then opens another form on top of the calling form.  The form that is called allows the user to enter special pay rates (two fields only), and then is supposed to return the values back to the specific fields on the calling form.  But when the special pay rates form is called, pubCallingForm is set back to null.

Anybody have any idea as to why this is happening ?

Thanks in advance 

Paul Hartland

__________________________________________________________________________
Freeserve AnyTime - Go online whenever you want for just £6.99 a month for
your first 3 months, that's HALF PRICE! And then it's just £14.99 a month
after that.

For more information visit http://www.freeserve.com/time/ or call free on 
0800 970 8890





More information about the AccessD mailing list