Information générale
Catégorie:
The Mere Mortals Framework
Titre:
A basic business object save() question
As has been suggested more than once, I do all my file maintenance via business objects. Let's talk about the History.dbf table. I have two views: lv_History (this just retrieves everything when I do a requery) and lv_HistorySingle (this has a filter on it so that only one record is retrieved, based on the cid). Their corresponding bizobjs are HistoryObj and HistorySingleObj. I use thisform.HistoryObj1.new(), populate my fields, and then thisform.HistoryObj1.save(). If I then use thisform.HistorySingleObj1.requery() (and I know the cid is correct) I get no records returned. If I exit the application and go back to it everything is fine.
What am I missing?
Thanks.
Tom
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