Search:

Type: Posts; User: Mike Peat

Page 1 of 48 1 2 3 4

Search: Search took 0.02 seconds; generated 31 minute(s) ago.

  1. Thread: Null- json

    by Mike Peat
    Replies
    14
    Views
    271

    Re: Null- json

    Edgar

    I just tried using the sample I posted above in 19.0.

    The only change I made was getting rid of the { Name= } meta-tags (which were only introduced in 19.1) and making "object" and...
  2. Replies
    5
    Views
    209

    Re: Printing and Downloading files

    Thanks Matt

    I'm digging into their code now to see how they do it. :)

    I'm not trying to bypass the printer dialog - I need that!

    Mike
  3. Thread: Null- json

    by Mike Peat
    Replies
    14
    Views
    271

    Re: Null- json

    :)
  4. Replies
    5
    Views
    209

    Re: Printing and Downloading files

    Thanks Alberto, but I knew about those - and registering the folders.

    I have a nasty bodge working for printing: I open a new window (JavaScript Window.open()) with the appropriate URL (from that...
  5. Thread: Null- json

    by Mike Peat
    Replies
    14
    Views
    271

    Re: Null- json

    Edgar

    Well, if you are stuck with 19.0, at least do this:



    Read_Block channel iChn ucaData -1 // No limit on the size of this (except computer memory)

    //...
  6. Thread: Null- json

    by Mike Peat
    Replies
    14
    Views
    271

    Re: Null- json

    Edgar

    If you are in DF 19.1, how about this instead:


    // The file "MyData.json" - yours will be more complicated, but just for the test:
    {
    "object": "Stuff in 'object'",
    "address":...
  7. Replies
    5
    Views
    209

    Printing and Downloading files

    What is the best/recommended way, from a web app, of programatically:

    printing a file to a local printer?
    downloading a file to a local drive?


    Although I say "programatically", there will...
  8. Thread: Null- json

    by Mike Peat
    Replies
    14
    Views
    271

    Re: Null- json

    Wil

    Harm's code allows you to chose what to remove - empty strings and/or zero numbers and/or null values:


    Procedure RemoveEmptyMembers Handle hoJsonObj Boolean bEmptyString Boolean...
  9. Thread: Null- json

    by Mike Peat
    Replies
    14
    Views
    271

    Re: Null- json

    Edgar

    Two options:

    Pre-Process the JSON object (after loading the data, but before moving to a struct) to remove any nulls (somewhere here Harm posted code to do it with a recursive function)...
  10. Replies
    5
    Views
    180

    Re: Rounding functions?

    Guy

    Look in the help: https://docs.dataaccess.com/dataflexhelp/#t=mergedProjects%2FLanguageReference%2FMath_Functions.htm&rhsearch=round&rhsyns=%20. Round: yes; Trunc: no (but not very hard to...
  11. Re: Recommended application pool set up for DataFlex web apps

    Thanks Harm - that was what I had guessed.

    Mike
  12. Replies
    14
    Views
    282

    Re: Radio labels disappearing

    The old fella gets confused sometimes... it's an endearing quirk, not an actual bug. ;)

    Mike
  13. Recommended application pool set up for DataFlex web apps

    Does anyone have a recommendation as to how Application Pools should best be set up for DataFlex Web Apps?

    .NET CLR version:

    .NET CLR Version v4.0.30319
    .NET CLR Version v2.0.50727
    No...
  14. Replies
    14
    Views
    282

    Re: Radio labels disappearing

    Sture

    { WebProperty=Client }? You sure? This is Windows code.

    Mike
  15. Replies
    3
    Views
    197

    Re: Installing DataFlex Reports 7.0.1

    Vincent

    Worked OK installing 19.1 on Win7 for me.

    Mike
  16. Thread: Web SpinForm

    by Mike Peat
    Replies
    3
    Views
    162

    Re: Web SpinForm

    Hmm... kinda see what you mean by "probably to simplistic for real world usage" - not quite ready for prime-time... but it is a place to start! :)

    Thanks again.

    Mike
  17. Re: ClientWebServices: Support for understanding MTOM server-responses (feature request)

    Patrick

    I have dealt with doing this kind of thing (for appropriate values of "kind of thing" <g> - it was ebXML, which uses the long-abandoned SOAP-with-attachments - SwA - approach, which is...
  18. Thread: Web SpinForm

    by Mike Peat
    Replies
    3
    Views
    162

    Re: Web SpinForm

    Thanks Harm

    Mike
  19. Replies
    3
    Views
    526

    Re: Google is restricting its APIs

    Yup. :(

    This is most probably a response to things like the Cambridge Analytica abuses using Facebook data and the general GDPR kerfuffle, however a less charitable take might see it as something...
  20. Replies
    2
    Views
    128

    Re: Sending files to WebApp

    ...something besides a String: UChar[].

    But it might be a server-side issue: Check out things like Maximum Requesting Entity Body Limit: 200000 bytes by default.

    Mike
  21. Replies
    45
    Views
    1,561

    Re: Export to PDF issue

    See https://www.dataflex.wiki/index.php/RESTful_Service_Theory#PUT

    (Sorry, just couldn't help myself! ;))

    Mike
  22. Thread: Web SpinForm

    by Mike Peat
    Replies
    3
    Views
    162

    Web SpinForm

    Hi

    Does anybody have a cWebSpinForm class I can steal?

    Also, a cWebSplitButton would be nice.

    Mike
  23. Replies
    16
    Views
    554

    Re: Language Request : Multiline strings.

    Didn't know that! I don't use the DF Studio to edit SQL files, or I would have realised (I generally either edit them in the SQL Studio, or Notepad++).

    Would be cool if they would do it for code...
  24. Replies
    15
    Views
    421

    Re: WebApp designer not working

    However, the following appeared in the project Output:
    13074

    Mike
  25. Replies
    15
    Views
    421

    Re: WebApp designer not working

    Stephen

    Good thought - it works OK with WebOrder, although I got the following when exiting (permissions, presumably):
    13073

    Returning to the project Studio instance, and creating yet another...
Results 1 to 25 of 1195
Page 1 of 48 1 2 3 4