Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorAdapter question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01204556
Message ID:
01204850
Vues:
20
Ok, so I put something back in the UpdateCmd property and when I stop in BeforeUpdate, the cUpdateInsertCmd parameter is still empty. Here's what I have in UpdateCmd:
update payment set [pay status] = PaymentsCursor.pay_status where payment.payid = PaymentsCursor.payid
>Did you remove your UpdateCmd property setting that you had added?
>
>BTW, in the code Naomi posted, you have UseCursorSchema = .F. but it normally should be .T. unless you are adding the flag on the CursorFill() command that says to use CursorSchema.
>
>>You think? <g> I thought so, too, but at present I'm not sure why it won't build the update command (which is what it would seem to be failing to do). It did make me build the JOIN condition myself, but would its inability to handle that also mean it couldn't handle building the update command? Any ideas?
>>
>>>You mean that when you Tableupdate() and stop processing in the BeforeUpdate method in your CA subclass, the incoming parameter cUpdateInsertCmd is empty at that point? That would certainly be a problem. :-)
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform