Search results

  1. jdpjamesp

    ODBC data sources in VBA using .ADP Access forms

    Hi @Ross55, this forum has nothing to do with Pervasive databases. I doubt anyone will be able to help.
  2. jdpjamesp

    Answered Query performance

    It does indeed work. Although I agree with @Stefan that the complication is bad.. FUNCTION MyFunc RETURNS INTEGER (): MESSAGE 111 VIEW-AS ALERT-BOX. RETURN 10. END FUNCTION. DEFINE VARIABLE i AS INTEGER NO-UNDO. DO i = myfunc () TO 1 BY -1: END.
  3. jdpjamesp

    App Server not starting

    Your appserver will have a broker and server log file. These are a good place to look for errors.
  4. jdpjamesp

    Answered Query performance

    In reality assigning the NUM-ENTRIES () to a variable probably makes very little difference, but Tom is correct, that one probably should. I'll leave the religious wars on keyword casing to others. As well as the variable naming conventions. I write my code based upon the conventions of the...
  5. jdpjamesp

    How long has this been wrong?

    o_O
  6. jdpjamesp

    Answered Query performance

    I was a bit busy earlier, but I have had time to write a more efficient solution for the Sports DB as an example: DEFINE VARIABLE cCountries AS CHARACTER NO-UNDO INITIAL "USA,Finland,France". DEFINE VARIABLE i AS INTEGER NO-UNDO. DEFINE VARIABLE cCurrentCountry AS...
  7. jdpjamesp

    Answered Query performance

    I agree the first will be better, and assigning the ENTRY() result to a variable will make a difference.
  8. jdpjamesp

    Answered Query performance

    Both options will almost certainly result in a whole index read of the Order table. Functions in query predicates are typically hard to resolve and so you end up with poor performance. You could use an OPEN QUERY or a Dynamic Query to solve the problem more efficiently.
  9. jdpjamesp

    Question GetDateFormatEx - how to access Windows constants?

    Well I never. My memory is failing. You're right of course, Tom.
  10. jdpjamesp

    Question GetDateFormatEx - how to access Windows constants?

    You will have to create a constants library yourself. In your version the best way will be an include file I guess. In a modern version you could encapsulate them in an object.
  11. jdpjamesp

    Progress Talk and Progress ID

    Not being able to post the link is a bit annoying, yes. I've liked your post and if you get enough likes it should allow you to post them in future. I presume you clicked a link on one of the external resources feed posts? Those link out to the Progress Community pages. No harm having your...
  12. jdpjamesp

    What is the FASTEST Computer Language? 45 Languages Tested!

    Yeah... be pretty easy to make a program to calculate primes slowly...
  13. jdpjamesp

    Question Lock wait timeout of 1800 seconds expired (8812)

    I think the question is more "Is the ABL locking because the SQL is blocking it? And how can I identify this?"
  14. jdpjamesp

    Returning to the called program

    Try APPLY "CLOSE" TO THIS-PROCEDURE.
  15. jdpjamesp

    Question Allowing blank user connections while allowing SQL connections

    Are you who I think you are? Nice to "see" you if so. :) Could you post the exact error you're getting in ODBC please? Sometimes the errors here can be useful in pinpointing the issue. Did you set up a broker to accept SQL connections? The recommendation is to add a secondary broker for SQL...
  16. jdpjamesp

    External DLL 32bit vs 64bit

    It's referred to hear in the community: https://community.progress.com/s/question/0D74Q000007xf6uSAA/detail
  17. jdpjamesp

    programmable virtual keyboard development

    You can't. Not with a standard alert box. You could code a custom .net MessageForm with your desired dimensions - we use those because you can expand them to include a lot of information that an Alert Box doesn't.
  18. jdpjamesp

    External DLL 32bit vs 64bit

    Which OE12 version specifically? OE12.2.5 has, I believe, had the 32bit AppBuilder re-inserted. All other OE12 versions only have 64 bit AppBuilder.
Back
Top