Hi Karen,
I've used this method to control, I think, carriage returns in note
fields in the past. On leaving the form I'd convert carriage returns
to tildes, and reverse when editing.
SET D_Message = (SRPL(DuesMessage,(CHAR(13)),'~',0)) +
WHERE SubClass = .vGetClass
Long ago there used to be printer control codes for
superscript/subscript. One to turn it on, another to turn it off. All
characters sent to the printer in between would be subscripted. I
don't know if that is still true today or if they can be passed to
the printer from within the text as then.
Also, thinking about it, you would need two text tags, say ~ to turn
it on and # to turn it off, if it is do-able at all.
Update YourTable SET YourColumn =
(SRPL(NoteField,'~',(CHAR(CodeForSubScript_on)),0)) +
WHERE NoteField is not null
Update YourTable SET YourColumn =
(SRPL(NoteField,'#',(CHAR(CodeForSubScript_off)),0)) +
WHERE NoteField is not null
Ben
On 19 Jul 2004 at 9:14, [EMAIL PROTECTED] wrote:
>
> Ben:
>
> Hmmm... that's something to think about. I don't see after exiting
> the
> edit form, just what you would replae it with. Even if you had some
> kind
> of graphic image you can't SRPL it into a text. If I put the SRPL in
> the
> report (which would be kind of difficult because it the ~2~ could
> appear
> in any row in the RH, RF, BH, BF or D), again how would I do that?
>
> Karen
>
>
>
> What if you had the user "tag" anything that needed special printer
> codes. So, maybe, H2O could be H~2~O. Then SRPL the tildes with the
> correct character on exit from the edit. Wether SRPL would recognize
> the characters you need might be another issue.
>
> Ben
>
>
--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [EMAIL PROTECTED]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE:
Send a plain text email to [EMAIL PROTECTED]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [EMAIL PROTECTED]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
================================================