We have a program that updates SQL data through a remote view. Inside a PRG, the remote view is opened and then buffered
CURSORSETPROP("Buffering", 5, "formsview")
The correct record is found and then a field in that record is changed and then updated using…
TABLEUPDATE(0,.F.,'formsview')
The view itself is a straight query of SQL data with no filters or joins. I have double and triple checked the view definition and everything appears to be set up properly.
The problem is the update works inconsistently. Sometimes all works correctly, other times the update fails. I have been unable to pinpoint exactly why this is happening.
I have done the exact same change to the same record in the data and had it work sometimes and not work other times. So, I believe I have ruled out access or data validation issues.
Does anyone have any insight into this problem? Any help would be appreciated.
CURSORSETPROP("Buffering", 5, "formsview")
The correct record is found and then a field in that record is changed and then updated using…
TABLEUPDATE(0,.F.,'formsview')
The view itself is a straight query of SQL data with no filters or joins. I have double and triple checked the view definition and everything appears to be set up properly.
The problem is the update works inconsistently. Sometimes all works correctly, other times the update fails. I have been unable to pinpoint exactly why this is happening.
I have done the exact same change to the same record in the data and had it work sometimes and not work other times. So, I believe I have ruled out access or data validation issues.
Does anyone have any insight into this problem? Any help would be appreciated.