Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running a VFP EXE on the VM Server
Message
De
17/10/2019 16:37:15
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01670603
Message ID:
01671539
Vues:
42
>>>...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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform