Print Thread
refreshrecord allfields and union all
#8662 09/02/06 01:32 PM
Joined: Jul 2002
Posts: 71
R
Member
OP Offline
Member
R
Joined: Jul 2002
Posts: 71
the following situation:

the sql statement has 2 select statements combined wih a union all. Both sql statements have a where clause.

When using refreshoption allfields the sql is modified by putting brackets around the where clause. Unfortunatly the first bracket is after the where in the first sql and the second bracket is in the second sql statement. When executed it raises an oracle error ora-00907 missing right bracket. (to be expected)

Is there a workaround for this situation?

Re: refreshrecord allfields and union all
#8663 09/05/06 10:59 PM
Joined: Aug 1999
Posts: 22,279
Member
Offline
Member
Joined: Aug 1999
Posts: 22,279
This refresh option is currently not supported for unions and other aggregation functions. The only workaround is to create an explcicit OnApplyRecord event handler and process the refresh action.


Marco Kalter
Allround Automations

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.028s Queries: 13 (0.010s) Memory: 2.4962 MB (Peak: 3.0396 MB) Data Comp: Off Server Time: 2024-09-11 14:07:29 UTC
Valid HTML 5 and Valid CSS