Information générale
Catégorie:
The Mere Mortals Framework
My application is currently using bizobj.delete() method. After my bizobj.requery(), I am using the code bizobj.delete(.F.,"",.T.) to delete the record/s read. My understanding is that the first param (.F.) indicates that not all records will be deleted. Only the last record/s read will be deleted. The last param (.T.) indicates that the table affected will be updated immediately by the changes.
However, I am encountering instances wherein when I use
bizobj.delete(F.,"",.T.), ALL the records of my TABLE are deleted. I am currently using views defined as in "Table buffering". I am just not sure if this has a connection with my problem. What do I need to set or do before calling the delete() method to avoid deleting all my records?
Thanks a lot for all the help.
Nerissa
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement