Search results

  1. Rajat Sharma

    Question How can I read "\" as a character in progress

    Thanks Tom! Thanks & Regards! Rajat.
  2. Rajat Sharma

    Question How can I read "\" as a character in progress

    Hello Everyone, hope you all are well. :) I tried this code in procedure editor and it works fine: def var abc as char initial "'abc\test1'". def var xyz as char. disp abc format "x(25)". xyz = replace(abc,"\","_"). disp xyz But if i am trying the same in CHAR programming then it requires ~...
  3. Rajat Sharma

    CAN-DO

    Great Explanation Tom, Thanks a lot!! Thanks & Regards! Rajat.
  4. Rajat Sharma

    CAN-DO

    Hi Tom, thanks for replying. 1. I don't understand the meaning of security function, is it related to any progress terminology or what. 2. As you said that CAN-DO is evaluated at client side then: 2.1 Is it good or bad because as per my understanding if server load is less then performance...
  5. Rajat Sharma

    CAN-DO

    Hi Everyone, Hope you all are doing well. I found some scenarios where CAN-DO function doesn't work the same way as it supposed to be(with special symbols). Somewhere i saw that CAN-DO is too old in progress programming and it is designed as a Security Function so instead of using CAN-DO we...
  6. Rajat Sharma

    Move/rename

    Hello Everyone, hope you all are well. OS-RENAME is not working properly when i want to move the file between different directories(I face this issue at my shop). when i tried this on my laptop then i am able to move files from one to other directory like from C to D or vice-versa. I am unable...
  7. Rajat Sharma

    Question How to decrease my output files' font size ?

    Hello Everyone, hope you all are well. Can i send data directly to file using OUTPUT TO and create PDF file. i tried the similar code as above and got error message: File corrupt. Please Suggest. Thanks & Regards! Rajat.
  8. Rajat Sharma

    how to write page break

    Thanks Osborne, I was looking for the same. Thanks & Regards! Rajat.
  9. Rajat Sharma

    how to write page break

    Hello Everyone, hope you all are Well. :) I have a related question: Requirement:- I want to add a number count for every page break for example: For every page break, frame's heading should be changed like "CUSTOMER'S INFO PAGE" 1,2,3 and so on.. DEF VAR l-count AS INT NO-UNDO. DEF FRAME...
  10. Rajat Sharma

    Export Data - Report

    Hi Everyone, I have been trying to learn how to export data to excel file either form .p or from BROWSE-WIDGET or likewise. i tried the above code with OUTPUT TO and with STREAMS as well and found unstructured representation of excel file.If we are able to create excel file like this then why...
  11. Rajat Sharma

    Question Regarding For First

    Thanks a lot Rob, Greg, for your valuable inputs. Now, i am able to differentiate their usage. :) Thanks & Regards! Rajat.
  12. Rajat Sharma

    Redirect ouput to screen

    Hi Anamika, Please check if this code helps you: PROCEDURE(.P): DEF VAR b-mod AS LOG NO-UNDO. b-mod = SESSION:BATCH-MODE. {gpselout.i &msg = b-mod} gpselout.i : IF B-MOD = YES THEN DO: OUTPUT TO VALUE("C:\RAJAT\ABC.TXT"). FIND customer WHERE custnum = 1 NO-LOCK NO-ERROR...
  13. Rajat Sharma

    Question Regarding For First

    Hello Everyone, I have few basic confusions regarding FOR FIRST: 1. Why, FOR FIRST comes with block because it retrieves only one record into record buffer.Is there any other logic behind this? FOR FIRST customer. DISPLAY name. END. 2. As FOR FIRST use multiple index and FIND use...
  14. Rajat Sharma

    How import images (BLOB) in a Progress Table

    Yes, it works fine. :) I am not getting much idea that from where i should start coding for displaying BLOB images(image widgets), is there any code or documentation or something that i can follow for the same? Thanks & Regards! Rajat.
  15. Rajat Sharma

    How import images (BLOB) in a Progress Table

    Hi Cringer, Yes, file exists. i tried to put file name in VALUE() but this time compilation error for COPY-LOB statement. After reading the documentation it seems that either VALUE() doesn't work with COPY-LOB or i am writing wrong syntax for this, please suggest? DEF VAR l-path AS CHAR INIT...
  16. Rajat Sharma

    How import images (BLOB) in a Progress Table

    Hello Everyone, I have a related question: I am trying to store images into database BLOB filed and later wants to display them accordingly, i tried this code to store images: CREATE temp. COPY-LOB FILE "c:\rajat\image.jpeg" TO OBJECT temp.bigb. This code compiles successfully but...
  17. Rajat Sharma

    Help

    Hi Everyone, I have a related question to this: I saw many ways when passing parameters to include file. {include.i &msg = indicate} /*no variable defined for this*/ or {include.i &msg = "indicate"} or {include.i &msg = 'indicate'} or {include.i &msg =...
  18. Rajat Sharma

    capturing progress error

    Hi Rob, I can understand your valuable inputs regarding progress errors. Where should i look for "Internationalizing Applications" manual, please suggest. Thanks & Regards! Rajat.
  19. Rajat Sharma

    capturing progress error

    Hello Everyone, So, instead of suppressing the errors i should understand the problems causing errors and tackle them accordingly. Hi Dude, i am not much aware of the promsgs in the respective prolang sub directories. Is there any documentation or something that i can go through for this...
  20. Rajat Sharma

    capturing progress error

    Hello Everyone, I have a related query, i don't know either i should add a new thread for this or should i use the related one. No matter what type of ERROR progress generates, i want to override those errors with my own message. somewhere i saw similar code for this purpose: OUTPUT TO...
Back
Top