Search:

Type: Posts; User: Evertjan Dondergoor

Page 1 of 76 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    27
    Views
    2,825

    Re: Reread sometimes errors out

    There is no keeping track. If the source-code rereads the same record 5 times, that record will be reread 5 times. You could make something yourself, but you are probably better off to clean up the...
  2. Replies
    27
    Views
    2,825

    Re: Reread sometimes errors out

    True, things like this can happen. I always try to keep the first find outside of the transaction block, but it is not always possible or feasible.
  3. Replies
    27
    Views
    2,825

    Re: Reread sometimes errors out

    That question does not make any sense. A reread is a lock + find and the find-part will trigger a SELECT. There is no 'why', that is just what a find does. Consider the following code



    // A....
  4. Replies
    7
    Views
    1,318

    Re: Save Confirmation

    I tried this code in the WebOrder sample. Indeed it does not really cancel, but you can go back to showing the same view. Generally you would use the ShowYesNoCancel and only for Cancel throw the...
  5. Replies
    7
    Views
    1,318

    Re: Save Confirmation

    Hello Sam,

    You could be right about that. I almost exclusively use the drilldown style and for a quick post like this I often forget that is not the only style.

    It is somewhat surprising that...
  6. Replies
    27
    Views
    2,825

    Re: Reread sometimes errors out

    Maybe PostgreSql works a bit different from MS-SQL though in this regard, but that is not how I understand it works. A begin_transaction/lock, by itself does not lock anything. It 'only' affects the...
  7. Re: DF SQL Drivers mixing DF20x and DF3.2 programs

    Even if this is not a recommended setup, as long as you don't actually store unicode in the database, it will probably just work. To be able to really use unicode, in SQL you need to change the...
  8. Re: cWebColumn change color from OnBlur procedure of another object

    Thanks, I see.
    For setting CSS on the current row and/or based on data you'd use OnDefineCssClass. Changing it dynamically based on navigation: I'm sure I have it done somewhere, but a quick test I...
  9. Re: cWebColumn change color from OnBlur procedure of another object

    Unfortunately that is also not (always) true, sorry.
  10. Replies
    7
    Views
    1,318

    Re: Save Confirmation

    Maybe you are looking for this?
    https://docs.dataaccess.com/dataflexhelp/mergedProjects/VDFClassRef/cWebView-Property-peChangedViewExitAction.htm
  11. Re: cWebColumn change color from OnBlur procedure of another object

    I try to avoid the use of too many focus-events - which is what onchange basically is. It means with every little navigation change you go back to the server. You cannot do it on the onchange-event...
  12. Re: cWebColumn change color from OnBlur procedure of another object

    That is difficult to say form the screenshots. The code I posted should just work, but CSS does have a hierarchie and maybe it did get overruled. Caching is also often an issues.
  13. Re: cWebColumn change color from OnBlur procedure of another object

    The example is in the post. You override the CSS in your code though. Something like
    #OWEBAPP td.blue{ background: blue; } should work. Or indeed, use background-color.
  14. Re: cWebColumn change color from OnBlur procedure of another object

    It is not very common in a webapp to use onblur a lot, but you can do it. In the Onblur of 'the other object', put something like [Webset psCssClass of oColumnObject to 'red-column']. In the...
  15. Replies
    9
    Views
    1,266

    Re: SPLF - More information please

    There are some video's about SPLF if you like that. https://learning.dataaccess.com/ and type SPLF in hte search form.

    I most say though, that if you expect the database to be the bottleneck, SPLF...
  16. Re: Equivalent of Procedure Next in a webapp

    I don't think there is a direct way to do that although you could simply 'Send focus of <oWhateverTheNextObjectIs>'
  17. Re: psBackgroundColor in a cWebColumn !?

    It probably has only been implemented for the objects that are somewhat straightforward. A cWebButton or a cWebForm in Dataflex both have a matching element in HTML, which you can use to set the...
  18. Replies
    27
    Views
    2,825

    Re: Reread sometimes errors out

    Using a reread without parameters is not something you should do lightly, up to a point where I'd say, just don't do it at all. The reread will do a find of all tables with a record in the buffer. I...
  19. Re: cWebColumnCombo need display field value instead of the description by DescriptionValidationTable

    I guess you could augment AddComboItem as below, although of course you could also ask the question why use a DescriptionValueTable if you do not actually want the description?


    ...
  20. Replies
    69
    Views
    7,542

    Re: ChatGPT by openai and DataFlex

    Nice. So in the past people did math by hand. Once calculators were invented students were thought to use those. Nowadays all difficult math is being done with computers and I do not know how...
  21. Replies
    69
    Views
    7,542

    Re: ChatGPT by openai and DataFlex

    Really? Saw a podcast the other day where a professor (I think from MIT) mentioned they had their first meeting on how to make sure it was actually the students who wrote their essays and not a...
  22. Re: cWebForm: effect of typing a numerical quantity from right to left (as in POS applications)

    Not out of the box, but of course stackoverflow might help: https://stackoverflow.com/questions/43930384
  23. Replies
    4
    Views
    1,363

    Re: LibXL for Dataflex 20.1

    Ah, I didn't notice the lack of download button. Apparently you get sent a link after purchasing. I just sent you this link using the forums. If that doesn't work then contact me, or probably it is...
  24. Replies
    4
    Views
    1,363

    Re: LibXL for Dataflex 20.1

    https://www.dataaccess.eu/products/libxl/more-info-1585
  25. Replies
    2
    Views
    808

    Re: Width of ShowInfoBox

    There doesn't come an obvious way to my mind. You could fiddle around with css and use white-space: nowrap and min-width: fit-content, but when I tried I got scrollbars all over the place. Maybe you...
Results 1 to 25 of 1896
Page 1 of 76 1 2 3 4