How to see the code behind a foxpro report  
Author Message
Erick-Flores





PostPosted: Visual FoxPro General, How to see the code behind a foxpro report Top

Hello I am new using FoxPro. I have in my hands a foxpro application. This application produces reports. I can see the report design, but I dont know where to look to see the code behind the report. Can somebody tell me where can I find the coding behind a report in FoxPro

Thank you




Visual FoxPro1  
 
 
SuperFox





PostPosted: Visual FoxPro General, How to see the code behind a foxpro report Top

Open the report, and right click and select data environment. The data environment will be displayed. Right click again and select "Code" and you will see an area where you can put code. The procedure dropdown will tell you if there is code behind any of the procedures by being in bold.

Greg Gum


 
 
CetinBasoz





PostPosted: Visual FoxPro General, How to see the code behind a foxpro report Top

Erick,

Open the project, then from tools/code references search for "report form" (you might need to use regular expressions because "repo form" is as valid as "report form" - first 4chars are sufficient for many commands/functions). If you find one with the filename of you report file then you're just on target, but generally do not expect to find one. ie: In a big application we have only one line starting with "report form" and all reports are driven by some kind of metadata.

If you see a menu option or for with a clue that it's about reports then you should directly check one too (actually running the application and checking where reports are called from would be a guide).