Search results

  1. S

    Dynamic updateable browse - CURRENT-ROW-MODIFIED

    Hi, Following is troubling me in a multi-user environment... Ive got an input paramater as string that refers to a table name. For this table I want to create a temp-table which I want to use to create a dynamic updateable browse. When the user modifies a record, this record must be copied...
  2. S

    Get table properties of a given database

    Hi All, How can I get all fields of all databases? This procedure gives me properties of all connected "tables": FOR EACH _file NO-LOCK WHERE _file._hidden = NO: DISPLAY _file WITH 1 COL WIDTH 200. END. Can't I do something like this example: FOR EACH _Db, EACH _File NO-LOCK WHERE...
  3. S

    Common Dialog for Saving

    Hi there, Someone knows how to display a common dialog box to save a file? Following code can be used to open a file: def var l-file as char no-undo. system-dialog get-file l-file must-exist. message l-file. Is there also something for saving a file? Or should I use the Common Dialog OCX...
  4. S

    How to add RIGHT-MOUSE-CLICK event?

    Hi all, I have a TreeView Control 6.0 (SP6) on my window (.w). In the Common OCX Events I see OCX.DblClick , OCX.Click, ... but NO OCX.RightMouseClick ??? How can I apply this one to my OCX control? This should be simple but you have to know :blush: Thanks in advance!
  5. S

    How to add RIGHT-MOUSE-CLICK event?

    Hi all, I have a TreeView Control 6.0 (SP6) on my window (.w). In the Common OCX Events I see OCX.DblClick , OCX.Click, ... but NO OCX.RightMouseClick ??? How can I apply this one to my OCX control? This should be simple but you have to know :blush: Thanks in advance!
  6. S

    use Procedure Editor in a window

    Hi all, I'm creating a sort of framework where I can connect databases, loop through drives and directories, etc ... When I double-click a filename (.p) the content of the file loads into an Editor Widget at this moment. After pressing a button the procedure will run. Is it also possible to...
  7. S

    Send commands to unix server from client application

    Hi All, I don't know if it's possible but I'm trying to send some commands to a UNIX machine from a progress GUI client application (.w) running on my PC. Can this be realised in some way? There is a NetTerm software installed to make a telnet connection to the UNIX server. Maybe by loading...
  8. S

    use CHECKED attribute on dynamic checkboxes

    Hi all, I have a .w file where I dynamically create checkboxes. While creating them, I store them into a temp-table to check afterwards if they are checked or not! This is my code: DEF TEMP-TABLE ttWidgets FIELD ttId AS INT FIELD ttWidget AS HANDLE. DEF VAR cServers AS CHAR NO-UNDO INIT...
  9. S

    UNIX SILENT VALUE(rlogin ...)

    Hi, I've got multiple UNIX servers with similar databases structures + file structures. Sometimes it happens that I need to run one procedure on all the servers locally (performance). For the moment I always do next; 1. ftp the .p file from the source server to the destination servers, 2...
  10. S

    import file contents into a dynamic temp-table

    Hi, I'm trying to do following: I have a semi-colon .csv file e.g: InvoiceNumber;InvoiceDate;CustomerNumber;CustomerName; 1;12/12/07;1245;"Customer1"; 2;12/12/07;1458;"Customer2"; Like you see, the column-labels are also in the flat file. Now I want to create a dynamic temp-table with...
  11. S

    Dynamically Assign Fields

    Hello, Can somebody please help me ... :confused: I need to fill-up static-fields in a static-temp-table. But I want to use the static-fields dynamically. E.g: DEF TEMP-TABLE ttTemp FIELD supplier AS CHAR FIELD product AS CHAR FIELD threatm AS CHAR FIELD dm2005 AS DEC FIELD dm2006 AS DEC...
  12. S

    Crosstab

    hi Can someone please help me to create a crosstab query. I have a table tblOverzicht with the fields: "name", "Date", "Code". Now I want to create a crosstab with all the dates as column headings and the employee names as row (they may only appear one time) and the Code as value. The goal is...
Top