I have a field name "BigText" with type long with length 0 ( for unlimited chars) on record MyPrueba, and I have a page where I use a Long Edit Box, on the same record MyPrueba I have a field named "PasteInfo". I copy a lot of text from excel to field "BigText" and I have a PushButtom "PasteInfo" How I do if I want to filter the text, its to say eliminate the characters and only left digits. I only want to assign to a variable but I'm not get the value. Note I want to filter before save.
Example:
On field pushButtom on FieldChange I have the following code:
REM &Cadproceso = GetField();
&Cadproceso = Myprueba.BigText.value;
&Longcad = Len(&Cadproceso);
MessageBox(0, "", 0, 0, "The text is " | &Cadproceso | " And the lenght is " | &Longcad );
or...
If I can to get the value from htmlarea and after assign to longChar. I am trying with the following, But I dont get the value:
Local string &DQ;
&DQ = Char(34);
&CodHtml = &CodHtml | "" | Char(10);
&CodHtml = &CodHtml | "function Test(element1,element2)" | Char(10) | "{" | Char(10);
&CodHtml = &CodHtml | "var text1 = document.getElementById(element1); ";
&CodHtml = &CodHtml | "var text2 = document.getElementById(element2); ";
&CodHtml = &CodHtml | "text2.value = text1.value; }";
&sHTML = &sHTML | "" | Char(10);
&sHTML = &sHTML | " ";
GM_PRUEBATRANSF.GM_CODHTML = &sHTML;
MessageBox(0, "", 0, 0, "La cadena es " | GM_PRUEBATRANSF.GM_LISTADEMPLEADOS);
| Title | Under | Posted on |
|---|---|---|
| how to create application status in peoplesoft campus solutions 8.9 version | PeopleSoft Functional | 05/17/2012 - 4:09am |
| horizantal text in charts | PeopleSoft Technical | 05/10/2012 - 4:57am |
| no current buffer context error | PeopleSoft Technical | 05/10/2012 - 1:19am |
| Integration Broker : Operating Instance/Pub Contracts/Sub Contracts | PeopleSoft Technical | 04/24/2012 - 11:05am |
Can you give us an example? for example present to us a sample text that is being copied over and how do you want it to be after striping the unwanted characters.
Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog
Please forget, I find the error. I was have enabled deferred process.
Post new comment