WPCubed Product Support

Bug found in example MasterClient Report

I have built my own report mail merge using MasterClient example. Works great except for when using bullets and numbering.

This bug can be found in the example too. Run the project - add a few bullets at the end of the letter then go to report tab - the first time it work merging the bullets at the bottom of the report. But when going back to the template tab - then clicking the report tab again the bullets disappears.

In my own program is doesn't even appear the first time and my code is exactly the same.

Any assistance would be greatly appreciated.

Thanks

D

#1 ♥ 0
5.5k Views 2 users read 2 min
support

Hi,

did you try to reassign the NumberStyles property.

Julian

#2 ✎ ♥ 0

How do you assign the bullet style?

I assume its put around here:

reDestination.ClearEx(True,true,False);
reDestination.Header := reSource.Header;
reDestination.PrintParameter.AllPagePaperSource :=2;

//Assign bullets

LineNo := -1;
MergeEngine.Execute;//supermerge

#3 ♥ 0
support

This could does it:

DataModule1.CUSTOMER.Open;
DataModule1.ORDERS.Open;

DataModule1.CUSTOMER.First;

WPRichText2.ClearEx(true, true, false);
WPRichText2.Header := WPRichText1.Header; // Assign page properties

WPRichText2.NumberStyles.Assign( WPRichText1.NumberStyles );
WPSuperMerge1.Execute;
WPRichText2.DelayedReformat;

#4 ♥ 0

It works great on the demo - but not on my program. I've just copied your demo component to my program and it works now.

Are there any settings in particular parameters I need to set (if you don't know then don't worry - just curious)

Thanks

Dan

#5 ♥ 0
support

Hi,

No, I don't know any settings. I think the code is slightly different.

Julian

#6 ♥ 0
This category is archived. No new posts are possible.