Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array error
Message
From
06/01/2009 09:02:00
 
 
To
06/01/2009 09:00:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01371348
Message ID:
01371349
Views:
14
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
Previous
Reply
Map
View

Click here to load this message in the networking platform