Normal Topic Alternate Forms (Read 503 times)
Sproing
Member
*
Offline



Posts: 1
Joined: May 22nd, 2008
Alternate Forms
Jun 24th, 2008 at 7:49pm
Print Post Print Post  
I have an alternate form with layout elements that are bound to the main form.  I would like to fill in data on the alternate form, have that data go into the main form, perform calculations and bring the results back to the alternate form without repeating all the programming in the main form, or leaving the alternate form.  Any help would be appreciated.
  

Oh Pooh!
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Alternate Forms
Reply #1 - Jun 27th, 2008 at 6:01pm
Print Post Print Post  
If your code is well organized, you can save it to a common file and use the "#include" directive to include that code in both forms. You will need to make sure that element names are only sparsely used, and then in a generic way.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged