Recent content by Daniel Vanzo

  1. D

    Search for specific words in a string...

    An option: DEFINE VARIABLE cString AS CHARACTER NO-UNDO. DEFINE VARIABLE cWords AS CHARACTER NO-UNDO. DEFINE VARIABLE i AS INTEGER NO-UNDO. ASSIGN cString = "test1234: 12345957827" cWords = "test,progress,578". REPEAT i = 1 TO NUM-ENTRIES(cWords): DISPLAY ENTRY(i,cWords) cString MATCHES ("*"...
  2. D

    Fill Pdf??

    Hello! Environment: Linux Mfg/Pro 8.6 Character Progress 9.1E I have a requirement to fill a pdf template with data from Mfg/Pro. Anybody knows any product that we can use to accomplish this task? I remember an article years ago about a library (fpdf??) and how to use it from Progress 4GL, but...
  3. D

    Set the size of the section-editor

    From Kbase: P10145 Status: Unverified GOAL: How to set the Section Editor's default starting size. FACT(s) (Environment): Windows FIX: The folloing solution assumed that WRK is your default Progress working directory: 1. Start a Progress Proenv session: Start ->Programs->DLC->Proenv. 2...
  4. D

    How to Display Database Host Name

    Hello, Untested, but if you connect using -H -S parameters, you can obtain the Database Host Name from the _DB.DB-COMM column: DEF VAR cDbHostName AS CHARACTER NO-UNDO. cDbHostName = ENTRY(LOOKUP("-H",_DB._DB-COMM, " ") + 1, _DB._DB-COMM, " "). Regards, Daniel
Back
Top