Page 1 of 1

New Line

Posted: Tue May 26, 2015 1:49 pm
by aebki
Hi,

I have one doubt about fields and text!

I have one field where i am displaying some info form my database.
But i need also to let the user to add what he needs in this field.
And before to leave the card i am updating the database with what he wrote or add.

My doubt is how to make him begin to write in one new line.

For example i have this displayed in my field: Item1
Item2
Item3

And i want that with the 'on Open File' it will be ready to write under 'I' of 'Item3'...

I think for the experienced coders it seems easy...:-) But i didn't manage! :-(

Regards.

Re: New Line

Posted: Tue May 26, 2015 3:41 pm
by aebki
Hi,

It is me again! :-)

As i have still no answer, i am wondering if it is possible to do or not what i asked in my last post...

Regards.

Re: New Line

Posted: Tue May 26, 2015 3:54 pm
by SparkOut
Yes it is possible, giving people less than 2 hours to answer your question before you start doubting is not really very sensible. We are all just users who like to share, with real lives, and not paid by RunRev just to be here watching the forum for new questions.

Code: Select all

select after field "inputField"
will put the insertion point at the end of the field, ready for new input. Lines 1 and 2 obviously are followed by a cr. It may be that you need to add a cr after line 3 to ensure the new data begins a new line, but that depends on what you have stored, retrieved and displayed.

Re: New Line

Posted: Tue May 26, 2015 6:28 pm
by aebki
Hi SparkOut,

Thanks for your answer! :-)

And sorry if my question / post disturbed you...:-(

in this forum people are answering quickly often...In one sense i think it is because of this that i wondered that i had still no answer.
So for this i wondered if it was one solution or not for this!

And i appreciate a lot all the people who helped and who is helping me a lot. So, once again, thanks for your answer and help! :-)

Regards.

Re: New Line

Posted: Tue May 26, 2015 7:34 pm
by SparkOut
It's not that it disturbed or upset me, but 2 hours is quite a bit too soon to expect that not having an answer means the problem does not have a solution.

Re: New Line

Posted: Tue May 26, 2015 10:11 pm
by dunbarx
What SparkOut said, we are all volunteers. On the other hand, do know that we are eager to help, and often race to be the first one to reply. :D

Craig Newman

Re: New Line

Posted: Wed May 27, 2015 2:31 am
by Simon
Rats! Craig beat me to it! :)

Simon

Re: New Line

Posted: Wed May 27, 2015 2:40 am
by dunbarx
Simon.

At least we both beat Klaus.

Craig