Sir,
I have got 3 Columns in my list box and data is being selected through SQL statement to these columns. Now will U please suggest me how to retrieve that data and fetch them to the Grid Control.
------
DISCLOSURE
We are the Australasian Distributor for the Hentzenwerke Series of Books. (By the same token, I really do think they're the best printed VFP resource out there -- that's why we sell them)
Sir,
Thanx for showing interest in my question. Well I had became hopeless and I was plaaning to change my programme.
Well the informaton U had asked abt the row sources well its SQL Statement and The data was added into the columns of the listbox with reference to the cursor made.
this is what code I had written.And its working.
xreqs=ALLTRIM(thisform.pageframe1.page1.combo1.Value)
thisform.pageframe1.page1.list1.rowsource="SELECT itemcode,itemname,qty from accesreq1 WHERE reqno=xreqs INTO CURSOR temitem ORDER BY itemname"
Now I wannt to add the selected records to the data grid.
So How to do it?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.