>>>>I have had next to no experience using the Debug utility that comes with VFP. I looked at the help file for debuggung topics and was a little confused, to say the least.
>>>>
>>>>I want to debug a form. On this form, when a record is deleted, the record pointer moves to EOF(). I want to find out what is causing this to happen. Can anyone point me in the right direction here? Where do I begin?
>>>>
>>>>Thanks, AL
>>>
>>>Al, Nick has given you excellent advice on getting started with the debugger. You may wish to take a look at ASSERT and SET ASSERT ON|OFF. I've found these commands even better for getting into code since you can ignore them at will and since they are ignored in a compiled EXE. If you forget to take them out, the client won't notice.
>>>
>>>Barbara
>>
>>Good point, Barbara. I recall that I even read the article once, probably in FPA about ASSERT but completely forgot about it. :)
>>
>>Nick
>
>I've just started using ASSERTs, after one of my group reminded ME. I really like them. You can either use a simple ASSERT .f. or something more complicated "ASSERT + iif(month(date()) = 12, .T., .F.)"
>
>Barbara
Just be sure you don't use ASSERT for validations! Otherwise, everything goes fine. :)
Vlad
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only