Information générale
Catégorie:
The Mere Mortals Framework
Titre:
SEEK not working in a BizOBJ
Hi All,
I've got a BizOBj that has two views in the Data Environ.
lv_view1 - initial select alias
lv_view2
Both are set to Optimistic Row Buffering(3)
In a method of the bizobj I've got this code:
loSelect=CREATEOBJ('CSelect','v_view2')
SEEK "KeyValue"
IF found() THEN
REPLACE v_view2.fieldvalue WITH v_view1.fieldvalue
ENDIF
When I step thru this in the debugger the SEEK fails.. found()=.F.
I've canceled execution and opened the view thru the command window and issued the SEEK and the record was found.. found()=.T.
What am I doing wrong?
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