Search results

  1. JoseKreif

    Resolved Odd Outcome With "find"

    I think I've tried "find First", that also lead it into the else block everytime. It's strange. Getting rid of the field begins "FooBar" and replacing with field = "FooBar" , seemed to have caused the logical error to go away. Ancient, 10.2B on RHEL
  2. JoseKreif

    Resolved Odd Outcome With "find"

    That's not a mistake. I need that to prevent the program from crashing. Removing it will only display the message "No Record Available". Like I've said in the OP, however, that the statement works on it's own in the editor window. This seems to be an issue with the "Find Begins".
  3. JoseKreif

    Resolved Odd Outcome With "find"

    It should not be locked elsewhere. I don't normally use "begins", so this is a first for me experiencing the outcome of mixing it with a find. I'm just a little confused, based on what I am seeing in the knowledgebase, Progress is suppose to return a record when a "find begins" is used...
  4. JoseKreif

    Resolved Odd Outcome With "find"

    It's working now. I got rid of the "begins" and replaced it with the full string.
  5. JoseKreif

    Resolved Odd Outcome With "find"

    The Find statement in my program does not seem to be working. The "if not avail" block will always execute thus creating a duplicate record. However, the statement will work if I run it on it's own in the code editor. Here is the code example find [table] where [table].[field] = [variable]...
  6. JoseKreif

    Answered Scheme Changes & Recompilation

    I should have everything I need. prodict/load_df.p was the final piece to making this an easy transaction. Thank you very much :D I'll probably have this idea completed without to much of a headache
  7. JoseKreif

    Answered Scheme Changes & Recompilation

    I like automating things on Linux systems. I'll see if I can come up with a way to handle this.
  8. JoseKreif

    Answered Scheme Changes & Recompilation

    The part where the time consuming problem comes in for us is that we have about 27 plants, each having their own database (same schema and r-code). It would be a nightmare, since as I was thinking, would have to go and update their schemas one by one and pushed out the thousands of recompiled...
  9. JoseKreif

    Answered Scheme Changes & Recompilation

    Sounds good. I'm going to take a copy of our database and build some programs to test before and after changes, this may prove the outcome of schema changes in my case. My mentor started learning progress from the very beginning, so he may of went on in his life holding onto the things Progress...
  10. JoseKreif

    Answered Scheme Changes & Recompilation

    Sorry if this is a noobie question. Our team is in the process of deciding whether or not to add a new table to one of our databases. IIRC, my progress mentor told me when I started learning that any changes to the database schema would require all programs to be recompiled. Does this only...
  11. JoseKreif

    Answered Are Procedure Libraries Present In 10.2b?

    Thank you for the clarification.
  12. JoseKreif

    Answered Are Procedure Libraries Present In 10.2b?

    That is odd. I have got my example from 11.6, which I learned from Welcome to The Enterprise Knowledge Platform. My company uses 10.2B, so I was moving the sample code into our development environment, which is where is doesn't work as it does in My copy of OpenEdge Classroom edition. Some...
  13. JoseKreif

    Answered Are Procedure Libraries Present In 10.2b?

    I've stumbled across a feature while learning some OpenEdge ABL 11.x. One thing I liked was something they refer to as "Procedure Libraries" You can have ProcLib.p . This procedure file will only have procedures in it. It will not have any code in the main block. Now you can have...
  14. JoseKreif

    Resolved Counting Value Occurrence In Returned Records

    Solve. I was close. Using break by I completed this if last-of(document-num) and first-of(document-num) then /* DO THIS */
  15. JoseKreif

    Resolved Counting Value Occurrence In Returned Records

    I'm writing a small program to automate a certain task. I have the user lookup records with certain detains and I populate a CSV spreadsheet with all possible values. The user has to look in this spread sheet for the odd value in on of the fields. I've taken two fields out of the bunch to...
  16. JoseKreif

    Piew - Free Progress Code Editor

    I love the software and use it almost daily for my job. However, I started noticing one thing I find irritating. That being the "search" function (ctrl+f). It doesn't seem to do a good job, making things like this impossible to find. Example ONE Search for: colidx[3] Found: 1 time(s) / 2...
  17. JoseKreif

    Question Replace Exact Words

    NEW CODE NEW CODE NEW CODE NEW CODE NEW CODE Okay, I actually enjoy programming, so I sat down and wrote a more compelte working procedure that should easily plug and play --------------------------- def var sent as char no-undo. sent = "Today I will go to Tony's Pizza-Ria to get some...
  18. JoseKreif

    Resolved Error Throw/catch

    Thanks. I'll add this PDF to my collection http://documentation.progress.com/output/OpenEdge102b/pdfs/dpspr/dpspr.pdf
  19. JoseKreif

    Resolved Error Throw/catch

    I talked to my manager. I get to present it to the team and implement it on Monday. I will setup our startup script so that we are only logging for the user who runs the program(s) in question, and using cron, I will purge the logs every night. I will just keep this up until we find...
  20. JoseKreif

    Resolved Error Throw/catch

    I figured /tmp/${USER}.log would work, and yes, not in the pf file, since that is basically plain text, not shell. Yes, I got a Development server to try it on. I'll see how It goes. Thank you This is the piece that gets our users into their main menu, I believe. $DLC/bin/mpro -D 100 -crc...
Back
Top