Hello,
I want to know how to add to the first line an element of the content of the field.
for exemple, i have a field which contains :
element1
element2
element3
and i want to add a elementX like this
elementX
element1
element2
element3
and how can I know the line number in the content ?
add a element to a field in the content
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: add a element to a field in the content
Hi,
and get the lineoffset for one element of fld like this
All works also with variables
Best regards
Jean-Marc
add to the first line an element of the content of the field
Code: Select all
put myelementx & cr before fld "myField"
You can get the num of lines of one fled like this:and how can I know the line number in the content ?
Code: Select all
put the num of lines of fld "myField" into tNbLines
Code: Select all
put lineoffset(myelementx & cr, fld "myField" & cr)
Best regards
Jean-Marc
https://alternatic.ch
Re: add a element to a field in the content
Thanks for your help
Re: add a element to a field in the content
As long as you are learning the keyword "before", why not also look up "after" and "into".
These are critical tools to have in your vocabulary.
Craig Newman
These are critical tools to have in your vocabulary.
Craig Newman