A Bit Rusty - SetSelection Question
revDAVE
Cool at hosting4days.com
Sat Mar 15 13:12:41 PDT 2008
Hi Folks,
Using Pan 5.0
I'm a bit rusty on this and could use some help....
I have a field called 'TheText'
1st line is some title of varied length (maybe with a '.')
Second line =
Text - then '.' then a few characters
My goal is to be able to update the few characters after the period on line
2 like:
This is the title.part
line2 info here.updatethis
Line 3 ...
Line 4 etc....
So line 2 can be like
line2 info here.updateNEWthis
'TheText' does happen to be a superobject
I'm fooling with :
search( TheText,".") - how do I make sure it finds the period one line 2 -
not line 1?
How do I make TheText be an open activesuperobject?
PROC-----
local start, end
How do I make 'end' be the return char in line 2?
if info("activesuperobject")""
activesuperobject "SetSelection", start,end
endif
Thanks in advance for your help...
--
Thanks - RevDave
Cool @ hosting4days . com
[db-lists]
More information about the Qna
mailing list