Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with order in a report
Message
From
04/03/2002 14:17:11
Thomas Olivera
Ingeniero Civil Industrial
Santiago, Chile
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Problems with order in a report
Miscellaneous
Thread ID:
00627976
Message ID:
00627976
Views:
59
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
Map
View

Click here to load this message in the networking platform