Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Son of Accused of Violations I'm not committing
Message
De
31/03/2005 14:28:34
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
31/03/2005 05:22:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00998499
Message ID:
01000430
Vues:
18
>>.txtRoute.Value = this.value
>>
>>That's where you changed a value in one of the tables. You may not think it merits a name of transaction, but nevertheless you've made your buffer dirty. And as soon as the record number in that table changes, with row buffering there's the automatic tableupdate. A transaction happening behind your back... makes you wish for aGremlinInfo(), eh?
>
>Hey, Dragan
>
>
>I can appreciate that the above line would change a value in the Route table - granted, but, as I said, there is no table buffering, either at the form or the table level. So how would a Tableupdate() be issued implicitly? Yes, aGremlinInfo() would be a useful tool :-)

Then it's updating the table as soon as it hits the next refresh or whatever - you may try this with a watch on that field in route (or whatever's the controlsource of .txtRoute), and since it's a primary key - you get what you get. I really don't know the event firing sequence here, but since txtRoute is a bound control, at some point its controlsource must have been getting updated, and that's when the RI kicked in. With no buffering it should happen as soon as this update happens; with buffering it would happen on tableupdate().

IOW, RI is triggered when you write to a table. Since you had a programmatic change to the value of a (primary key-) bound textbox, it would be interesting to find out the event firing sequence, until we find the point where the textbox wrote its value into its controlsource.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform