Search results

  1. J

    PDFINCLUDE

    Hi Thiago You are using a very old version of pdfInclude. The support for existent pdfs is not good is the old version, and has since been completely rewritten. The old version can load existent pdf files, but is not compatible with any possible pdf. In fact it is compatible with very few pdf...
  2. J

    How to convert Json Memptr to JsonObject

    Hello, As per Progress KB - What is the maximum size limit for the CLOB, BLOB and LONGCHAR data types? the limit for LONGCHAR is 1Gb, are you sure your JSON is larger than that? If this is the case then I'm not sure JSON is very adapted for what you are doing... Regards JC
  3. J

    barcode 128

    Hello Where do you want to put a code 128? On screen? Onto a pdf file? Other? The solution depends on your needs. Regards JC
  4. J

    ABL DatePicker

    Hello This is great! And would be worth a github repo :) ++ JC
  5. J

    Resolved Command to Write into a PDF Template

    Hello I would recommend pdfInclude (pdfInclude pdf generation framework for Progress OpenEdge), a framework developped in 4GL/ABL, available with the source, which enables all sorts of pdf manipulation. And compatible with Linux, Unix, Windows. Filling a template is among them. Regards JC
  6. J

    Does anyone have a Calendar (date-picker) example?

    If I'm not mistaken this is only a matter of translating the months, i.e. replace ["Ocak","Þubat","Mart","Nisan","Mayýs","Haziran","Temmuz","Aðustos","Eylül","Ekim","Kasým","Aralýk" ] by the months in your language, e.g. "January","February",etc. And for the rest AFAIK Turkey has the same...
  7. J

    Does anyone have a Calendar (date-picker) example?

    Are you looking for this? http://www.oehive.org/project/DatePicker
  8. J

    base64 HMAC Generation

    the 2 following lines give the same result: MyHashCode = MESSAGE-DIGEST("SHA-256", "Hello World", "simplesecret"). /* Returns a raw */ MyHashCode = MESSAGE-DIGEST("SHA-256", "Hello Worldsimplesecret"). /* Returns a raw */ i.e. el "hask key" is concatenated after the input text. MESSAGE-DIGEST...
  9. J

    Question How to return an error-message in a webservice

    Hi Wolf There are many many ways to do web services with OpenEdge. How is it implemented? 20 years ago, I suppose this is implemented using webspeed? What do you call a web-client? The web browser? Or Progress own webclient? You have to tell us more so that we can help you. Regards JC
  10. J

    Question importing data from xml file

    You should: 1. add a root node to your xml, let's say add <xmlReport> at the beginning and </xmlReport> at the end 2. READ-XML the temp-table, it will work. In order to produce the same xml, you could: 1. define a dataset, with a SERIALIZE-NAME "xmlReport", including your temp-table. 2...
  11. J

    Question importing data from xml file

    The xml you are trying to import is not valid xml. There is more than one root node. oh and hello by the way.
  12. J

    How to remove duplicate values in a string

    Hi Ram Nope, it does not exist, you will have to code it yourself. Depending on the possible length of the list, I would do it with an iteration on the list, creating the output on the fly, or if the list can grow big, using a temp-table to store the unique items, then create the output from...
  13. J

    Creating temp tables with variable names

    Well, it seems overly complicated but the following is doing something which might help: DEFINE TEMP-TABLE ttTempTables NO-UNDO FIELD cCode AS CHARACTER FIELD hTable AS handle FIELD hBuffer AS HANDLE INDEX ix IS PRIMARY UNIQUE cCode. for each customer break by country: if...
  14. J

    Creating temp tables with variable names

    Hi You can do something along the lines of: DEFINE VARIABLE hTable AS HANDLE NO-UNDO. CREATE TEMP-TABLE hTable. hTable:NAME = customer.country. hTable:ADD-NEW-FIELD("code" /* field name */, "character"). hTable::code = /* what do we assign in the field(s) here? */ You do not tell enough...
  15. J

    Answered Generating a QR Barcode

    Just fyi and as I see this thread coming up, if you need to generate a QR Code into a pdf file, pdfInclude is now able to generate a lot of 1D and 2D barcodes (including QR Code, but also datamatrix and PDF417) and put them into your pdf files. All done in 4GL/ABL, no external dependency needed.
  16. J

    Resolved Pdf Include Limitation? - Height PDF

    Hi Baltazar I could reproduce thanks to your zip file and analyse the problem. The default pdfInclude top margin is 50 points. So if you reduce so much the page height, you have to define a smaller top margin. For example: run pdf_set_TopMargin("Spdf",12). And this works. Regards JC
  17. J

    Resolved Pdf Include Limitation? - Height PDF

    Hi Baltazar Can you create a small reproducible, so that I can test here in my machine and help? Regards JC
  18. J

    Could not Load DLL procedure zlib1.dll

    Hi Loading a template with pdfInclude makes use of zlib to decompress the internal objects in the pdf file. the file zlib1.dll is distributed along with pdfInclude source code. Do you have it somewhere? zlib1.dll should be present in one of the folders of the PATH environment variable of the...
Back
Top