Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: SLX Mailmerge on CustomFieldName Script Inquiry
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
SLX Mailmerge on CustomFieldName Script InquiryYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Dec 06 8:22 AM
fiogf49gjkf0d
How can I control the width of the columns using the custom merge script to write mailmerge tables? Below is a snip from a lengthy script I have that produces a custom product grid. The code of real interest in my question is the last line that converts the "|" delimited rows to a table. As far as I can tell, the only way to control the width of the columns (or any other formating for that matter) is with 'styles' set in the last line of code that converts to the table. I have set autofit to True and set wdAutoFitContent.

So I would like the grid to autofit its width to the content. I have a qty. column (not shown in code) that is only 4 char. long at the most, but it sizes to about 50 everytime. Do I have any options here? Thanks

...
oRange.InsertParagraphAfter
oRange.InsertAfter "|||||Total" & formatCurrency(sTotal) '& "|"

Set oTable = oRange.ConvertToTable("|", , , , 2, True, False, True, False, False, _
True, False, False, True, wdAutoFitContent, wdWord9TableBehavior)
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/26/2024 10:49:46 PM