Skip to main content
Question

Hi, I don't seem to get column width in Excel writer to work with a number other than zero. Too big a number gives an error, zero works to adjust the width to cell contents, but it does net seem to react to smaller numbers. Does anybody have an idea?


Hi, I don't seem to get column width in Excel writer to work with a number other than zero. Too big a number gives an error, zero works to adjust the width to cell contents, but it does net seem to react to smaller numbers. Does anybody have an idea?

11 replies

Forum|alt.badge.img+2
  • November 23, 2020

@amk​  Can you attach a small example? A small workspace that reproduces the issue and any sample data.


  • Author
  • November 24, 2020

Hi Safer,

 

Thank you for looking into it. Can only see 1 file attached? Tell me if you need the Excel.


Forum|alt.badge.img+2
  • November 24, 2020

@amk​ without the example data it's hard to tell what the problem is. But I think the issue is that you have your attribute concatenation in parallel instead of in series. So in your workspace you'll get alternate rows of APIvijfhonderd & APIduizend values, instead of the values on the same row. So you workspace probably should look something like:

workspacehave disabled the parts that I think are redundant. I've also illustrated how you might replace the StringConcatenator with Text Editor in the AtributeManager

If I've misinterpreted your issue, please include a sample dataset and an example of the output data you need.

 


Forum|alt.badge.img+2
  • November 24, 2020

Here's the example workspace (FME 2020.2):


  • Author
  • November 26, 2020

Hi Safer,

I see how you make my workspace simpeler, but the outcome does not seem to change, and the columns still have the same width. I don't understand what you mean with parallel or series. Have included the input file. Hope you can help set the column widths to a different value.


Forum|alt.badge.img+2
  • November 26, 2020
amk wrote:

Hi Safer,

I see how you make my workspace simpeler, but the outcome does not seem to change, and the columns still have the same width. I don't understand what you mean with parallel or series. Have included the input file. Hope you can help set the column widths to a different value.

@amk​ without any sample data I can't actually run the workspace. My workspace was just some ideas that you might take into consideration.


  • Author
  • November 26, 2020
markatsafe wrote:

@amk​ without any sample data I can't actually run the workspace. My workspace was just some ideas that you might take into consideration.

@Mark Stoakes​ Can I attach more than 1 file at a time?


Forum|alt.badge.img+2
  • November 27, 2020
markatsafe wrote:

@amk​ without any sample data I can't actually run the workspace. My workspace was just some ideas that you might take into consideration.

I think you can attach a zip file that contains several files.


  • Author
  • November 27, 2020

Hi @Mark Stoakes​ , try to upload a file, but it locks Chrome. Just updated laptop. But with workspace, input and output as above, you have all the files.


Forum|alt.badge.img+2
  • November 28, 2020
amk wrote:

Hi @Mark Stoakes​ , try to upload a file, but it locks Chrome. Just updated laptop. But with workspace, input and output as above, you have all the files.

@amk​  Those are images you have attached so they can't be used as source data for the Excel reader. However, I have simulated the input using the RandomNumberGenerator. I've attached the example workspace as well as the results (zip file). I hope this helps.

Parallel vs Series. we we refer to transformers in series, the are connected one after the other. In parallel, the connectors branch and the converge.

series & parallelwhen transformers are in parallel, you'll be making copies or clones of each record - check the feature counts


  • Author
  • November 29, 2020

@Mark Stoakes​ I'm sorry, don't know how it became pictures when uplloading. Seem to have some issues with laptop, cannot open or upload zip (and other). Hope service desk of work can solve my problems tomorrow.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings