Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. articles. downloads. faq. members. files. rss.
 From: Barbara Peisch
  Where is Barbara Peisch?
 Oceanside
 California - United States
 Barbara Peisch
 To: Borislav Borissov
  Where is Borislav Borissov?
 Sofia
 Bulgaria
 Borislav Borissov
Subject: RE: How to change the value of a varible
Thread ID: 157353 Message ID: 157410 # Views: 1 # Ratings: 1
Version: Visual FoxPro 8 Category: General VFP Topics
Date: Friday, January 18, 2008 9:01:08 PM         
   



> > Hello Everybody,
> > I declared a Public variable named A2 in the Initi event of a Report. The initial value is 0. I have created 2 Groups in the Report. I want to change the value of A2 to 1 when I leave the 1st Group or on entry to the 2nd Group. Is this possible? Please help.
> > With Regards,
> > Biju Thomas
>
>
> Double click on Group1 footer band, then in ON EXIT put:
>
> a2 = 1
> 

> -----------------
> Borislav Borissov
>
> Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
> The only thing normal about database guys is their tables.

You have to have a call to a UDF in any OnExit and OnEntry band. Executing something like A2 = 1 won't work.

-BP
www.peisch.com

ENTIRE THREAD

How to change the value of a varible Posted by Biju Thomas @ 1/18/2008 4:18:30 PM
RE: How to change the value of a varible Posted by Ilya Rabyy @ 1/18/2008 5:37:33 PM
RE: How to change the value of a varible Posted by Borislav Borissov @ 1/18/2008 5:38:55 PM
RE: How to change the value of a varible Posted by Ilya Rabyy @ 1/18/2008 6:34:10 PM
RE: How to change the value of a varible Posted by Barbara Peisch @ 1/18/2008 9:01:08 PM
RE: How to change the value of a varible Posted by Borislav Borissov @ 1/18/2008 9:59:35 PM
RE: How to change the value of a varible Posted by Hugo Ranea @ 1/18/2008 10:01:09 PM
RE: How to change the value of a varible Posted by Borislav Borissov @ 1/18/2008 10:02:18 PM
RE: How to change the value of a varible Posted by Hugo Ranea @ 1/18/2008 10:04:09 PM
RE: How to change the value of a varible Posted by Hugo Ranea @ 1/18/2008 9:59:32 PM
RE: How to change the value of a varible Posted by Biju Thomas @ 1/19/2008 1:30:40 AM