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:
01032427
Vues:
14
That worked perfectly. I thought I used to use the square brackets, but it looks like not. Thank you very much, Craig. Much appreciated.

>File Menu...New.... Select Form option... then click New File button. Then go to the Form menu... New Property... Type "aOrders(1,1)" (without quotes) in the Name textbox...then click Add button and then Close Button. Open your property sheet for the form and scroll to the botton of the ALL page and you should see an array property for your form named aOrders[1,1] with a default value of .F.

>>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
>>
>Craig Boyd
>SweetPotato Software Website
>My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform