General information
Category:
Reports & Report designer
Title:
Problems with order in a report
I'm using VFP 6. I'have created a report who read's a lot of memo field from a table. This work very well on Visual Main Window, but when I use a exe file with my main window, the report loose the oreder and a lot of rows. Since I use VFP I never had a problem like this.
I'm using this code on init from de enviroment of the report, but i have try also with order and index, and putting the table in the enviroment:
sele 9
USE "table\base_reporte_txt.dbf"
SET INDEX TO "table\base_reporte_txt.CDX" ORDER Seccion ascending
GO TOP
FOR I=1 TO 16
store "base_productos.seccion_" + ALLTRIM(STR(I)) TO GCVAR
REPLACE base_reporte_txt.texto WITH &GCVAR
IF !EOF()
skip
ENDIF
ENDFOR
GO TOP
SET INDEX TO "table\base_reporte_txt.CDX" ORDER Seccion ascending
Thanks for you help ans sorry because my poor english.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only