Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index Problem
Message
From
15/08/2016 05:27:35
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
15/08/2016 05:17:48
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 7
Network:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01639454
Message ID:
01639464
Views:
78
>Now I am using like this
>
>
>Index On acc_code+dtoc(Date,1) TO SYS(2015)
>
>
>
>But same error.

If acc_code is not a string, try

Index On padr(acc_code,20)+dtoc(Date,1) TO SYS(2015)

The length of 20 is there just in case - depending on the size of your numbers in that column, perhaps only 8 or 6 would do.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform