Search results

  1. T

    Linux Client Displayed Rows

    I think it is worth mentioning that Progress can resize terminal window. So you can have for example in your protermcap file definitions for linux terminal: :li#25, :co#80 and for example linux-wide :li#25, :co#132 and by changing TERM you can resize window (I guess that also require proper...
  2. T

    Question How to Hide Static Browser Column?

    GUI: br1:first-column:visible = false. CUI won't allow you to hide column. So probably the best option is just shorten column and change its screen value. To change screen value you need to store handle to column you want to hide and use it in on ROW-DISPLAY event. ON ROW-DISPLAY ANYWHERE DO...
  3. T

    CHUI 10.1C04 - accelerators/keyboard shortcuts unexpected behaviour

    Hello, OE 10.1C04 CHUI, I have encountered unexpected behaviour while working with accelerators/keyboard shortcuts. I have attached simple test case to demonstrate it. Both attached files should be placed in /tmp, then in 4GL editor just run /tmp/accel_a.w. There is window with menu in...
  4. T

    Running transactions in a tight loop without monopolizing resources - nice Progress

    Re: Running transactions in a tight loop without monopolizing resources - nice Progre I guess you could try to implement something like nice using VST. Just query VST to detect busy time and then pause. That could be more effective that just pause every 100/200 iterations. As you mentioned...
  5. T

    invoking Microsoft Word (spelling)though Progress problem

    Maybe you just need to show Word after creating it. Your code works with MS Word 2003, WIN7 64-bit, OE 10.1C (32-bit) with wordAppl:Visible = TRUE line and just hangs up without that line. CREATE "Word.Application" wordAppl. wordAppl:Visible = TRUE. ASSIGN editor_booktext
  6. T

    backup batch script for after image daily backup

    If you don't use multiple AI files, then you cannot recover in case of database crash. I am not quite sure, but in case of crash you will have damaged database and no good (complete) AI file - you will have database backup from previous day which you can restore, but you won't have "finished" AI...
  7. T

    Required to reboot server to restart database.

    I am not quite sure whether upgrade 10.1B -> 10.1C requires anything. I am sure that for database itself it is enough to truncate BI in 10.1B and then start database using 10.1C. No need for recompiling. IIRC you don't even have to upgrade clients - at least till you compile code with features...
  8. T

    Required to reboot server to restart database.

    Try upgrade to 10.1C04. 10.1B on Linux had some user/memory locking related problems - maybe Windows version also has similar problems. Also, your -B is relatively small comparing to database size and -L is quite big. If you don't use after image then you should implement it ASAP - it is quite...
  9. T

    Session Trigger question

    For that purpose you can add directory with custom programs at the beginning of PROPATH. If you place there your version of gmcmmt01.p then Progress executing RUN will run it instead of original one. If you need to call original gmcmmt01.p from your procedure, then simply go through PROPATH and...
  10. T

    OLE, "Struct" problem with StarOffice

    There is no easy solution to this problem, because AFAIK OpenEdge lacks array support. However you can deal with this problem using external programs / modules: 1) Create your own COM object that will deal with array functions - so some objects you call with ABL and some with your COM object...
  11. T

    How to disable the Fill-in?

    Change "subtype" attribute to "native" before widget realization. FILL-IN-1:SUBTYPE = "NATIVE".
  12. T

    Problem with (shared) record buffers

    I am not sure whether this apply to your problem, but is somewhat similar. I mentioned some time ago (http://www.progresstalk.com/showthread.php?117561-RELEASE-of-the-record) that sometimes buffers and temp-tables can cause unexpected behavior (Progress 10.1C04). DEF TEMP-TABLE tt NO-UNDO...
  13. T

    utf-8 printing

    I see a lot of misunderstanding what printer does. Printer is specialized interpreter controlling some hardware that takes some kind of program and use printing mechanism to create printout. When you click "Print" in notepad 2 things occurs: 1st notepad calls some windows functions to create...
  14. T

    utf-8 printing

    TSP100 is not valid printer name - it is just file name, so when you do "COPY ..." then you only copy ticket.txt to tsp100 . If you want to send it to printer then use copy c:\ticket.txt \\computer_name\printer_share_name (I am not sure whether you need to share this printer first or not)...
  15. T

    Selection using UTF-8

    I would check why expected record doesn't appear in query with simple for each run from plain _edit.r: on find of <table> override do: end. <fill charvar1 and charvar2> for each <table> no-lock where recid(<table>) = expected record recid and <table>.<charfield> >= charvar1...
  16. T

    ODBC Connection Problem: Connection Refused socket closed

    It rather seems there is firewall somewhere between client and server. Usually ports below 1024 require special privileges to open - like superuser in Unix. So first user-accessible ports (for processes without root privileges) starts with 1025. When you initiate first time connection to port...
  17. T

    Slow reading data from database on the first time...

    If it is test machine and you are not afraid of data loss then you can copy database to ramdisk (if you have enough RAM). If you cannot afford data loss or don't have enough RAM then you can improve performance of disk subsystem - use RAID 10 or even multiple arrays with multiple controllers...
  18. T

    Control characters from pasting

    Progress inherits global triggers from calling procedure, so you can make use of such trigger (also in 8.3). In startup procedure you define global trigger and then every procedure inherits this trigger until you explicitly override it. By startup procedure I mean either one which you call when...
  19. T

    Logic behind temp-table

    Actually, MAX-DATA-GUESS is estimated number of rows in query. You can set it to *expected* rows in query before you open query - it allows proper setting of vertical scrollbar (if you don't then Progress default is 100). After opening query it is constantly updated when you browse query and...
  20. T

    After prodel df -k does not show more free space available

    Check output of lsof +L1 Probably some process(es) had opened database files before you have deleted it. In such situation file is still accessible to such process, though no new process can open such file (because it has been unlinked from directory entries). When you close/kill process then...
Top