Hi!
Next problem with VFP9 running at XP-machine.
In a method I put code to change a view which is used to display some fields in a listbox.
Hereunder is the code.
Saveform() comes from "1001-things". That works fine.
ViewName(lcLookUpTable) comes as form-parameter. Paramter is put in formproperty. View is updatable and is openened shared in buffered mode in workarea 0.
lcLookupTable = thisform.tLookupTable
Problem:
lcLookuptable is not right requeried and so the listbox will not get properly refreshed.
ln returns 1
Any idea what's wrong?
KR
-Bart
Next problem with VFP9 running at XP-machine.
In a method I put code to change a view which is used to display some fields in a listbox.
Hereunder is the code.
Saveform() comes from "1001-things". That works fine.
ViewName(lcLookUpTable) comes as form-parameter. Paramter is put in formproperty. View is updatable and is openened shared in buffered mode in workarea 0.
lcLookupTable = thisform.tLookupTable
Problem:
lcLookuptable is not right requeried and so the listbox will not get properly refreshed.
ln returns 1
Any idea what's wrong?
KR
-Bart
Code:
with thisform
......
......
llOK =.saveform()
SELECT (lcLookUpTable)
IF llOK
ln=REQUERY()
.lstLookUp.Requery()
ELSE
.revertform()
ENDIF
* .release()
ENDWITH