Grid events problem

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
serge_girard
Posts: 3165
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Grid events problem

Post by serge_girard »

Georg,

One way to debug is following code in main.prg (at the start)

Code: Select all

SET PRINTER TO "c:\test\asklad.txt"   // or default folder or wathever
SET PRINTER ON 
SET CONSOLE OFF
---

Function AktualneA()
? 'AktualneA ' + curdir()   // or something
? 'int_sta', int_sta
? 'rec_sta', rec_sta
etc.....
The compile and start running the program untill error occurs. Then check c:\test\asklad.txt to see where and what ...

Migrating from Clipper to HMG is sometimes very hard...

Serge
There's nothing you can do that can't be done...
Post Reply