Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index Problems
Message
From
17/11/2005 15:08:11
 
 
To
17/11/2005 12:55:40
General information
Forum:
Visual FoxPro
Category:
Stonefield
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01069761
Message ID:
01069942
Views:
11
This message has been marked as a message which has helped to the initial question of the thread.
Hi Tracy,

You can also simplify the expression like this:
DTOS(P_DATE)+PADL(PO_INSCO,3)+PO_NAME
because padX functions automatically convert to string.

Glenn


>Thanks Doug. Can't believe I didn't catch that one!
>
>>Hi Tracy.
>>
>>>When I look at index expression for the tag re_tag in the dbc in Stonefield Database Explorer the index expression is:
>>>
>>>DTOC(P_DATE)+PADL(STR(PO_INSCO),3)+PO_NAME
>>
>>VFP 9 no longer supports index expressions of this type. The reason is that DTOC() can give inconsistent results depending on the setting on SET CENTURY -- with that OFF, the result is 8 characters long, but 10 with that being ON. Try using DTOS() instead (of course, you'll have to change any SEEK statements accordingly).
>>
>>Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform