NetTalk Central

Author Topic: How can I check when a variable changes  (Read 2778 times)

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
How can I check when a variable changes
« on: January 17, 2012, 07:36:49 AM »
I need to use trace to see when a variable changes. The trouble is I have no idea when it is changing.

The scenario is I put a message at the end of a form in Complete Form and a GUID is correct at that stage. Yet when I look at the data the GUID value is something totally different.

So I want to trace the time from just before the record is saved until after it has been saved. Hope that makes sense.

BTW this is using a lookup field which is working when I do NOT display the description but if I DO display the description that is when the record is changed.

So basically as I said I need to check the value of a variable (or record/SSV) before, dutring and after the record is saved.

Thanks

John

bruce2

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • Email
Re: How can I check when a variable changes
« Reply #1 on: January 17, 2012, 11:48:20 AM »
So how do you normally do this in a clarion program? This is just a program, no different. Put trace statements in, and follow the code.

Cheers
Bruce

bruce2

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • Email
Re: How can I check when a variable changes
« Reply #2 on: January 17, 2012, 11:49:39 AM »
Btw, the book has some flow sections that might help you understand the general flow after the save button is pressed.