PeriyurParthi
IS-IT--Management
hi
i have a problem in grid, without useing any tables, how to manipulate the grid, only it is enableing when i use the table, here is the code
use lotno order code
thisform.grid1.recordsource=0
thisform.grid1.columncount=7
thisform.grid1.column1.header1.caption="Lot Code"
thisform.grid1.column2.header1.caption="Count"
thisform.grid1.column3.header1.caption="Colour"
thisform.grid1.column4.header1.caption="Quality"
thisform.grid1.allowrowsizing=.t.
thisform.grid1.allowheadersizing=.t.
thisform.grid1.scrollbars=3
thisform.grid1.column1.addobject("combo1","combobox"
thisform.grid1.column1.currentcontrol="combo1"
thisform.grid1.column1.combo1.visible=.t.
thisform.grid1.column1.combo1.style=2&&Dropdown List
thisform.grid1.column1.width=70
*thisform.grid1.column1.width=70
thisform.grid1.rowheight=35
do while !eof()
thisform.grid1.column1.combo1.additem(name)
skip
enddo
but mean while i need inputs apart from the table fileds, i dont know why the grid is not accpeting the values..pls help
regds
parthi
i have a problem in grid, without useing any tables, how to manipulate the grid, only it is enableing when i use the table, here is the code
use lotno order code
thisform.grid1.recordsource=0
thisform.grid1.columncount=7
thisform.grid1.column1.header1.caption="Lot Code"
thisform.grid1.column2.header1.caption="Count"
thisform.grid1.column3.header1.caption="Colour"
thisform.grid1.column4.header1.caption="Quality"
thisform.grid1.allowrowsizing=.t.
thisform.grid1.allowheadersizing=.t.
thisform.grid1.scrollbars=3
thisform.grid1.column1.addobject("combo1","combobox"
thisform.grid1.column1.currentcontrol="combo1"
thisform.grid1.column1.combo1.visible=.t.
thisform.grid1.column1.combo1.style=2&&Dropdown List
thisform.grid1.column1.width=70
*thisform.grid1.column1.width=70
thisform.grid1.rowheight=35
do while !eof()
thisform.grid1.column1.combo1.additem(name)
skip
enddo
but mean while i need inputs apart from the table fileds, i dont know why the grid is not accpeting the values..pls help
regds
parthi