Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EXTERNAL ARRAY
Message
 
À
11/06/1997 15:03:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Titre:
Divers
Thread ID:
00035966
Message ID:
00036043
Vues:
33
> I am using a program to run a SQL-Select statement to gather selected > data. > The selected data is then sent to a REPORT FORM. I am getting an error > in the Project Manager similar to the following: > > Unknown LACOUNT - Undefined > > The LACOUNT is an array of summary statistics. How can I eleminate this > error from being displayed? I don't know how to use the EXTERNAL ARRAY > command from within a REPORT. > > Any ideas/solutions? As a matter of good programming practice, I always "declare laCount(1)" in the top of a program where I populate it with SELECT. This is because I usually populate the array within a function, and not usually the function that calls the report. By declaring it at the top of the .PRG, it is scoped to the .PRG, and everything else can see it.
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform