supportservice
Technical User
- Mar 12, 2012
- 63
I found an article and I can't seem to make it work.
This is the part that I would like to use:
[link]http://support.microsoft.com/kb/211303/en-us[/url]
I've replaced it with my field names here:
It is not resulting like the example.
This is what I am getting:
This is the part that I would like to use:
[link]http://support.microsoft.com/kb/211303/en-us[/url]
I've replaced it with my field names here:
Code:
{ If { MERGESEQ } = "1" "{ MERGEFIELD «VendorName»}" ""}
{ SET Place1 { MERGEFIELD «VendorName»}}
{ If { Place2 } <> { Place1 }"
----------------------------Page Break--------------------------------
{ MERGEFIELD VendorName }
{ InvoiceNo: «PayInvoiceNo»}{ InvoiceDueDate: «InvoiceDueDate»}{ NetInvoice: $«NetInvoice»}" "{ InvoiceNo: «PayInvoiceNo»}{ InvoiceDueDate: «InvoiceDueDate»}{NetInvoice: $110.40000000000001}" }{ SET Place2 { «VendorName»}}
It is not resulting like the example.
This is what I am getting:
Code:
{ If { MERGESEQ } = "1" "{ CINTAS - Desert}" ""}
{ SET Place1 { CINTAS - Desert}}
{ If { Place2 } <> { Place1 }"
----------------------------Page Break--------------------------------
{ CINTAS - Desert}
{ InvoiceNo: 150679525}{ InvoiceDueDate: 9/10/2012}{ NetInvoice: $110.40000000000001}" "{ InvoiceNo: 150679525}{ InvoiceDueDate: 9/10/2012}{NetInvoice: $110.40000000000001}" }{ SET Place2 { CINTAS - Desert}}[/coce]
The fields laid out in this example produce a catalog listing on separate pages as follows:
It should produce:
ACC Business
12345 9/20/12 $3,000
23456 9/30/12 $50,000
45566 9/27/12 $10,000
----------------------------Page Break-----------------------------
CINTAS - Desert
InvoiceNo: 150679525 InvoiceDueDate: 9/10/2012 NetInvoice: $110.40000000000001
InvoiceNo: 150679587 InvoiceDueDate: 9/10/2012 NetInvoice: $235.00000000000001
What am I doing wrong?