Re: UpdateStatus is not returning correct value




"Del Murray" <Del.Murray@xxxxxxxxxxxxxx> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ
ÓÌÅÄÕÀÝÅÅ: news:4762849e@xxxxxxxxxxxxxxxxxxxxxxxxx
Really ????

I've written litterally hundreds and hundreds of thousands of lines of
Delphi and *never* called it.
So you probably have a lot of code like that: if DataSet.State in (dsEdit,
dsInsert) then DataSet.Post; (which could be among the reasons why you had
to wright that much lines of code :-)). CheckBrowse mode does it for you
(and also ensures that all changes of dbawarecontrols are reflected in
dataset and post only in case if something has been changed in DataSet else
it is just cancel edit/insert mode). In general I find it very usefull.

I did notice that it works differently than simply calling "post" after
changing data in a tdbedit, it does not change the 'edit' mode to 'browse'
... I think.

I need to investigate this further .. as I said, the program worked fine
before without ever calling that function.
Then DataSet.Post used to be called for you in some other place.


.



Relevant Pages

  • Re: VISTA
    ... calling and absurd straw men do not expect to be taken seriously. ... failure - but you show no interest in some possible reasons. ... with a relatively tiny market share then your expectations and criteria ... Did Steve Jobs come and force a Macintosh down your throat? ...
    (comp.sys.mac.advocacy)
  • Re: Comedy on radio 4
    ... your own CLI (mine is permanently withheld, and I want it to stay so)? ... There are good confidentiality reasons for having our surgery number withheld, because you may well be calling someone about a situation the do not want other members of their family to know about. ... I don't goov it could ever be held to be the doctor's responsibility that a message didn't get through - if someone chooses to refuse all CLI-withheld calls, then I believe that they must accept all the consequences of that. ...
    (uk.rec.sheds)
  • Re: "as" keyword woes
    ... trollish post that's not relevant to the topic, ... response to trite but accurate answers to a question he could have ... especially since the actual reasons (some actually ... calling the guy a troll, now, would you? ...
    (comp.lang.python)
  • Re: OT Dead Falwell
    ... incapable of deciphering the reasons, but i have no desire to do so. ... quit calling each other names. ... counting the original post in each thread. ... Of course, if the majority ever wants the idiots, morons, cretins, ...
    (rec.outdoors.fishing.fly)
  • Re: Exception "Bad Application Handle" - why?
    ... With standard Delphi calling convention, ... 'register' convention does not cause access violations ... exceptions. ...
    (comp.lang.pascal.delphi.misc)