Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transaction and Views.
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Transaction and Views.
Miscellaneous
Thread ID:
00328069
Message ID:
00328069
Views:
47
Hello friends,

Need a suggestion for a problem.

Iam working on a financial accounting package where the frontend is VFP and backend is Oracle.
Problem is :

I need to update few updatable views (Tables of Oracle) with the latest value while i perform a update in transaction. Now as im using
Begin Transaction and End Transaction the problem faced is that in case if other user update in oracle table in between the process of my transaction execution i get wrong values as a result. For eg.


a view field consiting of a value 1000 other users update to 1000+500
hence in table of oracle i get 1500 but my view in transaction has a value of 1000 which is wrong. Hence all my operation at this time on view is with old value.

Using Requery() can be a solution but not the best as it takes time and looses my record pointer which number of times creats problem.

Aashsih
--
--
Aashish Sharma
Tele Nos: +1-201-490-5405
Mobile: +91-9821053938
E-Mail:
aashish@aashishsharma.com
write2aashish@gmail.com

You better believe in yourself... if you don't, who else will ?
TODAY is a gift, that's why it's called PRESENT
Next
Reply
Map
View

Click here to load this message in the networking platform