This is my scenario:
Dataform:
-Datasession : Private
-Buffermode : 2
-MyView in DataEnvironment of form BufferModeOverride : 5
Field1, Field2 etc.
Field nDisplabel (Integer)
When I create a new record I do fill in Field1 and Field2 etc.
Than I do a save ( =TABLEUPDATE( 1, .F., lcAlias ). So far OK
Than I want to change nDisplabel; therefore I do open seperate form:
DO FORM etiket-setting NAME thisform.oEtiket LINKED WITH thisform.cInsName
Form etiket-setting :
- nothing in dataenvironment
- Datasession = 1 > Default datasession
Changes are made to Myview on form etiket-setting:
changes are put into MyView with command Replace Myview.ndisplabel WITH lnVal
Than I close form etiket-setting
Here I'm back on Dataform.
Than I want to save MyView with same command as earlier : =TABLEUPDATE( 1, .F., lcAlias)
This fails and I can't see what goes wrong.
Any suggestion?
BTW: I am using an (personal tailored) automatic save for all tables/views taken from the book everything you always wanted to know about VFP.
TIA
-Bart
Dataform:
-Datasession : Private
-Buffermode : 2
-MyView in DataEnvironment of form BufferModeOverride : 5
Field1, Field2 etc.
Field nDisplabel (Integer)
When I create a new record I do fill in Field1 and Field2 etc.
Than I do a save ( =TABLEUPDATE( 1, .F., lcAlias ). So far OK
Than I want to change nDisplabel; therefore I do open seperate form:
DO FORM etiket-setting NAME thisform.oEtiket LINKED WITH thisform.cInsName
Form etiket-setting :
- nothing in dataenvironment
- Datasession = 1 > Default datasession
Changes are made to Myview on form etiket-setting:
changes are put into MyView with command Replace Myview.ndisplabel WITH lnVal
Than I close form etiket-setting
Here I'm back on Dataform.
Than I want to save MyView with same command as earlier : =TABLEUPDATE( 1, .F., lcAlias)
This fails and I can't see what goes wrong.
Any suggestion?
BTW: I am using an (personal tailored) automatic save for all tables/views taken from the book everything you always wanted to know about VFP.
TIA
-Bart