02-23-2011 08:03 AM
I am using LabVIEW 2010 SP1, and a table control to insert or edit data in a database. I have the row height in the table control set to 5 lines of text. There are 11 columns in the table, so the space for the cell in question is limited. The users fill in the first line, and hit Shift + Enter to keep the data within the cell. This works very well. When the data is retrieved later, the formatting holds up just fine, and the cell contains the data as it was entered. So far there is no problem.
later the manager runs a program that generates a Word report on the data already entered, and the line feeds show up in his reports. He has to hit backspace to remove the line feeds so the report uses Words wrap function to set the length of the text. He would like very much to not have to do that, so his report is ready more quickly. When the report is generated, I use a sub-vi to search and replace any line feeds, returns, end of line constants, and even a blank constant with Shift + Enter in it. Nothing seems to work, and he has to format the report to his liking. Is there a way to pragmatically remove the Shift + Enters when the report is created?
Thank you!
Solved! Go to Solution.
02-23-2011 08:47 AM
I found it. I had my sub vi missing from a key position inside another sub vi.