OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

[SOLVED] carriage return

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base
View previous topic :: View next topic  
Author Message
redstb
General User
General User


Joined: 15 Oct 2009
Posts: 8

PostPosted: Sun Oct 18, 2009 5:06 am    Post subject: [SOLVED] carriage return Reply with quote

Hello,

I created a data entry form, where I've several textbox and one memobox...
I'm going to create a function to put two text fields into one "memobox" in this way:

Intestazione.Text=Indirizzo.Text+Citta.Text

But I need To put Indirizzo.Text in the box's upper line and Citta.Text in box's bottom line....so (i think)with a breakline(carriage return) between them.

How can I do that?

What should I put between "Indirizzo.Text" and "Citta.Text"?

Thank you in advance guys!!!


Bye


Last edited by redstb on Mon Oct 19, 2009 6:35 am; edited 1 time in total
Back to top
View user's profile Send private message
redstb
General User
General User


Joined: 15 Oct 2009
Posts: 8

PostPosted: Sun Oct 18, 2009 1:08 pm    Post subject: carriage return Reply with quote

hi guys,
fortunately I found it!!

I post it if someone else need it in the future

you just have to do like that


memo.text=oFormSub.getByName("txtRagioneSociale").Text & Chr(13)&Indirizzo.Text

the "& Chr(13)" string is the carriage return, by the ascii table...

bye
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group