I convert a container to str using conv2str, the method return a str like this :25,30,40,...
But I want to place the values vertically:
25
30
40
...
there is any suggestion?
*This post is locked for comments
I convert a container to str using conv2str, the method return a str like this :25,30,40,...
But I want to place the values vertically:
25
30
40
...
there is any suggestion?
*This post is locked for comments
ok
Aha, I thought you already knew that. I should have asked for your actual code when you didn't provide it by yourself. Try giving us all details next time.
Hi Martin,
I found a solution :
I convert the container into str using con2Str like this : con2Str(MyContainer,"\n");
Think again whether you can't simply have several lines in the grid. If not, make sure you set Multiline property of the string control.
Note that I don't see any reason for using containers in this solution. Avoid them if they're not necessary, working with them in unnecessarily error-prone.
Hi Martin, Thanks for your reply
every item in sales line has many lengths like the image.
I develop a display method that returns a container of length but when I run the code I don't get any thing.
so I convert container to str when I run code I get values placed horizontally.
I want to place it vertically.
Please tell us where you want "to place" these values. In a report? In a form? Or somewhere else?
Note that you probably shouldn't convert values to a string in the first place. For example, you could put values to a temporary table and put them to a form grid or table on a report.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156