Search results

  1. tamhas

    Question Deadlock

    Right, one of the principles of good ABL programming is to figure out what needs changing without opening a database transaction and then to open, apply, and close in the shortest possible time. If you do that, then the problem goes away.
  2. tamhas

    Share-lock No-lock Exclusive-lock

    Note also that your examples 1 and 2 do not show any scoping. Any update should be done in a strongly scoped block.
  3. tamhas

    Question Euro Sign - Which Code Page

    For future reference, stick this URL in your reference file for code page issues. Internationalization (I18n), Localization (L10n), Standards, and Amusements
  4. tamhas

    Lock Table Overflow, Increase -l On Server (915)

    If this is just a display, there is no reason for any locks, so all of your reads should be no-lock.
  5. tamhas

    Include Files - Named Parameters

    As discussed on Progress Communities, the issue here is trying to mix positional and named parameters. Once you use a named parameter, positional parameters cannot be used.
  6. tamhas

    Smtpmail And Ssl Issues

    Presumably, the obstacle to install is human, not technical ...
  7. tamhas

    Question Extended Ascii Characters

    BTW, you might want to add Internationalization (I18n), Localization (L10n), Standards, and Amusements to your bookmarks for a lot of information on this topic.
  8. tamhas

    Question Extended Ascii Characters

    Depending on the need, you could move to an extended code page like UTF-8 that is more likely to have a superset of the characters you want, but that is a non-trivial commitment. So, you need to ask yourself why you need any particular character and how important is it to the application. If...
  9. tamhas

    Question Extended Ascii Characters

    The table you are showing is not for 8859-1 ISO/IEC 8859-1 - Wikipedia There is no box in 8859-1.
  10. tamhas

    Question How To Handle "no More Resources."

    Plus -n has only a passing relationship to licensing ...
  11. tamhas

    Question For Each Where Clause Wildcards

    For situations like this, my inclination is to test the values the user has supplied and construct a where clause dynamically based on what I find there. Thus, if the user supplies "*", simply omit that field from the where clause altogether. Not only does this allow making much more efficient...
  12. tamhas

    Error Not Commited To Db

    Done the COMPILE LISTING yet? You can also do it for the program that calls this one to see if there is a transaction active at the time of the call. Other than that, I agree with the other advice you have been given. Sometimes, people think they need huge transactions out of some notion that...
  13. tamhas

    Avoid Non Printing Characters

    Replace() is a much faster way.
  14. tamhas

    Accessing Data On Progress Tables

    The two common ways of looking at the data are an ABL program (the Progress 4GL) or SQL. But, given your apparent lack of ABL knowledge (or you wouldn't be asking the question), a third option, as Marco suggests, is DataDigger, which is ABL designed to make it easy to browse through the data...
  15. tamhas

    Importing .d Created From Data Dictionary

    I.e., code it the way you should and the issue doesn't arise ... :)
  16. tamhas

    Question What Is Active Index?

    So that it can be used. If it is inactive, it can't be used.
  17. tamhas

    Question Error Loading Df File

    You don't want *any* number separator except the decimal when providing numeric constants.
  18. tamhas

    Answered Are Procedure Libraries Present In 10.2b?

    Are we talking about using persistent or superprocedures?
  19. tamhas

    Question Using Shared Frames

    To followup on what James said, good progress implies encapsulation of related behavior in a procedure or object and clear passing of needed parameters between these procedures or objects, so that you can clearly trace the flow of information and know exactly where something came from and went...
  20. tamhas

    Table Size/records

    RECORD-LENGTH gives you the size of the *data* in the record. On disk there is additional space consumed by the DB housekeeping information.
Back
Top