Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

send Datagrid items to a recordset

Status
Not open for further replies.

mur3x

MIS
Sep 8, 2003
31
LK
send Datagrid items to a recordset

Hi! i want to print datagrid items to a crystal report. So i hav to send the datagrid datasource
(in form1) to a public recordset2, which i can use to retrieve when loading the form2 (reportform)

so i would really appreciate if someone could make a suggestion on how to achieve something like that..

thnx!!

Mur.

 
Mur,

I dont use the datagrids, I prefer the MSHFlexGrid, but I think the DataGrid gets the data from a Command Object in a DataEnvironment, then you can use the recorset the Command have.
The recordsert's name is the Command name with a 'rs' before it.
Ex.
DateEnvironment1.rsCommand1

Is that what your're looking for?

David.
 
wow thats great CC, thats what i was looking for..
good clone!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top