Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug in SET ORDER command?
Message
From
10/11/2003 02:53:29
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Bug in SET ORDER command?
Miscellaneous
Thread ID:
00848173
Message ID:
00848173
Views:
48
How to reproduce

1. Open table, for example clients.dbf and set ascending order to a tag:
USE clients.dbf IN 0 ALIAS A
SET ORDER TO TAG id ASCENDING

2. Open same table again and set descending order to same tag:
USE clients.dbf IN 0 AGAIN ALIAS B
SET ORDER TO TAG id DESCENDING

This changes to DESCENDING order in work area B, but also in work area A!

It seems to be very dangerous bug. I discover it after intensive debugging my code in case of strange behavior of my program.

Best regards,
Nikolay Petkov
Nikolay Petkov, nik@osf.bg
Next
Reply
Map
View

Click here to load this message in the networking platform