Recent content by j4n

  1. J

    RCode-Info:Table-List

    have you tried to compile everything against the old db, storing the RCODE-INFO:CRC-VALUE somewhere and then recompiling everything to check if the CRC-VALUE has changed?
  2. J

    Pass parameter from a batch

    prowin32.exe -p myProg.p -param myfirstparam,mysecondparam,mythirdparam in myProg.p param1 = ENTRY(1,SESSION:PARAMETER,","). and so on...
  3. J

    Index Questions

    Hi folks. Is there any sort of index statistics in a Progress database? Somthing like: table customer has 4 indexes. 70% of all searches are done by using index 1. the other 3 were each used in 10% of the queries. I know that the compiler determines which index is used and that I can look it up...
  4. J

    Static variable in Openedge / Progress

    are you referring to c or c++? progress doesn't have "c-static"-variables. you would have to use smth like shared variables that reside in a different p-file. if you want static class members like in c++ - then yes. it is like RHD said.
  5. J

    setting -assemblies param at runtime

    I was more hoping for some kind of "naked"-Session start (without references to assemblies) and then set the assemblies directory programmatically.
  6. J

    setting -assemblies param at runtime

    10.2B Does anyone know if it's possible to set the assemblies directory (in which the AVM looks for assemblies) at runtime? cheers, Jan
  7. J

    Version Control System

    we use git. we had some difficulties due to some "old" programmers who didn't want to change the way they work ("it's so much easier just to copy the files I changed to a directory on server x!"). the really hard part is the build-system you have to set up to get working patches out of git...
  8. J

    Images in Visual Desginer

    Hi, we are starting to implement a new .net UI with Progress 10.2b and Infragistics Controls 2009. To keep the resource files (*.resx) that Progress generates for every .net Window as small as possible and to programatically restrict the developers from using non-standard images, we want to...
  9. J

    Text File Manipulation

    if it's a 4gb datafile you might don't wanna use a temp-table to store all the data. just read a couple, analyse them and write them to a file.
  10. J

    First-of and Last-of

    /edit: I'm too slow I guess... 10.2b progress doc says: DEFINE QUERY qCustomer FOR Customer SCROLLING. QUERY qCustomer:QUERY-PREPARE("FOR EACH Customer WHERE Customer.CustNum > 50 BREAK BY Customer.Country BY Customer.Comments"). QUERY qCustomer:QUERY-OPEN. REPEAT WITH TITLE "Customers...
  11. J

    Oops concepts

    how to build a car with tools. can any one give me examples on them. oh buddy... I don't want to sound rude but posting buzzwords and adding "can any one give me examples..." won't help you. I'm not even sure if you really mean Object Orientation with "oops". I've been using Java and c++ OO for...
  12. J

    conversion

    that's an easy one: just outsource your it-departement to India. They can do everything for half of the price! ...oh wait...
  13. J

    How can I use the REPLACE function to replace {1}

    {1} is a preprocessor statement that gets replaced before a file is compiled. include.i DEF VAR thisIsSparta AS {1} NO-UNDO.procedure1.p {include.i "LOGICAL"} thisIsSparta = false.procedure2.p {include.i "INTEGER"} thisIsSparta = 0. before compilation of procedure1.p and procedure2.p the...
  14. J

    "FOR FIRST" or "FIND FIRST"

    imo there is no 'better' or 'worse' command. It all depends on what you want to do. Advantages of FOR FIRST are: transaction scope faster -> especially because you don't have to use the "NO-ERROR" phrase I might be wrong but I also thought that FOR statements can use multiple indexes and...
  15. J

    To get the info of particulat field, or fillin, or combo etc.

    Replace ":label" with the information you need then. I just wanted to show you how to create a trigger that works for all fill-ins and how to access the one that fired the trigger.
Top