Print Thread
RefreshRecord on nomore-existent record
#52202 10/01/15 11:21 AM
Joined: Feb 2005
Posts: 49
A
Member
OP Offline
Member
A
Joined: Feb 2005
Posts: 49
Hi,
I'm trying to use RefreshRecord on a quite complex query that has several joins and a complex where section; so I've activate roAllField option.
It happens that when RefreshRecord is called, the current record doesn't match the 'where' condition anymore, infact OracleMonitor return 0 rows selected, correctly.
But nothing happens on the dataset that invoked the method, so that I can't understand if the record is still valid or not.
Is it this the right behavior?
I need to exclud a complete dataset refresh because of the heavy of the query.

Thanks

Re: RefreshRecord on nomore-existent record
Alberto Pilat #52204 10/02/15 09:37 AM
Joined: Aug 1999
Posts: 22,224
Member
Offline
Member
Joined: Aug 1999
Posts: 22,224
This is indeed the expected behavior. The record refresh function will not remove the record from the dataset.

Why does the record no longer match the where clause? If this is caused by an action in the application, then the application can perhaps actively remove the record.


Marco Kalter
Allround Automations
Re: RefreshRecord on nomore-existent record
Marco Kalter #52213 10/05/15 06:47 AM
Joined: Feb 2005
Posts: 49
A
Member
OP Offline
Member
A
Joined: Feb 2005
Posts: 49
Yes, you're right, in fact the needded was born because of web-application when records can be manipulated by others users.
But it's all right, I've found a workaround.
Thanks


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.110s Queries: 14 (0.069s) Memory: 2.5051 MB (Peak: 3.0428 MB) Data Comp: Off Server Time: 2024-05-25 19:00:51 UTC
Valid HTML 5 and Valid CSS