Search:

Type: Posts; User: matthewd

Page 1 of 43 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    1,731

    Re: Off Topic: Python

    Our (now unsupported) ActiveX control we use for working with PDFs was falling short in one area: customers were getting documents with crazy sizes like 38" x 50" and the ActiveX just couldn't deal...
  2. Replies
    15
    Views
    999

    Re: Code Conversion.

    The latest approach I use is to create a function that does the necessary calculations using the parameters passed and returns the result. Then I create a procedure assigned as the field_exit_msg...
  3. Replies
    7
    Views
    781

    Re: Chilkat sFTP driving me mad

    I compared to our code and it's similar to yours. It works... The only small difference is user/pw is stored in a database table, so we have TRIM functions around them when calling...
  4. Re: Execute procedure after ModalDialog is visible

    Deleted duplicate post.
  5. Re: Execute procedure after ModalDialog is visible

    +1 (Although I called my event OnDialogActivated)

    Also IIRC, CodeJock grids really prefer to be paged before you send InitializeData, so this is a good hook if you have a non-data aware CodeJock...
  6. Replies
    23
    Views
    4,062

    Re: Barcode Scanner

    Henri,

    I found a workaround for the HTTPS requirement for Chrome at least.

    https://stackoverflow.com/questions/34215937/getusermedia-not-supported-in-chrome/34216154#34216154

    It involves...
  7. Replies
    21
    Views
    2,222

    Re: Show_Dialog initial_folder

    Just a guess...

    Could it be a combination of Initial_Folder not handling a relative path like that and NoChangeDir_State being false (the default)?

    I set NoChangeDir_State to true always, I...
  8. Replies
    5
    Views
    729

    Re: Update & Backup - a complex version

    If I'm understanding your problem correctly, I think it's easier if you put the logic to handle this in procedure update.
    If all procedure backout does is subtract the time quantities from the...
  9. Replies
    21
    Views
    1,924

    Re: Why does this not work?

    Another idea: Subclass cJsonObject and add a StringToDataType function that does the ParseString/JsonToDataType. Then add a global singleton object based on this class so you can just do:


    Get...
  10. Thread: lose filters

    by matthewd
    Replies
    15
    Views
    2,129

    Re: lose filters

    It sounds like you want to both switch databases and set SQL filters, I do not see any reason why including code to do both would not work, modeling the code after the techniques in the DataFlex...
  11. Thread: lose filters

    by matthewd
    Replies
    15
    Views
    2,129

    Re: lose filters

    As Samuel noted, you don't need to send the event OnSessionPropertiesSet. I don't know if this will help, but this is how I've implemented it so far. The currently selected tenant is stored in the...
  12. Replies
    6
    Views
    996

    Re: DAW Please Read. This warrants a patch!

    Yeah, the example in the Round function documentation is broke:


    This code:

    Number nResult nMean
    Move 10 to nMean

    Move (3.14 * Round(nMean)) to nResult
    Showln nResult
  13. Re: pkg or class to measure tasks/methods execution times - where is it ?

    Perhaps this? I can't remember if I ever posted it and I can't find it myself on the forums.

    Usage:


    Send StartProcess to ghoPerfMon "Process 1"
    Send StartProcess to ghoPerfMon "sub process...
  14. Re: Problem with multi tenant/desktop style app

    Vincent,

    I figured out this morning by looking at Procedure RequestLogout in the cWebSessionManager code that the web app needs to be restarted when the user changes to a different tenant (which...
  15. Problem with multi tenant/desktop style app

    I'm working on building a set of classes to handle multitenant apps based largely on the Learning Center video. One goal is not having to write any code at all when a new multi tenant project is...
  16. Replies
    31
    Views
    3,260

    Re: Quick Array Append

    What about code where an index into the array is calculated? Would a -1 index still append? This would be a change in behavior that might not (!) be desirable.

    An error is triggered now,...
  17. Re: ACCESS_VIOLATION(0xc0000005) on one computer with DF18.1

    It seems like we had a crashing problem with File Open dialogs way back in the mists of time and I vaguely remember a connection to AV software.
  18. Re: Why Stack does not provide information under begin/end transaction ?

    Oh I agree it should, but if Data Access provides a solution it's going to be in the next release at best, more likely later than that.

    We have to deal with the reality of being 2-3 versions...
  19. Re: Why Stack does not provide information under begin/end transaction ?

    If you have a custom error handler, you can manually preserve the call stack in situations like this. It's not perfect because it doesn't give you the actual line number that the error occurred, but...
  20. Replies
    11
    Views
    2,081

    Re: SQLExecutor Question

    My guess would be it is not going to work as they are not string replacements. What will work is if you name each parameter differently and give them the same value

    You can see in the Studio if...
  21. Re: Struct generator duplicating columns for joins

    Ditto what Samuel said*. Another thing to take a look at is when columns are aliased, characters that aren't legal in DataFlex variable names may be used generating struct code that isn't going to...
  22. Replies
    1
    Views
    667

    Query Tester broke

    When selecting the Query Tester menu option today, I get the following message:
    Followed by a save as dialog titled "*.sql - Save Read Only File As". If I select a filename to save as, a new studio...
  23. Re: A question on Parameters in the new cSQLExecutor

    I found this explanation of prepared statements showing what going on behind the scenes:
    ...
  24. Replies
    8
    Views
    1,557

    Re: cSQLExecutor question

    One thing that might be nice to build into cSQLExecutor is an option (add a boolean property pbDisplayProgressPanel?) to display a generic progress panel (maybe let the programmer provide a label or...
  25. Replies
    18
    Views
    2,344

    Re: Output panel glitchy on first compiles

    In 20.1 the output window seemed "chopier" (less frequent repainting?) than 19.1 but never froze.

    Here's a video showing the same program side by side compiling 19.1/20.1/23: ...
Results 1 to 25 of 1071
Page 1 of 43 1 2 3 4