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...
Type: Posts; User: Evertjan Dondergoor
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...
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.
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....
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...
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...
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...
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...
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...
Unfortunately that is also not (always) true, sorry.
Maybe you are looking for this?
https://docs.dataaccess.com/dataflexhelp/mergedProjects/VDFClassRef/cWebView-Property-peChangedViewExitAction.htm
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...
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.
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.
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...
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...
I don't think there is a direct way to do that although you could simply 'Send focus of <oWhateverTheNextObjectIs>'
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...
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...
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?
...
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...
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...
Not out of the box, but of course stackoverflow might help: https://stackoverflow.com/questions/43930384
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...
https://www.dataaccess.eu/products/libxl/more-info-1585
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...