ciruscontrols
Technical User
Ok I am a beginner and need some help with my first database. Here is what i am doing. I am connecting to and excel sheet. I have a dataset1 extracting the data from an excel file. I am able to transfer the Data to Qreport by first transferring it to another dbgrid and then previewing it (sample for the transfer).
if DataAppF.cDataSet1.State in [dsBrowse] then
begin
Form4.QuickRep1.Preview;
end;
But I need help on how to affix a button on another tab on the form to search for a specific part that is on the DBgrid (this is of course after I have connected to the excel file) I need it to be able to transfer the data to the Qreport .
Here is a brief example.
radiobutton goes and finds a part number that is in list "item id" on the DBgrid, after it finds it, it transfers the cells to the right i.e. component description, qty, etc to the Qreport. The only thing is "item id" is used over and over since its the master number with all associate numbers following to the right. IT is ok if it prints over and over on the Qreport I just need each line that matches to print. I am using a QRlabel on the Qreport with a dataset connected to convert.
If someone can give me some Ideas I would really appreciate it or even teamviewer.com. I just found that learning pascal and building a database is kindof hard in a 9 week time line.
Thanks
if DataAppF.cDataSet1.State in [dsBrowse] then
begin
Form4.QuickRep1.Preview;
end;
But I need help on how to affix a button on another tab on the form to search for a specific part that is on the DBgrid (this is of course after I have connected to the excel file) I need it to be able to transfer the data to the Qreport .
Here is a brief example.
radiobutton goes and finds a part number that is in list "item id" on the DBgrid, after it finds it, it transfers the cells to the right i.e. component description, qty, etc to the Qreport. The only thing is "item id" is used over and over since its the master number with all associate numbers following to the right. IT is ok if it prints over and over on the Qreport I just need each line that matches to print. I am using a QRlabel on the Qreport with a dataset connected to convert.
If someone can give me some Ideas I would really appreciate it or even teamviewer.com. I just found that learning pascal and building a database is kindof hard in a 9 week time line.
Thanks