I need e view in report detail detail record.
TAB_DDT
idddt-date-ecc,,,
TAB_DETTDDT
id-idddt
Main Topics
Browse All Topicshi,
I see in a report done with fast report the details of each record, I explain.
I have two tables
TAB_DDT
TAB_DETTDDT
I see a report in a TAB_DDT all rows in the detail of each and all of the records reports presented TAB_DETTDDT
Insert in TAB_DETTDDT records with reference to the field idddt that table TAB_DDT
I tried to do a report with Fast-Report but when I open my show in detail all the records in the table TAB_DETTDDT and not just those for the table TAB_DDT as I could wish.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Tables are separate entities and though they might have some fields in common inserting into one table does not automatically update the other.So if you do an insert in table2 the change will not be visible in Table1.
It all depends what you are inserting and what actually needs to be updated....If I follow you correctly....
so if you are using the grid you should use something like this for the queery:
(this is just cut&paste from somewhere in my program)
procedure TForm10.ADOQuery2AfterScro
begin
with ADOQuery3 do
begin
Close;
if ADOQuery2.FieldByName('Upo
begin
SQL.Text:= 'select * from Rfiliale where UporabnikID = ' +
ADOQuery2.FieldByName('Upo
Open;
end;
end;
end;
To avoid duplicate data, you need to enable and disable your QRDBText
components by saving the data from the previous record and comparing it
to the current record. If it is the same then make the
component.enabled := False; Otherwise it is true. Use the Detail
band's Before Print event to put your code.
Here is an example:
1. Create a global variable(s) to hold your data from the previous
record. Be sure to initialize them in the QuickRep1.BeforePrint event.
2. In the Detail Band's before Print event add this kind of code:
procedure TForm6.DetailBand1BeforePr
var PrintBand: Boolean);
begin
{Check Variable for duplicate data}
If CheckVar1 = Table1.FieldByName('Code')
then QRDBTextCode.Enabled := False
else QRDBTextCode.Enabled := True;
Table1.FieldByName('Code')
{Sets data up for next record check}
end;
Having said all that, with Proper grouping of data, into header records
and detail records, you should not see much need for this kind of code
if you place the duplicate data in the GroupHeader band.
Hope this is what you are looking for.
Business Accounts
Answer for Membership
by: senadPosted on 2009-10-23 at 02:44:07ID: 25642707
I am not sure what you are asking over here....
Mind putting it in simple english ?