Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loop
Message
De
13/06/2001 17:16:19
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Loop
Divers
Thread ID:
00519079
Message ID:
00519079
Vues:
50
I am going to ask for if the University would pay for my membership in UT. In the meantime, I can not do a search (since it reqiures membership). Is there a link or where would I find how to design the looping in a different way (important for the preview, but would apply for the printer as well too). The following is my coding that I was able to "make it work", but not as user friendly. The AUTH table has merely 15 records, so it's a cute few pages, but that "supposely" be over hundreds, even thousands, so I gotta fix this... (I even have the FoxPro Advisor, Oct '98, nothing about that in there either).
SELECT org
SET ORDER TO main
GO TOP
SELECT auth
SET ORDER TO organizati
SELECT org
DO WHILE NOT EOF()
	SELECT auth
	IF SEEK(org.organization)
		SELECT person.name, ;
		auth.authtype, ;
		auth.limit, ;
		auth.fund, ;
		auth.project, ;
		auth.program, ;
		auth.account, ;
		auth.sfs, ;
		auth.mcc ;
		FROM auth ;
		JOIN person ON auth.id = person.id ;
		INTO CURSOR temp ;
		WHERE org.organization = auth.organization AND ;
		(auth.end > DATE() OR EMPTY(auth.end)) ;
		ORDER by person.name,auth.authtype
		REPORT FORM by PREVIEW
	ENDIF
	SELECT org
	SKIP
ENDDO
Chuck
Today is tomorrow's yesterday.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform