Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array error
Message
De
06/01/2009 09:02:00
 
 
À
06/01/2009 09:00:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01371348
Message ID:
01371349
Vues:
15
This message has been marked as the solution to the initial question of the thread.
>I have a network application that is returning an error on some machines and not others. I can test the same application on different machines and only certain ones return an error.
>
>The error returned is "error in click line 8; amaxdate.prg does not exist"
>
>
>LOCAL ldLastCali, ldNextCali, lnGage
>thisform.requery()
>thisform.Refresh()
>thisform.saveallchanges()
>
>lnGage=tgage.fgage
>SELECT MAX(tcalibrate.fdate) FROM tcalibrate WHERE tcalibrate.fgage=lnGage INTO ARRAY aMaxDate
>ldLastCali=aMaxDate[1]
>
>THISFORM.OSTatemanager.CLOSEFORM('calimain.scx')
>thisform.ostatemanager.openform('calimain.scx',lngage,ldLastCali,1) 
>
You should declare array:
Local array aMaxDate(1)
at the start of the code
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform