Print problem
My report uses the following DBPipelines
DBPipeline_Customer.datasource := datasource_customer
DBPipeline_Correspondance.datasource := datasource_Correspondance.
Datasource.Correspondance.Master := datasource_Customer
DBPipeline_Correspondance.RBCurrentRecord := ReCurrentRecord
DBPipeline_Customer.RBCurrentRecord := ReCurrentRecord
I create and save a new correspondance
The grid shows I am at the new correspondance record
On Print the table moves to the first record in the grid and prints that
record.
I move back to the newly created correspondance in the grid and click print
again and the correct report prints.
What am I doing wrong here please?
SteveW
DBPipeline_Customer.datasource := datasource_customer
DBPipeline_Correspondance.datasource := datasource_Correspondance.
Datasource.Correspondance.Master := datasource_Customer
DBPipeline_Correspondance.RBCurrentRecord := ReCurrentRecord
DBPipeline_Customer.RBCurrentRecord := ReCurrentRecord
I create and save a new correspondance
The grid shows I am at the new correspondance record
On Print the table moves to the first record in the grid and prints that
record.
I move back to the newly created correspondance in the grid and click print
again and the correct report prints.
What am I doing wrong here please?
SteveW
This discussion has been closed.
Comments
This question was answered/responded to in your previous post. Below was my
reply. If you would like you may continue the conversation on this new
thread.
--
Steve,
I am confused about how you are linking your master detail relationship. If
the Customer pipeline is the master and Correspondance pipeline is the
detail, then why are you setting the Correspondance datasource as the master
of the Customer pipeline. By definition this will not work correctly.
Perhaps a clearer explaination of how your application is set up and what
you expect to happen would help me understand this better.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
duplicate.
I have now set the Customer_datasource as the Master for the
Correspondance_datasource but still have the problem. The on print button
contains:
PPReport3.DeviceType := 'screen';
PPReport3.PrinterSetup.PrinterName := 'Colour to Post';
PPReport3.Print;
As a test, comment all your event handler code out and re-run your report.
If this helps the issue, periodically begin adding the event code back to
isolate where the problem is being caused.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
coressponance & Master pipelines but I finally found that the field links
had remained. Should this happen?
Cheers
Another day another dollar