KoenPiller
Programmer
Hi,
Consider following scenario: I have myForm with a buttonclass like the wizBtns.vcx. When activating the cmd Append/Save Button I am ‘appending’ a blank reccord (-1), activating this button again and a new psysical record is added to the table. Nothing special always works o.k.
Untill today, I come to a situation where records are never appended the last one is editted. Somewhere a nasty mistake. Now when I set a break in debug on when recno()<>-1 , it will not break. You can clearly observe in Watch that recno()=-1 on leaving the wizBtns but on next step (MyForm.txtBox.GotFocus) Recno()<>-1. Can't figure out which line makes the append blank to be changed. Any other idea where I should look for the error?
FoxPro 6.0 or 9.0 (Beta) no difference both same situation.
Thanks for helping me out.
Koen
Consider following scenario: I have myForm with a buttonclass like the wizBtns.vcx. When activating the cmd Append/Save Button I am ‘appending’ a blank reccord (-1), activating this button again and a new psysical record is added to the table. Nothing special always works o.k.
Untill today, I come to a situation where records are never appended the last one is editted. Somewhere a nasty mistake. Now when I set a break in debug on when recno()<>-1 , it will not break. You can clearly observe in Watch that recno()=-1 on leaving the wizBtns but on next step (MyForm.txtBox.GotFocus) Recno()<>-1. Can't figure out which line makes the append blank to be changed. Any other idea where I should look for the error?
FoxPro 6.0 or 9.0 (Beta) no difference both same situation.
Thanks for helping me out.
Koen