Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Value is not written to the the field in the table
Message
From
17/10/2001 09:58:44
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
Value is not written to the the field in the table
Miscellaneous
Thread ID:
00569542
Message ID:
00569542
Views:
55
VFP 6
CodeMine 6.1.19


Let me first state this. Before adding this field everything was allright.

I added a field (CheckSum) so that the checksum for the field can be calculated.

I use a view in the Data Environment of that form.

Updateable is set for that field in the view.



I added that code in BeforeUpdate method of cmDataManager of that form

m.oAuth = CreateObject("cmAuthentication")
select lv_NameOfTheView
replace CheckSum with m.oAuth.AuthenticateRecord("CheckSumString","CheckSum")
return .t.

I put a set step on before the return .t. and looked at the content of the view. All the data is there with the checksum.

The weird thing is that only the checksum is not written to the table.


I know that modifying a table can cause problem with a view that was associated to that table. So I created the prg for that view. Deleted the view and recreated the view from the prg.

That step did'nt help at all ;-(


Can you figure out what's wrong?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Next
Reply
Map
View

Click here to load this message in the networking platform