Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update View, Help me!
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Update View, Help me!
Miscellaneous
Thread ID:
00362018
Message ID:
00362018
Views:
51
Hi all,
I tried this coding to update a field on my view:
***
scan
if lookup(view1.field1, thisform.txtText1.value,;
view1.field1) = thisform.txtText1.value
replace view1.field2 with thisform.txtText2.value
endif
endscan
***
The problem I have is only 1 record(on the view) got updated. I would like to update all records on the view that match the condition I gave(= thisform.txtText1.value). I don't know how to have this coding inside a loop so it could be executed as many times as there are records in the view.
Please help me, any ideas, suggestions or advice would be great help!
Thanks.
Thanya.
Next
Reply
Map
View

Click here to load this message in the networking platform