General information
Category:
Forms & Form designer
Hi,
One tip, Comboboxes in grid look better if has BorderStyle=0 and SpecialEffect=1
>Thanks Hilmar,
>
>This is what I understood from your resonse. Does this makes sense?
>
>WITH THISFORM
>.grdList.colcWorkOrderNo.AddObject("cbocWorkOrderNo", "combobox")
>.grdList.colcWorkOrderNo.CurrentControl = "cbocWorkOrderNo"
>.grdList.colcWorkOrderNo.cbocWorkOrderNo.RowSourceType=3
>.grdList.colcWorkOrderNo.cbocWorkOrderNo.RowSource="SELECT SALEORDER_ITEMS.cWorkOrderNo,LINE.cCode FROM SALEORDER_ITEMS INNER JOIN LINE ON SALEORDER_ITEMS.cLineID=LINE.ID WHERE NOT INLIST(ALLTRIM(cStatus),'Cancelled','Closed') AND NOT EMPTY(cWorkOrderNo) ORDER BY 2,1 INTO CURSOR tmpProduction"
>.grdList.colcWorkOrderNo.Sparse = .F.
>ENDWITH
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only