Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array error
Message
De
06/01/2009 09:04:16
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
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:
01371350
Vues:
15
This message has been marked as a message which has helped to the initial question of the thread.
Array is not created due to empty result set
Add some
DIMENSION amaxdate(1,1)
amaxdate = {..}
in front if SELECT

Agnes
>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) 
>
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform