Search results

  1. tamhas

    Compiling a cls USING itself

    Why are you trying to do this? There is no point in USING pointing to self. Also not sure what you are trying to accomplish with the compile code.
  2. tamhas

    Comment Never seen this before on a FOR EACH statement.

    It would be interesting to know where the block label was relative to the FOR EACH...
  3. tamhas

    Accessing Openedge Database with USERID only?

    Note also that the password stored in the database cannot be decrypted to a plain text password. The validation is between encrypting what the user entered and what is stored. So, what you probably should do is to have a procedure which sends the user a new temporary password and, as James...
  4. tamhas

    Connect DB running on a Unix system to a Windows Development environment

    For a reasonably modern version of Progress, which you have, you really want to be using PDSOE.
  5. tamhas

    Answered Can (SQL) UPDATE STATISTICS hamper performance of ABL AFTER the fact - NO!

    One might say that a -L that big is a sure sign of code that needs fixing...
  6. tamhas

    Go home WAIT-FOR, you're drunk.

    you're drunk.
  7. tamhas

    Learn Progress

    The Progress conference is called ProgressNEXT this year. This site and communities.progress.com are good places to ask questions. OEHive.org is a good source for code samples and tools. Progress has a program of on-line education, which I have no experience with.
  8. tamhas

    Question Record delimiter on EXPORT

    You need some interaction with the recipient ... what do they actually want you to do with the new lines? If they want to preserve them, then mutually pick a character to substitute and replace on export and reverse replace on import. If they can't actually handle them at all, then decide...
  9. tamhas

    what is the use of Work table.

    FWIW, if the data can be safely held in memory and you don't need an index, i.e., order doesn't matter, work-tables are higher performance than temp-tables and consume less space. It is possible to build a work-table in order, but if you need order just use a temp-table.
  10. tamhas

    Temp-table Scope Clarification

    You need to look carefully at the various ways of passing temp-tables. Passing as a copy means clean separation, but it also means the overhead of making a copy. Passing by reference just passes a handle and so is much more performant, but means you do not have the separation. Whether or not...
  11. tamhas

    Question Display Zero @ Decimal Datatype

    Note, the two are independent. DECIMALS determine the precision with which the number is stored. You have no control over the 0s and 1s in that storage, but it will store enough bits to give you the desired decimal precision in what is stored. You may then display that number with any...
  12. tamhas

    Question How Share Temp-table Across Reports

    A shared temp-table is almost certainly the wrong solution. Much better is to generate it once and store it somewhere - in a temporary table, possibly in its own DB freshly created by the process which does the generation, or as XML or JSON. Then, have the consuming programs get it from that...
  13. tamhas

    Question Progress Procedure Taking Too Long Time To Complete.

    And now you have a tool for the next time. For formatting code, use the icon between media and drafts, select code, and then paste your code in the inside. Helps a lot.
  14. tamhas

    Question Fork Issues On Openedge 11.6

    Well, you seem to managed to fork the post anyway ... You might try being a wee bit more descriptive about what your problem is so that we have at least the slightest clue.
  15. tamhas

    Question Progress Procedure Taking Too Long Time To Complete.

    It would help a lot if you put code tags around that so that the indenting was maintained. A slow query is almost always a question of bad indexing. The file names look like MFG/Pro, but I don't have the dictionary for that. A COMPILE XREF would show you what actual indexes are used and you...
  16. tamhas

    Select Distinct <> First Of

    Why would you expect these to be the same. In the first on you used two fields to make the selection; in the second you used one. In the first you are ganging together three FIRST-OF, which is obviously not doing what you think. On the very first record, all three fields will be first-of, but...
  17. tamhas

    Question Mobile App License Overview

    There is no table or log that will give you an accurate user count. For starters, there are 4 different types of user -- named, registered client, concurrent, and access agent. Access Agent can only be used for users which are not individually identified and use the system less than 2 hours...
  18. tamhas

    Undo A Transaction Created From An Internal Procedure

    And, compile with the listing option to see where the transaction blocks are.
  19. tamhas

    Checking The Number Of Users Connected During A Session

    First, you need to define "user". Is it going to match PSC's definition of Named User or Registered Client or something else. Then you need to implement logic and database that reflects that definition and provide management tools including how to notice that a user has disconnected in some...
  20. tamhas

    Substitute Function Consumes More Time

    Have you considered other mechanisms altogether? Like populating a temp-table and then exporting it as JSON? So, are you now saying that there is DB access in this loop? And suggesting that the concatenation is slower than the DB access?
Back
Top