Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running a VFP EXE on the VM Server
Message
From
17/10/2019 16:37:15
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01670603
Message ID:
01671539
Views:
41
>>>...where do I find this OnEntry procedure in the Report?
>>
>>Right-click on the report somewhere off a band and choose "Data Environment..."
>>Right-click in the Data Environment area and choose "Code..."
>>
>>Like on a form or class, methods will be highlighted in bold if you have any code on the report.
>
>Thank you, Rick. I don't see any method in the Data Environment of this name, OnEntry.

Where your code is you can track it down using the APROCINFO(). It will show you what's running on the call stack.

I'm attaching a program I use called debug_logme(), which is a self-contained encapsulating function which can be dropped on the valid rules of a field or table to let you know where something's being updated, or dropped anywhere in code such as an _assign() method, to find out where something's being set. It's a good debugging tool.

You could use it to find out what's calling your code (if it identifies itself, it doesn't always identify everything in system events, like SQL queries, etc.).

After you run it, USE debug_logme.dbf and then BROWSE LAST. If you open up the memo fields, you'll see the call stack and code.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform