Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Understanding CursorAdapter methods
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01475311
Message ID:
01475360
Views:
20
>>>Thank you. I will try the same code. I tracked my problem to the fact that the command specified in the BeforeInsert never fires (I put some bogus field name but no error occurred). I even "bypassed" creating a SP and assigned value but still no luck. Puzzling ..
>>
>>
>>Maybe you didn't insert records? :-)
>>Maybe you just update the fields of the existing ones? :-)
>>(sorry, but today I speak with such person that I should ask these questions :-))
>
>I did insert a record since I see it in the cursor after TableUpdate(). And the values in the fields are what I enter them. But the problem is that no matter what I do in the BeforeInsert(), the action is not reflected on the cursor. And since BeforeInsert() fires (I have a messagebox there) it means that the Insert action is fired by CA.. Right?

Did you set AutoUpdate property of the CA as in Boris sample? E.g. compare all properties of CA with the sample.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform