mikejcurtis
IS-IT--Management
The data is there when I browse table. The Rowsource and RowsourceType are set when the combo has GotFocus by calling the following Method:
LPARAMETERS lall
IF lall
SELECT DIST station as stationa,* from products into cursor temp READWRITE
ELSE
SELECT station as stationa,* from products WHERE ALLTRIM(STR(products.machine))=ALLTRIM(thisform.machine1.combo1.displayvalue) into cursor temp READWRITE
ENDIF
thisform.station1.combo1.rowsource="temp"
thisform.station1.combo1.RowSourceType= 2
The control has the data BoundTo=.T. and the ControlSource is set to datamaster.station
What am I missing?
LPARAMETERS lall
IF lall
SELECT DIST station as stationa,* from products into cursor temp READWRITE
ELSE
SELECT station as stationa,* from products WHERE ALLTRIM(STR(products.machine))=ALLTRIM(thisform.machine1.combo1.displayvalue) into cursor temp READWRITE
ENDIF
thisform.station1.combo1.rowsource="temp"
thisform.station1.combo1.RowSourceType= 2
The control has the data BoundTo=.T. and the ControlSource is set to datamaster.station
What am I missing?