|
-
Dec 7th, 2002, 11:24 AM
#1
Thread Starter
New Member
Unload Form w/Variables Or Invisible?
hi,
My question is this:
I have a main form, and then another sub form. The sub form has checkboxes which, when closed, the values must be read by the main form.
Would it better to just set the sub form as invisble, hence using more memory and read the values directly
or
create global variables that store the data, and whenever the sub form is loaded, the variables load the data into the controls and whenever the sub form is unloaded the variables are updated.
The second option of the 2 obviously requires more code, but would it be more efficient than keeping the form loaded but invisible? The sub form is just a small form that will be opened rarely but values must be read from it from the main.
Thanks for your time.
Last edited by karter69; Dec 8th, 2002 at 07:19 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|