Thanks Mike
I will give it a try
Marc
--------------------------------------------------
From: "MikeB" <[email protected]>
Sent: Wednesday, April 22, 2009 5:54 PM
To: "RBASE-L Mailing List" <[email protected]>
Subject: [RBASE-L] - Re: Back space
Capture the contents of the Note field in a variable:
GetProperty CompID TEXTVALUE .vNote
RBase trims trailing blanks from variables, so just add a period to the
note variable like:
set var vNote = (.vNote + (Char(46)))
Use the property command to set the value of the memo component to the
value of the variable.
Property CompID TEXTVALUE .vNote
----- Original Message -----
From: "MDRD" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Wednesday, April 22, 2009 6:23 PM
Subject: [RBASE-L] - Re: Back space
Mike
I want to be able to push a button that adds a Period to the end of
the note field and want to be able to delete the space at the end of the
text or back space then add the '.'
Thanks for the help
Marc
--------------------------------------------------
From: "MikeB" <[email protected]>
Sent: Wednesday, April 22, 2009 5:15 PM
To: "RBASE-L Mailing List" <[email protected]>
Subject: [RBASE-L] - Re: Back space
SELECT somenotefield INTO vnote IND vin0 FROM sometable +
WHERE somepkcol = .somepdval
SET VAR vspace = (CHAR(20))
IF (SGET(.vnote,1,(SLEN(.vtext)))) = .vspace THEN
PAUSE 2 USING 'Trailing Space Found'
ELSE
PAUSE 2 USING 'Trailing Space NOT Found'
ENDIF
RETURN
What is the context of the BackSpace?
----- Original Message -----
From: "MDRD" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Wednesday, April 22, 2009 5:34 PM
Subject: [RBASE-L] - Back space
Hi
Is there a way to see if the last character or thing in a a note field
is a space?
Also, is there a way to issue a backspace in a EEP?
Thanks
Marc