× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Any chance you can change the 5250 end?  Dump using a subfile, and a 
separate record in a file for each line of notes.  Instead use a variable 
length field.  When we lost OV/400 and storing our Notes in OV/400 
documents this is what we did instead.  Granted, doing variable length 
fields is a lot simpler on html and notes than it is on 5250 screens, but 
it is doable.  Subfiles s... for multiple lines of notes.  You delete 
three characters in the first line and you have to manually adjust the 
rest.

Rob Berendt
-- 
"All creatures will make merry... under pain of death."
-Ming the Merciless (Flash Gordon)




"Roger Vicker, CCP" <rv-lists@xxxxxxxxxx> 
Sent by: domino400-bounces@xxxxxxxxxxxx
12/30/2003 10:56 AM
Please respond to
Lotus Domino on the iSeries / AS400 <domino400@xxxxxxxxxxxx>


To
Domino 400 <domino400@xxxxxxxxxxxx>
cc

Fax to

Subject
Help with LotusScript for a text box. Please.






Hello,

I have an application that I inherited from a custom house. This 
application is a Notes face on an existing iSeries database application. 
Therefore things like the comments field directly correspond to a file 
that has one record for each line and each line can only be 70 
characters long to work with sub-file displays. The custom house appends 
these lines using the implode function into a multi-value text field 
when they update the Notes application and then use explode when they 
update the native database.

The problem I am having is when the Notes user needs to create/add to 
the comments field the custom house used @DIALOGBOX and a form with 2 
hidden fields and one input field. The first hidden field (WTEXT) has 
the following LotusScript:

NewList := WTEXTOLD + "~" + @Left(WTEXTNEW; 70);

@If(WTEXTOLD = "";
    @Left(WTEXTNEW; 70);
    @Explode(NewList; "~")
)

The second hidden field (WTEXTOLD) has:

@Implode(WTEXT; "~")

The editable field (WTEXTNEW) has a notation to the user that they can 
only input 70 characters and that they have to re-execute this form to 
add each line. This field is not multi-value and the display does not 
allow multiple lines. Two settings that I believe will have to be 
changed for the following.

What the users want is to be able to type as much as they want at once, 
and have the application automatically split lines at 70 characters 
(splitting words is OK, word wrap is not needed but would be nice) or 
where ever they pressed enter.

Not having gotten into LotusScript far enough yet to handle this can 
anyone provide links to some example code or care to suggest how to 
change this?

Thanks Very Much.

Roger Vicker, CCP

-- 
*** Vicker Pony Farm *** www.vicker.com/vpf ***
*** Vicker Programming and Service *** Have bits will byte *** 
www.vicker.com ***
Do not adjust your mind. The fault lies with reality.



_______________________________________________
This is the Lotus Domino on the iSeries / AS400 (Domino400) mailing list
To post a message email: Domino400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/domino400
or email: Domino400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/domino400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.