blanca1331
Technical User
I'm currently working on a .frx report that shows the result as below
Prodcode
ITEM A
ITEM B
ITEM C
ITEM B
Now I want the records to be sorted in ascending order, hence I created a .prg file with the code as below
SORT ON Prodcode TO MYTABLE1
USE MYTABLE1
Whenever I execute this .prg file in my .frx report, I noticed that the result did sorted in ascending order but at the same time I will receive error message "file in use" which required me to force close my application to get rid of this error message.
Can anyone let me know what went wrong?
Prodcode
ITEM A
ITEM B
ITEM C
ITEM B
Now I want the records to be sorted in ascending order, hence I created a .prg file with the code as below
SORT ON Prodcode TO MYTABLE1
USE MYTABLE1
Whenever I execute this .prg file in my .frx report, I noticed that the result did sorted in ascending order but at the same time I will receive error message "file in use" which required me to force close my application to get rid of this error message.
Can anyone let me know what went wrong?