Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. articles. downloads. faq. members. files. rss.
 From: tushar Kanvinde
  Where is tushar Kanvinde?
 Kolhapur, Maharastra
 India
 tushar Kanvinde
 To: Nishant Gupta
  Where is Nishant Gupta?
 Ludhiana
 India
 Nishant Gupta
Subject: RE: form/sub form - variable not found
Thread ID: 184663 Message ID: 184684 # Views: 2 # Ratings: 0
Version: Visual FoxPro 9 Category: Forms
Date: Saturday, July 19, 2008 5:08:30 PM         
   



> thanks stefan
>
> yeah i agree that it is good idea but the problem is that in my case the number of variable in sub form can increase to upto 10-15 in a later stage, so i wanted an automatic solution to avoid maitenance and reduce program size
>
> nishant
>
>
> >
> > Hi Nishant,
> >
> > See Anders' reply for a better solution, especially when you want to run several instances of the same form.
> >
> >
> > hth
> > -Stefan

I would agree with Stefan and Anders. Add properties to the form. Having Public variables will give you a lot of problems.

Regards
Tushar

ENTIRE THREAD

form/sub form - variable not found Posted by Nishant Gupta @ 7/19/2008 3:56:09 PM
RE: form/sub form - variable not found Posted by Yousfi Benameur @ 7/19/2008 4:14:09 PM
RE: form/sub form - variable not found Posted by Nishant Gupta @ 7/19/2008 4:51:49 PM
RE: form/sub form - variable not found Posted by Stefan Wuebbe @ 7/19/2008 4:55:54 PM
RE: form/sub form - variable not found Posted by Nishant Gupta @ 7/19/2008 4:59:47 PM
RE: form/sub form - variable not found Posted by tushar @ 7/19/2008 5:08:30 PM
RE: form/sub form - variable not found Posted by Stefan Wuebbe @ 7/19/2008 5:11:54 PM
RE: form/sub form - variable not found Posted by Nishant Gupta @ 7/19/2008 5:18:54 PM
RE: form/sub form - variable not found Posted by Stefan Wuebbe @ 7/19/2008 5:28:51 PM
RE: form/sub form - variable not found Posted by Anders Altberg @ 7/19/2008 7:40:56 PM
RE: form/sub form - variable not found Posted by Yousfi Benameur @ 7/19/2008 4:59:00 PM
RE: form/sub form - variable not found Posted by tushar @ 7/19/2008 9:13:38 PM
RE: form/sub form - variable not found Posted by Anders Altberg @ 7/19/2008 4:20:58 PM
RE: form/sub form - variable not found Posted by Anil Sharma @ 7/19/2008 4:37:51 PM
RE: form/sub form - variable not found Posted by Nishant Gupta @ 7/19/2008 4:55:28 PM
RE: form/sub form - variable not found Posted by Anil Sharma @ 7/19/2008 6:53:17 PM