>>>
>>I wouldn't suggest a pack. Being delete on another form, might it be you're not deleting the correct record (datasession of forms, is 2nd private?)
>>And you're using scatter-gather, might it be you forgot to scatter after you move to a nondeleted one (still showing deleted's info).
>>Cetin
>
>No, I am deleting the correct record, and what do you mean by "is 2nd private". I have not declared it as anything. The 2nd form has 2 buttons, Delete and Cancel. Delete has the Delect code i posted here. Cancel is just - thisform.release(). On release, it returns me to the calling form1.
>
>Interestingly, I did an executable, and ran the app, then deleted a record. It went away, but when I exited the form and came back, I saw it again. But once I hit the Navigation button, it disapeared. I also have SDT and once I did a reindex and pack, the record was deleted completely. What do you recommend? TIA
Hi Ravi,
Are you sure, you want to have the second form? In our framework we just show a messagebox with "Do you want to delete this record?" Yes/No. I don't see a reason to use a second form for simple confirmation dialog... If you want your own custom captions on messagebox buttons, take a look in Download section...
If it's not broken, fix it until it is.
My Blog