Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Go bottom
Message
From
11/10/2004 03:24:48
 
 
To
11/10/2004 02:23:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00950231
Message ID:
00950335
Views:
10
Sorry
SELECT max(BILLNO) FROM dbf(1) INTO array laDummy 
THISFORM.TEXT1.VALUE = laDummy + 1 && same as laDummy(1)+1
By the way, I suggest you NEVER specify a work area, like "USE yourtable IN 5". A better solution is
USE yourtable ORDER yourtag IN O ALIAS somemeaningfulalias AGAIN
It is a much better approach. In stead of SELECT 5 you write SELECT somemeaningfulalias. Much more flexible, and also much more readable. I guess you will agree that it is easier to remember SELECT invoicecustomer than SELECT 5.

>hi,
>
>thank you for reply,
>
>i get a message error (Invalid subscript reference )
>thanks.
Previous
Reply
Map
View

Click here to load this message in the networking platform