Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Stefan Wuebbe
  Where is Stefan Wuebbe?
 Hamburg
 Germany
 Stefan Wuebbe
 To: ron philippo
  Where is ron philippo?
 Hillegom
 Netherlands
 ron philippo
 Tags
Subject: RE: Grid in VFP 9.0
Thread ID: 233127 Message ID: 233361 # Views: 21 # Ratings: 0
Version: Visual FoxPro 9 Category: Grids
Date: Wednesday, July 01, 2009 7:50:40 PM         
   


> >
> > 	LOCAL lnResult
> > 	lnResult = This.Value
> > 	REPLACE NEXT 1 yourResultField With ICASE( ;
> > 			m.lnResult > 80, 'Distinction', ;
> > 			m.lnResult >= 70, 'Credit', ;
> > 			m.lnResult >= 55, 'pass', ;
> > 			m.lnResult < 55, 'Fail', ;
> > 			'n/a' ) IN This.Parent.Parent.RecordSource
> > 
> > 

>
> hi Stefan,
>
> has 'NEXT 1' some purpose here, i dont know, and/or do u want me to ask a a new question in this thread? :)

Hi Ron,

No real purpose, since "Next 1" is the default scope anyway.
It somehow looks more "readable" to me to mention "Next 1" (as opposed to "... ALL [FOR] ..."), as a matter of taste.

(The other reason to write it was to provoke you to ask that question in the middle of this thread :-)


Regards
-Stefan



COMPLETE THREAD
Grid in VFP 9.0 Posted by Danson Danson @ 6/30/2009 8:30:07 AM
RE: Grid in VFP 9.0 Posted by kulwant singh @ 6/30/2009 9:26:03 AM
RE: Grid in VFP 9.0 Posted by Danson Danson @ 6/30/2009 1:54:41 PM
RE: Grid in VFP 9.0 Posted by Stefan Wuebbe @ 6/30/2009 9:58:13 AM
RE: Grid in VFP 9.0 Posted by Danson Danson @ 6/30/2009 11:32:07 AM
RE: Grid in VFP 9.0 Posted by Stefan Wuebbe @ 6/30/2009 3:17:47 PM
RE: Grid in VFP 9.0 Posted by Danson Danson @ 6/30/2009 4:14:34 PM
RE: Grid in VFP 9.0 Posted by Stefan Wuebbe @ 6/30/2009 5:10:05 PM
RE: Grid in VFP 9.0 Posted by ron philippo @ 7/1/2009 7:39:00 PM
RE: Grid in VFP 9.0 Posted by Stefan Wuebbe @ 7/1/2009 7:50:40 PM
RE: Grid in VFP 9.0 Posted by Anders Altberg @ 6/30/2009 10:09:52 AM