Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using @Say Screen Code to Generate Report?
Message
From
15/02/2008 21:58:09
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Using @Say Screen Code to Generate Report?
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01293147
Message ID:
01293147
Views:
52
The piece of code below basically writes a button to the screen. This is done many times to creates rows of times increments and columns of rooms for a scheduler (xx = rows and yy = columns). Since this code is running anyway, and I need to create a report that represents the screen, can I use this code somehow to create my report? It's already pretty clunky, even for legacy code, so all ideas welcome.
@ xx -1, 8 + but_size * ( yy - 1 ) SAY ALLTRIM(m.ApptRuleRemCode) + ;
     REPLICATE( " ", but_size - (LEN(ALLTRIM(m.ApptRuleRemCode)))) STYLE 'U' COLOR ( m.ApptRuleSlotColor )
Next
Reply
Map
View

Click here to load this message in the networking platform