Search results

  1. D.Cook

    Describe table using SQL-92 \ 4GL

    I have not used SQL with Progress before but I'm guessing the meta tables are available. Try selecting from the tables _file (table), _field and _index. Or if you have a 4GL license, open the Data Dictionary. This is under 'Tools' in the Procedure Editor. Otherwise check out the OpenEdge...
  2. D.Cook

    Error: 3565

    This is one of those infuriating limitations. In the past I've used a solution a little different to sphipp. function getRef returns widget-handle (index as int): case index: when 1 then return a[1]:handle in frame f. when 2 then return a[2]:handle in frame f when 3 then...
  3. D.Cook

    Output to Terminal in Batch Mode UNIX

    Is it possible to output to the terminal in batch mode on UNIX/Linux? The obvious thing to try was this: output to terminal. message "Hello World". Result: ** There is no terminal. (120) In Linux the error is given, but on Windows it happily greets the world. Also tried the following: if...
  4. D.Cook

    Get PID of current session

    Thanks guys, nice to see there's always a simpler way :)
  5. D.Cook

    Get PID of current session

    Is there a way to retrieve the PID (Process ID) of the current AVM session?
  6. D.Cook

    OS-COMMAND with NO-WAIT and NO-CONSOLE used together

    I've also been trying to achieve this and have the same problem. It appears to be a bug, as it does not behave as described in the documentation (I'm trying with 10.1C). I tried using 'start' with the /B switch but unfortunately it doesn't behave quite how I hoped. Eg: os-command no-wait...
  7. D.Cook

    Window height in character mode (Windows OE10.1C)

    Ah ha! Thank you very much Paul, I was hoping it was something simple like this. I wonder how on earth the screen buffer size got set to 300 though..
  8. D.Cook

    Window height in character mode (Windows OE10.1C)

    I am having an annoying problem whenever running the Procedure Editor (and anything else) in character mode on Windows with OE10.1C. The 'window' height seems to be around 300 or so lines, which means I have to scroll a long way down to get to any dialog boxes in the middle of the window or to...
  9. D.Cook

    Difference between DO and REPEAT

    Thanks for the clarification guys.
  10. D.Cook

    Difference between DO and REPEAT

    What's the difference between using a DO statement and a REPEAT statement? They seem to have very similar iteration options, notably: [ FOR record [ , record ] ... ] [ variable = expression1 TO expression2 [ BY k ] ] [ WHILE expression ]
  11. D.Cook

    Dynamic Query w/ linked tables

    Hi, I'm working to do this exact thing, and glad to see I've ended up in the same place! Just wondering one thing though, how did you write the function ExportRecord? I can't seem to find a simple solution. ... *time passes* well here's my solution anyway, hope it helps someone! function...
  12. D.Cook

    Using .NET created controls

    And another possibility: use the COM-enabled .NET library to provide the information I need and display it entirely with Progress.. why didn't i think of that before?
  13. D.Cook

    Using .NET created controls

    After hours of development I've discovered that you can't embed a COM-enabled (CCW) .NET user control in a window in AppBuilder - (See KB article P70093). Darn.. Has anybody run into this issue and found an alternative? Wait -- I have! Creating a .NET library that is COM-enabled - which just...
Back
Top