Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array Properties
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01032423
Message ID:
01032426
Vues:
16
It should also be pointed out that if you messed up and created a property that wasn't an array for your form and then try to change it an array either via creating same name property or by editing the property you are going to get an "Invalid Name". If this is the case, you'll need to remove the aorders property that you erroneously created and create a new one for your form with aorders(1,1) as previously stated in my other post.

>I have forgotten something that I usd to do all the time. Uh oh, old age? Maybe, but it used to be a common thing I did.
>
>I used to name FORM properties with array names. I cannot figure out how to do this any more, meaning create a property name that is also an array name.
>
>I have a form Property called ThisForm.aOrders, but I must be doing something wrong. I get an error that states that it is not an array when I try to create it using a SQL statement.
>
>I keep trying to create the array property as aOrders, but it is a no-go. I tried also aOrders[1], and nothing works.
>
>
>* Load Event:
>CLOSE ALL
>SET EXCLUSIVE OFF
>SET CPDIALOG OFF
>
>USE C:\WINDOWS\FOXPRO\SHIP\LOADING SHARED IN 0 &&<-- OLD code here.
>USE E:\IRL\CUSTOMER SHARED ORDER CUSTNO IN 0
>
>* Create Orders # Array.
>SELECT DISTINCT Order ;
>	FROM LOADING ;
>	ORDER BY Order ;
>	INTO ARRAY ThisForm.aOrders
>
>SELECT LOADING
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform