Recent content by Stefan De Leyn

  1. S

    Close Acrobat Reader by Progress programming

    Drop the silent-option and put no-wait no-console in stead. The silent-option causes Progress to wait for the Windows-session created bu the os-command to stop (in your case closing Acrobat). The no-wait option tells Progress to immediately go on to the next statement. The no-concole option...
  2. S

    Newbie question

    The paging only works for smartobjects. By placing your button in a smartobject it will react properl to changing of pages. The other possibility is to use a simple frameand change the visible-property of this frame in the changePage-event as required.
  3. S

    updating an sdo when a table col has been deleted

    You have done it the wrong way around. First change all viewers and browser on which you based the SDO. Afterwards change the SDO and delete the appropriate field in the SDO. Then change the DataBase and recompile all of the above to avoid CRC-errors. As far as I know this is the only safe way...
  4. S

    ImageList/TreeView - wierd error

    Try looking through your entire propath if you have a wrx-file with a duplicate name somewhere. If so then this is causing the problem. Progress just uses the first one it encounters. Sometimes it comes across the right one first, sometimes the wrong one which then in turn seems to cause random...
  5. S

    smart data browser and additional info

    Follow the following steps. Define a funtion in the SDO with one input parameter (your code). The return character is obviously the description. Then define a Calculated Field in the SDO where you call this function and the input parameter should be 'rowobject.Code' which is one of the...
  6. S

    Specify Index on SDO

    We have done this by simply replacing the entire Query by using the setQueryWhere function. If the pcWhere begins "FOR EACH ..." then the entire query is replaced and then you should be able to insert the USE-INDEX option into the Query. I have personally never needed done it but in theory it...
  7. S

    Printing a field

    Exactly. Above function allows us to print any length of character (what an editor basically is) at any position on a page. This in turn allows us to print the pages with a layout more or less equal to what the user sees on the screen which in turn makes it easier for them to find the...
  8. S

    Printing a field

    Put unformatted ignores the chr(10). One way of throwing to a new line when there is a chr(10) there is to alter the function slightly to replace the chr10) immediately by a chr(1) when encountering it and resetting the counters in the function. Below shows how you can then print the resulting...
  9. S

    Printing a field

    When sending to the standard printer in a windows environment we use the simplest form, namely. output to printer. put unformatted 'string'. output close. This does not allow this functionallity but is very performant way of printing and that is what our users find more important.
  10. S

    Printing a field

    Hello Emma, If I understand correctly then the following function should solve your problem. You basically just pass the text on to it and tell it how many characters the seperate pieces of return text can be in length. The function returns the same text to you but split up in pieces, seperated...
  11. S

    Goddamm submitRow over-ride!!!!!!!!!!!!!!!!!!!!

    Ashley, I assume you have written your own function and are then calling the function from the client side in the SDO since it needs a database-connection. With the appserver your function (and SDO) is running in the context of the AppServer you need to tell the client-side this fact in...
  12. S

    Row-display trigger in a smart-browse error 5906

    You need to keep in mins that with the SDO there is no more need for Database connections when working with AppServer. This means higher security but also that you need to use the SDO for all 'communications' with the Database. I admit that working in v9.1 and v8.0 is very different. The main...
  13. S

    Row-display trigger in a smart-browse error 5906

    You assume correct. The rowobject table is normally only accesable through it's screen-values although the ROW-DISPLAY trigger seems to be an exception to this general rule. It is not quite clear yet to me as well how the entire system works but the databuffer for this temp-table seems to...
  14. S

    Row-display trigger in a smart-browse error 5906

    The rowobject is always available in a smartbrowser. It is basically nothing more then a temp-table (although it does have some special features) being filled up with the data from the SDO. Even if there is no data the rowobject-table will still exist, it will simply be empty. If you merely had...
  15. S

    Row-display trigger in a smart-browse error 5906

    Please find below an example of how I've done what you are looking for. I've used this many times already and have never encountered any problems. This code is in the ROW-DISPLAY-trigger of the browse-table. Hope this helps you out. IF rowobject.FaktBet = FALSE OR rowobject.faktdat >...
Top