Recent content by tommartinson

  1. T

    utility to reformat bad indentation

    I see there are older threads that address this, but I want an up-to-date answer. Are there any utilities or editors that will reliably reformat code with bad indentation? I used at least one in the past that did more harm than good!
  2. T

    passing temp tables in a generic way

    Are you suggesting I send the table structure using JSON (and building a dynamic temp-table in the class?) and then sending the actual data as JSON? This sounds absurd. There has GOT to be a better way. I don't want to have "includes" in my class, so that it can be generic. I think we...
  3. T

    passing temp tables in a generic way

    Suppose program.p has a temp-table foo defined in it, and I want to use it by sending the data to a myclass.cls in the constructor? Can this be accomplished in a generic way using handles or something else? (NOT defining temp-table foo in myclass.cls) This sounds to me like it is something...
  4. T

    What is the current consensus on the old "app server" vs the tomcat based one?

    What are a few of your opinions on this topic? How do they compare in the following ways: Speed an efficiency, reliability, complexity in configuration, flexibility? We are planning on upgrading from OE 11.6 soon and it is my understanding the old app server is not compatible with versions...
  5. T

    server program signatures?

    Is there an was way to get the signature of server programs other than writing a lexer? In other words, I want to convert every program from this: define input parameter zero as decimal. define input parameter one as dec. define input parameter two as sting. to a list: zero,TYPE.DECIMAL...
  6. T

    openedge REST from linux w/o Pacific

    We are running 11.6 under the old app sever (not Pacific) on Linux. What is the best way to provide REST with out using the Pacific server? The best I came up with was running java calls to procedures. There has to be a better way. Does anyone have suggestions? Thanks, Tom
  7. T

    Question Break By 10 Character Fields

    Two cheesy solutions: 1) Sort one temp-table into another multiple times until you have "boiled down" the sort you need. 2)Output your fields into a text file with keys and rowid, then use unix sort and load that back in. (replace rowid with recid and temp-table with workfile if necessary, I...
  8. T

    Question Example Of A .net Form Placed On Top Of An Abl Window

    Thank you for the code but this appears to be the opposite of what I am asking. This is a .net form with an ABL window in it. (or is there something I am not getting?) I realize in theory they would look the same but if I suspect it would be easier to work the other way in an existing...
  9. T

    Question Example Of A .net Form Placed On Top Of An Abl Window

    My goal is to use .net controls (a button for example) in an existing application that is based on ABL windows. Is this possible? I have read that documentation before and I don't see an example, unless I am missing the obvious.
  10. T

    Question Example Of A .net Form Placed On Top Of An Abl Window

    I want to use .net with an existing ABL program that uses ABL windows. I have seen references to this being done in the documentation but only have seen code examples of the opposite (putting an ABL window on a .net form). Does anyone have an example or can they point to one? Thanks!
  11. T

    Craziest Progressism?

    Whatever you do, don't ever do this! def var x as int. def var y as int init 999. x = x + 1. + y. disp x.
  12. T

    Question Read HTML

    Check out: http://en.wikipedia.org/wiki/CURL
  13. T

    Find Record(s) in Whole Database

    Though grep would work, it would be pretty darn slow to run. (if the database is big) You might want to look into Apache Solr or Lucene and progress triggers, if this is something your are going to need to do regularly.
  14. T

    Return blank

    The problem: import expects a string like this to be in quotes. The simplest way around this is to use update instead of import. Just add no-echo after the input and change the import to an update. input through "openssl enc -base64 -A -in file.txt" no-echo. update cSign. If file.in is...
Top