Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help! View not updating table
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Help! View not updating table
Miscellaneous
Thread ID:
00367888
Message ID:
00367888
Views:
72
I have a view (lv_employee_u) based on employee table. The SEND SQL UPDATE box is check marked in my view. Here is the code I use to update:

r1 = cursorsetprop('sendupdates', .t.,'lv_employee_u')
for aa = 1 to l
if a__gen20[aa,1] <> .a__gen10[aa,1]
update lv_employee_u set lv_employee_u.e_cto = p ;
where lv_employee_u.e_id = r
yyy = tableupdate(.t.,.t.,'lv_employee_u')
endfor

the variable yyy returns a .t., yet my underlying table never update with new value. I have never been able to make this work, isn't it possible to update main tables through view???

thanks
nick patel
Next
Reply
Map
View

Click here to load this message in the networking platform