Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get records
Message
From
29/08/2004 18:45:29
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
29/08/2004 18:38:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00937427
Message ID:
00937453
Views:
16
>hi,
>
>i do evry thing you write but still i get the same ,but i change the code littel bit as under. it works.
>
>CLOSE all
>use aliq excl
>*index on no tag no
>*set order to "no"
>for i = 1 to 20 && assume 20 values for flag
>   * seek i  &&Table has no index order set
>   LOCATE FOR no=i && this is what i add
>  copy next 5 to temp while no = i
>use aliq1
>  append from temp
>use aliq excl
>
>next
>
LOCATE can be much slower. Besides, if the table is not ordered, records for the same flag are not necessarily contiguous (one after another). You should try to make SEEK work.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform