Cannot use "declare function" in XMLQuery statement
Hi All,
I'm using Oracle 11g. In a SQL*Plus terminal, if I enter, say:
select XMLQUERY('
1
passing (XMLTYPE('<dummy />')) returning content) from dual;
I get, as expected, "1" as an answer. Now, if instead I enter the following code:
select XMLQUERY('
declare function local:one($arg) {
1
local:one(.)
passing (XMLTYPE('<dummy />')) returning content) from dual;
I get, instead:
ERROR: ORA-01756: quoted string not properly terminated
By entering the statement line by line, I see that the error is raised when reaching the "};". I'm sure this XQuery statement is correct (I've validated it in OxygenXML). What am I doing wrongly?
Thanks for your help!
add (: :) after };
semicolon is the sql terminator.
Similar Messages
-
Using java function in select statement
Hi,
I am trying to use java function in select statement.
public class ClassA{
private static String MyConst = "foo";
public static String functionA(){
return MyConst;
in my query I have:
select
ClassA.functionA() AS id,
groupId AS newID,
from
myChannel[now]
ClassA is part of the application (no need to import).
I get and error of Invalid Expression on ClassA.functionA().
I also tried to declare the function in the processor element:
<wlevs:processor id="proc">
<wlevs:function function-name="A" exec-methode="functionA">
<bean class="mtPackage.ClassA"/>
</wlevs:function>
<wlevs:processor>
but then I get a different error in the processor XML file: "An InvocationTargetException was encoutered while attemting to register the user defind function A. The message was null"
What am I missing here?Hi,
From the above description, you have tried two manners to call method functionA() in the user defined class ClassA. One uses java cartridge manner directly and the other try to use user defined function manner.
For the java cartridge manner, the following CQL query should work if the ClassA is really included in the OEP app. I have done similar test before, it works.
select
ClassA.functionA() AS id,
groupId AS newID,
from
myChannel[now]
For user defined function manner, I think two things you need to change:
1. Need to declare the function in the EPN assembly file(under META-INF/spring/), not component configuration file(under META-INF/wlevs/). The following is an example:
<wlevs:processor id="proc">
<wlevs:function function-name="A" exec-methode="functionA">
<bean class="mtPackage.ClassA"/>
</wlevs:function>
</wlevs:processor>
2. Call the user defined function in the CQL query in the component configuration file under processor. For example:
select A() from myChannel
Regards,
XiYing -
Problem in using aggregate functions inside case statement
Hi All,
I am facing problem while using aggregate functions inside case statement.
CASE WHEN PSTYPE='S' THEN MAX(DECODE(POS.PBS,1,ABS(POS.PPRTQ),0)) ELSE SUM(DECODE(POS.PBS,1,ABS(POS.PPRTQ),0)) END,
how can I achieve above requirement ? Con anyone help me.
Thanks and Regards
DGHi All,
Below is my query:
SELECT
CASE WHEN p_reportid IN ('POS_RV_SN','POS_PB') THEN POS.PACCT
ELSE POS.PACCT || '-' || DECODE(POS.SYSTEMCODE,'GMI1','1', 'GMI2','2', 'GMI3','4', 'GMI4','3', '0') ||POS.PFIRM|| NVL(POS.POFFIC,'000') END,
CASE WHEN p_reportid IN ('POS_RV_SN','POS_PB') THEN POS.PACCT||POS.PCUSIP||DECODE(POS.PBS,1,'+',2,'-')
ELSE POS.PFIRM||POS.POFFIC||POS.PACCT||POS.PCUSIP||DECODE(POS.PBS,1,'+',2,'-') END,POS.SYSTEMCODE,CASE WHEN POS.PSTYPE='S' THEN POS.PSYMBL ELSE POS.PFC END,POS.PEXCH||DECODE(POS.PSUBEX,'<NULL>',''),
POS.PCURSY,
CASE WHEN POS.PSBCUS IS NULL THEN SUBSTR(POS.PCTYM,5,2) || SUBSTR(POS.PCTYM,1,4) ELSE POS.PSBCUS || SUBSTR(POS.PCTYM,5,2) || SUBSTR(POS.PCTYM,1,4) END ,
NVL(POS.PSUBTY,'F') ,POS.PSTRIK,*SUM(DECODE(POS.PBS,1,ABS(POS.PPRTQ),0)) ,SUM(DECODE(POS.PBS,2,ABS(POS.PPRTQ),0))* ,
POS.PCLOSE,SUM(POS.PMKVAL) ,
TO_CHAR(CASE WHEN INSTR(POS.PUNDCP,'.') > 0 OR LENGTH(POS.PUNDCP) < 15 THEN POS.PUNDCP ELSE TO_CHAR(TO_NUMBER(POS.PUNDCP) / 100000000) END),
POS.UBS_ID,POS.BBG_EXCHANGE_CODE,POS.BBG_TICKER ,POS.BBG_YELLOW_KEY,POS.PPCNTY,POS.PMULTF,TO_CHAR(POS.BUSINESS_DATE,'YYYYMMDD'),
POS.SOURCE_GMI_LIB,
--DECODE(POS.SYSTEMCODE,'GMI1','euro','GMI2','namr','GMI3','aust','GMI4','asia','POWERBASE','aust','SINACOR','namr',POS.SYSTEMCODE),
DECODE(p_reportid,'RVPOS_SING','euro','RVPOS_AUSTDOM','aust','RVPOS_AUSTEOD','euro','RVPOS_GLBLAPAC','asia','POS_RV_SN','namr','POS_PB','aust',POS.SYSTEMCODE),
POS.RIC,
CASE WHEN PSUBTY = 'S' THEN POS.TYPE ELSE NULL END,
DECODE(POS.UBS_ID,NULL,POS.PCUSP2,POS.ISIN),POS.UNDERLYING_BBG_TICKER,POS.UNDERLYING_BBG_EXCHANGE,POS.PRODUCT_CLASSIFICATION,
CASE WHEN PSUBTY = 'S' THEN POS.PSDSC2 ELSE NULL END,
CASE WHEN PSUBTY = 'S' THEN C.SSDSC3 ELSE NULL END,
NVL(C.SSECID,POS.PCUSIP),
NULL,
POS.PYSTMV,
POS.PMINIT,
POS.PEXPDT,
CASE WHEN POS.PSUBTY='S' THEN SUBSTR(C.ZDATA2,77,1) ELSE NULL END,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL
FROM POSITIONS_WRK POS LEFT OUTER JOIN
(SELECT * FROM CDS_PRODUCTS CP INNER JOIN FUTURE_MASTER FM ON
(CP.STRXCH=FM.ZEXCH AND CP.SFC=FM.ZFC AND CP.BUSINESS_DATE = FM.BUSINESS_DATE )) C ON POS.PCUSIP = C.SCUSIP
AND NVL(POS.PCUSP2,'X') = NVL(C.SCUSP2,'X')
WHERE
POS.PEXCH NOT IN ('A1','A2','A3','B1','B3','C2','D1','H1','K1','L1','M1','M3','P1','S1')
AND (POS.PSBCUS IS NOT NULL OR POS.PCTYM IS NOT NULL OR POS.PSTYPE ='S')
AND POS.BUSINESS_DATE = run_date_char
GROUP BY
POS.UBS_ID,POS.SYSTEMCODE,POS.RECIPIENTCODE,POS.BUSINESS_DATE,POS.PACCT,POS.PFIRM,POS.POFFIC,POS.PCUSIP,POS.PBS,CASE WHEN POS.PSTYPE='S' THEN POS.PSYMBL ELSE POS.PFC END,
POS.PEXCH,POS.PSUBEX,POS.PCURSY,
CASE WHEN POS.PSBCUS IS NULL THEN SUBSTR(POS.PCTYM,5,2) || SUBSTR(POS.PCTYM,1,4) ELSE POS.PSBCUS || SUBSTR(POS.PCTYM,5,2) || SUBSTR(POS.PCTYM,1,4) END,
NVL(POS.PSUBTY,'F') ,POS.PSTRIK,POS.PCLOSE,TO_CHAR(CASE WHEN INSTR(POS.PUNDCP,'.') > 0 OR LENGTH(POS.PUNDCP) < 15 THEN POS.PUNDCP ELSE TO_CHAR(TO_NUMBER(POS.PUNDCP) / 100000000) END),
POS.BBG_EXCHANGE_CODE,POS.BBG_TICKER,POS.BBG_YELLOW_KEY,POS.PPCNTY,POS.PMULTF,POS.PSUBTY,POS.SOURCE_GMI_LIB,RIC,
CASE WHEN PSUBTY = 'S' THEN POS.TYPE ELSE NULL END,
DECODE(POS.UBS_ID,NULL,POS.PCUSP2,POS.ISIN),POS.UNDERLYING_BBG_TICKER,POS.UNDERLYING_BBG_EXCHANGE,POS.PRODUCT_CLASSIFICATION,
CASE WHEN PSUBTY = 'S' THEN POS.PSDSC2 ELSE NULL END,
CASE WHEN PSUBTY = 'S' THEN C.SSDSC3 ELSE NULL END,
NVL(C.SSECID,POS.PCUSIP),
POS.PYSTMV,
POS.PMINIT,
POS.PEXPDT,
CASE WHEN PSUBTY = 'S' THEN SUBSTR(C.ZDATA2,77,1) ELSE NULL END;Now, could you plz help me in replacing the bold text in the query with the requirement.
Thanks and Rgds
DG
Edited by: BluShadow on 16-May-2011 09:39
added {noformat}{noformat} tags. Please read: {message:id=9360002} for details on how to post code/data -
Why I cannot use search function in my apple store? I use Ipad 3 and it is the latest software
Why I cannot use search function in the apple store on my ipad?
Nobody here could possibly answer your question as presented. Have you tried any troubleshooting steps at all?
Quit the app store completely and reboot the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar.
Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
If that doesn't work ... A few more details from you might help you get your problem resolved. -
Suddently I cannot use the functions of my magic mouse
Suddently I cannot use the functions of my magic mouse (scroll, etc). I have a iMac user Yosemite. Thanks for the support.
<Re-Titled By Host>Hi PietralataKK,
I understand your mouse was working fine but now you have lost the multitouch features of the mouse. You don't mention if you can click or move the cursor with it.
For this please start with this article to troubleshoot,
Desktop computers: Troubleshooting wireless keyboard and mouse issues in Mac OS X v10.5 - Apple Support
Then for the "trackpad" functionality check out,
Trackpad or Magic Trackpad is jumpy or erratic - Apple Support
Yes, it talks about Magic Trackpad, but the top of the Magic Mouse is like that.
Thank you for visiting Apple Support Communities.
Nubz -
Using cursor function in sql statement
hi all
can anyone plss explain why and when we will use cursor function in a sql statement like this and what is the difference while executing this sql statement with cursor function in comparison of a simple sql statement----
select
department_name,
cursor (
select last_name
from employees e
where e.department_id = d.department_id
order by last_name
) the_employees
from departments d
thnx in advanceRTFM
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/sqloperations.htm#sthref1452
Cheers
Sarma. -
Cannot use QuickTime functions in a plain C++ application
Hi,
Im new to QuickTime.Now i need to use quicktime7.1 SDK functionalities in my plain C++ application.Hence I started with a plain C++ application just to check whether i can access the quick time functions there.Im currently using Dev-cpp IDE for developing my application.
Given the sample code.
#include<iostream>
#include<conio.h>
#include<QuickTime.h>
using namespace std;
main()
int ver=0;
ver=quicktime_major(void);
cout<<"VERSION"<<ver;
getch();
The given program uses the quicktime function quicktime__major to get the version information.The function returns an integer value,which is the version of the quicktime installed.The function is declared with in the header quicktime.h.Hence i added the header file.
On Compiling,I am getting some errors in the main function as listed :-
main.cpp: In function `int main()':
main.cpp:9: error: expected primary-expression before "void"
main.cpp:9: error: `quicktime_major' undeclared (first use this function)
main.cpp:9: error: (Each undeclared identifier is reported only once for each function it appears in.)make.exe: * [main.o]
Error 1Execution terminated
I am getting so many other errors in the quicktime header files which i am not able to get resolved.Some sample errors are listed below.
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:145: error: conflicting declaration 'kATSULineWidthTag'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:145: error: 'kATSULineWidthTag' has a previous declaration as
`<anonymous enum> kATSULineWidthTag'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:145: error: declaration of `kATSULineWidthTag'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:145: error: conflicts with previous declaration `<anonymous enum>
kATSULineWidthTag'
[this same error is repeating for all the enum members in the header file ATSUnicode.h ]
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h: In function `OSStatus (* NewATSQuadraticLineUPP(OSStatus (*)(const
Float32Point*, const Float32Point*, void*)))(const Float32Point*, const Float32Point*, void*)':
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2523: error: redefinition of `OSStatus (*
NewATSQuadraticLineUPP(OSStatus (*)(const Float32Point*, const Float32Point*, void*)))(const Float32Point*, const
Float32Point*, void*)'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2523: error: `OSStatus (* NewATSQuadraticLineUPP(OSStatus (*)(const
Float32Point*, const Float32Point*, void*)))(const Float32Point*, const Float32Point*, void*)' previously defined here
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h: In function `OSStatus (* NewATSQuadraticCurveUPP(OSStatus (*)(const
Float32Point*, const Float32Point*, const Float32Point*, void*)))(const Float32Point*, const Float32Point*, const
Float32Point*, void*)':
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2542: error: redefinition of `OSStatus (*
NewATSQuadraticCurveUPP(OSStatus (*)(const Float32Point*, const Float32Point*, const Float32Point*, void*)))(const
Float32Point*, const Float32Point*, const Float32Point*, void*)'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2542: error: `OSStatus (* NewATSQuadraticCurveUPP(OSStatus (*)(const
Float32Point*, const Float32Point*, const Float32Point*, void*)))(const Float32Point*, const Float32Point*, const
Float32Point*, void*)' previously defined here
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2561: error: redefinition of `OSStatus (*
NewATSQuadraticNewPathUPP(OSStatus ()(void*)))(void)'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2561: error: `OSStatus (* NewATSQuadraticNewPathUPP(OSStatus
()(void*)))(void)' previously defined here
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h: At global scope:C:/Program Files/QuickTime
SDK/CIncludes/ATSUnicode.h:2578: error: conflicting declaration 'uppATSQuadraticClosePathProcInfo'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2578: error: 'uppATSQuadraticClosePathProcInfo' has a previous
declaration as `<anonymous enum> uppATSQuadraticClosePathProcInfo'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2578: error: declaration of `uppATSQuadraticClosePathProcInfo'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2578: error: conflicts with previous declaration `<anonymous enum>
uppATSQuadraticClosePathProcInfo'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h: In function `OSStatus (* NewATSQuadraticClosePathUPP(OSStatus
()(void*)))(void)':
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2580: error: redefinition of `OSStatus (*
NewATSQuadraticClosePathUPP(OSStatus ()(void*)))(void)'
Can anyone help me to resolve the above issues?
Thanks in advance,
SansAntoine;
There is a good KnowledgeBase at NI home page talking about that issue.
If you go to www.ni.com and type +ni-daq +run +borland at the search engine of the page, the second result is the link to the KB I'm referring to.
Hope this helps.
Filipe -
How to use Substring function with Case statement.
Hello Everyone,
I have one requirement where I have to use substring function on the field for report criteria.
E.G.
I have Branch Name Field where I have all branch names information, Now some of the branch names are too big with some extension after the name .
now i want to substing it but the character length varies for each branch.
so is there any way where we can use case statement where we can define that if branch name character are exceeding some value then substing it with this length.Try something like this:
CASE WHEN LENGTH(tablename.Branch_Name) > n THEN SUBSTRING(...) ELSE tablename.Branch_Name END
where n is the number of characters you want to start the break. -
Cannot Use Rollover Functions With Templates
I'm surprised that you do not hear anything about this, but
if you create a template in Dreamweaver 8, your buttons will work
but you cannot use rollover effects. That stinks! Does anyone know
of a hack, plug in, etc. to get around this bug? It seems like i
always find the bugs for some reason.
Thanks for any help.They have always worked in every version from DW2 through the
current CS3,
which is what I am using.
Show me a child page where they are not working, please, by
posting a link
to one.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"dsmflash" <[email protected]> wrote in
message
news:fakq86$6a$[email protected]..
> Well, something must be up with my version of Dream 8
because mine do not
> work
> and I have created my temps to the letter. So what
version of Dream are
> you
> using and how do you get rollovers to work? How can a
rollover effect
> work
> when the template is locked?
> -
Using TRIM function in select statement
Hi All,
I'm using the TRIM function in my select statement to eliminate the white spaces.
But while using in select the TRIM function is not working in SQL*PLUS client(The query returns the white spaces also)
Kindly provide some pointers regarding the issue.........
I want to get only the data without the spaces in select statement
Regards,
MohanHi, Mohan,
SQL*Plus always pads columns to make them line up nicely.
If you have a column declared as VARCHAR2 (20), then SQL*Plus will normally display 20 characters for that column, even in the maximum actual length is, say, 5 (or even if the column always happens to be NULL).
If you want the output to include only the actual data, without the padding that SQL*Plus adds, then concatenate all the columns into one big string column.
People often do something like the following to generate a CSV file, with no exta spaces:
SELECT TO_CHAR (empno)
|| ',' || ename
|| ',' || job
|| ',' || TO_CHAR (deptno)
|| ',' || TO_CHAR (hiredate, 'DD-Mon-YYYY') AS all_data
FROM scott.emp; -
I cannot use "copy" function in a web page...help please
Please Help:
My G4 ibook running OS 10.4.9... Safari 2.0.4...will not let me do the "copy" function inside any web page.If I command it with Command C or use the drop down menu "copy"...either way it crashes Safari.Every time.
I CAN highlight and select the browser address bar just fine and copy that web address however, to send that web page link to a friend.
And everything else is fast and runs just fine.Everything.
I have used first aid...twice..that didn't do anything...I ran "main menu" application, I deleted my Safari web page icons, I "reset" Safari several times, I have restarted it, I have checked and rechecked my preferences and verified and repaired permissions, all didn't help...and I still don't know what to do...
G4 I Book Mac OS X (10.4.9)Date/Time: 2007-04-24 08:54:22.648 -0700
OS Version: 10.4.9 (Build 8P135)
Report Version: 4
Command: Safari
Path: /Applications/Safari.app/Contents/MacOS/Safari
Parent: WindowServer [59]
Version: 2.0.4 (419.3)
Build Version: 32
Project Name: WebBrowser
Source Version: 4190300
PID: 316
Thread: 0
Exception: EXCBADINSTRUCTION (0x0002)
Code[0]: 0x00000002
Code[1]: 0x95b12350
Thread 0 Crashed:
0 com.apple.WebCore 0x95b12350 khtml::isEndOfBlock(khtml::VisiblePosition const&) + 0
1 com.apple.WebCore 0x95b14308 khtml::createMarkup(DOM::RangeImpl const*, QPtrList<DOM::NodeImpl>*, EAnnotateForInterchange) + 732
2 com.apple.WebCore 0x95a49198 -[WebCoreBridge markupStringFromRange:nodes:] + 164
3 com.apple.WebKit 0x9576dc3c -[WebHTMLView(WebPrivate) _selectedArchive] + 92
4 com.apple.WebKit 0x9576d59c -[WebHTMLView(WebHTMLViewFileInternal) _writeSelectionWithPasteboardTypes:toPasteboard:cachedAttributedString:] + 92
5 com.apple.WebKit 0x9576dea4 -[WebHTMLView(WebPrivate) _writeSelectionToPasteboard:] + 188
6 com.apple.AppKit 0x9381ec4c -[NSApplication sendAction:to:from:] + 108
7 com.apple.Safari 0x0002956c 0x1000 + 165228
8 com.apple.AppKit 0x938794b8 -[NSMenu performActionForItemAtIndex:] + 392
9 com.apple.AppKit 0x9387923c -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 104
10 com.apple.AppKit 0x93780500 _NSHandleCarbonMenuEvent + 372
11 com.apple.AppKit 0x9377de64 _DPSNextEvent + 1280
12 com.apple.AppKit 0x9377d7a8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
13 com.apple.Safari 0x00006740 0x1000 + 22336
14 com.apple.AppKit 0x93779cec -[NSApplication run] + 472
15 com.apple.AppKit 0x9386a87c NSApplicationMain + 452
16 com.apple.Safari 0x0005c77c 0x1000 + 374652
17 com.apple.Safari 0x0005c624 0x1000 + 374308
Thread 1:
0 libSystem.B.dylib 0x9000b6e8 machmsgtrap + 8
1 libSystem.B.dylib 0x9000b63c mach_msg + 60
2 com.apple.CoreFoundation 0x907deba8 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907de4ac CFRunLoopRunSpecific + 268
4 com.apple.Foundation 0x92bf0170 -[NSRunLoop runMode:beforeDate:] + 172
5 com.apple.Foundation 0x92bf00a8 -[NSRunLoop run] + 76
6 com.apple.WebKit 0x95724e30 +[WebFileDatabase _syncLoop:] + 176
7 com.apple.Foundation 0x92be11a0 forkThreadForFunction + 108
8 libSystem.B.dylib 0x9002c0a8 pthreadbody + 96
Thread 2:
0 libSystem.B.dylib 0x9000b6e8 machmsgtrap + 8
1 libSystem.B.dylib 0x9000b63c mach_msg + 60
2 com.apple.CoreFoundation 0x907deba8 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907de4ac CFRunLoopRunSpecific + 268
4 com.apple.Foundation 0x92c086a8 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] + 264
5 com.apple.Foundation 0x92be11a0 forkThreadForFunction + 108
6 libSystem.B.dylib 0x9002c0a8 pthreadbody + 96
Thread 3:
0 libSystem.B.dylib 0x9000b6e8 machmsgtrap + 8
1 libSystem.B.dylib 0x9000b63c mach_msg + 60
2 com.apple.CoreFoundation 0x907deba8 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907de4ac CFRunLoopRunSpecific + 268
4 com.apple.Foundation 0x92c097e8 +[NSURLCache _diskCacheSyncLoop:] + 152
5 com.apple.Foundation 0x92be11a0 forkThreadForFunction + 108
6 libSystem.B.dylib 0x9002c0a8 pthreadbody + 96
Thread 4:
0 libSystem.B.dylib 0x9001fc2c select + 12
1 com.apple.CoreFoundation 0x907f1434 __CFSocketManager + 472
2 libSystem.B.dylib 0x9002c0a8 pthreadbody + 96
Thread 5:
0 libSystem.B.dylib 0x9002c768 semaphorewait_signaltrap + 8
1 libSystem.B.dylib 0x9003124c pthreadcondwait + 480
2 com.apple.Foundation 0x92be830c -[NSConditionLock lockWhenCondition:] + 68
3 com.apple.Syndication 0x9a7c542c -[AsyncDB _run:] + 192
4 com.apple.Foundation 0x92be11a0 forkThreadForFunction + 108
5 libSystem.B.dylib 0x9002c0a8 pthreadbody + 96
Thread 6:
0 libSystem.B.dylib 0x9002c768 semaphorewait_signaltrap + 8
1 libSystem.B.dylib 0x9003124c pthreadcondwait + 480
2 com.apple.Foundation 0x92be830c -[NSConditionLock lockWhenCondition:] + 68
3 com.apple.AppKit 0x9381a708 -[NSUIHeartBeat _heartBeatThread:] + 324
4 com.apple.Foundation 0x92be11a0 forkThreadForFunction + 108
5 libSystem.B.dylib 0x9002c0a8 pthreadbody + 96
Thread 7:
0 libSystem.B.dylib 0x9000b6e8 machmsgtrap + 8
1 libSystem.B.dylib 0x9000b63c mach_msg + 60
2 ...romedia.Flash Player.plugin 0x04f22688 nativeShockwaveFlashTCallFrame + 1368296
3 libSystem.B.dylib 0x9002c0a8 pthreadbody + 96
Thread 0 crashed with PPC Thread State 64:
srr0: 0x0000000095b12350 srr1: 0x000000000208f030 vrsave: 0x0000000000000000
cr: 0x44044424 xer: 0x0000000000000004 lr: 0x0000000095b14308 ctr: 0x0000000095b80780
r0: 0x0000000000000006 r1: 0x00000000bfffe260 r2: 0x0000000000000007 r3: 0x00000000bfffe2e0
r4: 0x0000000000000002 r5: 0x0000000000000001 r6: 0x0000000000000001 r7: 0x00000000a59765f4
r8: 0x00000000958e3cdc r9: 0x0000000000000000 r10: 0x00000000958f7ac4 r11: 0x000000000000000a
r12: 0x0000000095b80780 r13: 0x00000000bfffe2e0 r14: 0x00000000bfffe540 r15: 0x0000000000000001
r16: 0x00000000bfffe520 r17: 0x00000000bfffe2b0 r18: 0x00000000075aa718 r19: 0x00000000bfffe300
r20: 0x00000000ffffffff r21: 0x0000000003f166f0 r22: 0x0000000000000000 r23: 0x00000000041face0
r24: 0x00000000bfffe2b8 r25: 0x0000000003ef1008 r26: 0x00000000bfffe2a0 r27: 0x00000000075ad800
r28: 0x00000000bfffe2d0 r29: 0x00000000bfffe2f0 r30: 0x0000000003ef0ca8 r31: 0x0000000095b14040
Binary Images Description:
0x1000 - 0xdcfff com.apple.Safari 2.0.4 (419.3) /Applications/Safari.app/Contents/MacOS/Safari
0x4622000 - 0x4624fff com.apple.textencoding.unicode 2.0 /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
0x4c6c000 - 0x4f80fff com.macromedia.Flash Player.plugin 9.0.28 (1.0.4f22) /Library/Internet Plug-Ins/Flash Player.plugin/Contents/MacOS/Flash Player
0x8fe00000 - 0x8fe52fff dyld 46.12 /usr/lib/dyld
0x90000000 - 0x901bdfff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90215000 - 0x9021afff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x9021c000 - 0x90269fff com.apple.CoreText 1.0.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
0x90294000 - 0x90345fff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x90374000 - 0x9072ffff com.apple.CoreGraphics 1.258.61 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x907bc000 - 0x90895fff com.apple.CoreFoundation 6.4.7 (368.28) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x908de000 - 0x908defff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x908e0000 - 0x909e2fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x90a3c000 - 0x90ac0fff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90aea000 - 0x90b5cfff com.apple.framework.IOKit 1.4 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90b72000 - 0x90b84fff libauto.dylib /usr/lib/libauto.dylib
0x90b8b000 - 0x90e62fff com.apple.CoreServices.CarbonCore 681.10 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x90ec8000 - 0x90f48fff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x90f92000 - 0x90fd3fff com.apple.CFNetwork 4.0 (129.20) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x90fe8000 - 0x91000fff com.apple.WebServices 1.1.2 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
0x91010000 - 0x91091fff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x910d7000 - 0x91100fff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x91111000 - 0x9111ffff libz.1.dylib /usr/lib/libz.1.dylib
0x91122000 - 0x912ddfff com.apple.security 4.6 (29770) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x913dc000 - 0x913e5fff com.apple.DiskArbitration 2.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x913ec000 - 0x913f4fff libbsm.dylib /usr/lib/libbsm.dylib
0x913f8000 - 0x91420fff com.apple.SystemConfiguration 1.8.3 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x91433000 - 0x9143efff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x91443000 - 0x914befff com.apple.audio.CoreAudio 3.0.4 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x914fb000 - 0x914fbfff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x914fd000 - 0x91535fff com.apple.AE 1.5 (297) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
0x91550000 - 0x91622fff com.apple.ColorSync 4.4.9 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x91675000 - 0x91706fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x9174d000 - 0x91804fff com.apple.QD 3.10.24 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x91841000 - 0x9189ffff com.apple.HIServices 1.5.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x918ce000 - 0x918effff com.apple.LangAnalysis 1.6.1 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x91903000 - 0x91928fff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
0x9193b000 - 0x9197dfff com.apple.LaunchServices 182 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
0x91999000 - 0x919adfff com.apple.speech.synthesis.framework 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x919bb000 - 0x91a01fff com.apple.ImageIO.framework 1.5.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x91a18000 - 0x91adffff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x91b2d000 - 0x91b42fff libcups.2.dylib /usr/lib/libcups.2.dylib
0x91b47000 - 0x91b65fff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91b6b000 - 0x91c22fff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91c71000 - 0x91c75fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91c77000 - 0x91cdffff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91ce4000 - 0x91d21fff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91d28000 - 0x91d41fff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91d46000 - 0x91d49fff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91d4b000 - 0x91e29fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x91e49000 - 0x91e49fff com.apple.Accelerate 1.2.2 (Accelerate 1.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91e4b000 - 0x91f30fff com.apple.vImage 2.4 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x91f38000 - 0x91f57fff com.apple.Accelerate.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x91fc3000 - 0x92031fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x9203c000 - 0x920d1fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x920eb000 - 0x92673fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x926a6000 - 0x929d1fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x92a01000 - 0x92aeffff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x92af2000 - 0x92b7afff com.apple.DesktopServices 1.3.6 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x92bbb000 - 0x92de6fff com.apple.Foundation 6.4.8 (567.29) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92f13000 - 0x92f31fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92f3c000 - 0x92f96fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92fb4000 - 0x92fb4fff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92fb6000 - 0x92fcafff com.apple.ImageCapture 3.0 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x92fe2000 - 0x92ff2fff com.apple.speech.recognition.framework 3.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x92ffe000 - 0x93013fff com.apple.securityhi 2.0 (203) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x93025000 - 0x930acfff com.apple.ink.framework 101.2 (69) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x930c0000 - 0x930cbfff com.apple.help 1.0.3 (32) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x930d5000 - 0x93102fff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x9311c000 - 0x9312bfff com.apple.print.framework.Print 5.2 (192.4) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x93137000 - 0x9319dfff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
0x931ce000 - 0x9321dfff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
0x9324b000 - 0x93268fff com.apple.audio.SoundManager 3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
0x9327a000 - 0x93287fff com.apple.CommonPanels 1.2.2 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x93290000 - 0x9359efff com.apple.HIToolbox 1.4.9 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x936ee000 - 0x936fafff com.apple.opengl 1.4.7 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x936ff000 - 0x9371ffff com.apple.DirectoryService.Framework 3.3 /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
0x93773000 - 0x93773fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x93775000 - 0x93da8fff com.apple.AppKit 6.4.7 (824.41) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x94135000 - 0x941a7fff com.apple.CoreData 91 (92.1) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x941e0000 - 0x942a4fff com.apple.audio.toolbox.AudioToolbox 1.4.5 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x942f6000 - 0x942f6fff com.apple.audio.units.AudioUnit 1.4 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x942f8000 - 0x944b8fff com.apple.QuartzCore 1.4.12 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x94502000 - 0x9453ffff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
0x94547000 - 0x94597fff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x945a0000 - 0x945b4fff com.apple.CoreVideo 1.4 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x9464a000 - 0x94682fff com.apple.vmutils 4.0.0 (85) /System/Library/PrivateFrameworks/vmutils.framework/Versions/A/vmutils
0x946c5000 - 0x946e1fff com.apple.securityfoundation 2.2 (27710) /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x946f5000 - 0x94739fff com.apple.securityinterface 2.2 (27692) /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
0x9475d000 - 0x9476cfff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x94774000 - 0x94781fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x947c7000 - 0x947e0fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x947e7000 - 0x94abcfff com.apple.QuickTime 7.1.5 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x94b80000 - 0x94bf1fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x94c64000 - 0x94c84fff libmx.A.dylib /usr/lib/libmx.A.dylib
0x94d8c000 - 0x94ebcfff com.apple.AddressBook.framework 4.0.4 (485.1) /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
0x94f4e000 - 0x94f5dfff com.apple.DSObjCWrappers.Framework 1.1 /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
0x94f65000 - 0x94f92fff com.apple.LDAPFramework 1.4.1 (69.0.1) /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x94f99000 - 0x94fa9fff libsasl2.2.dylib /usr/lib/libsasl2.2.dylib
0x94fad000 - 0x94fdcfff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
0x94fec000 - 0x95009fff libresolv.9.dylib /usr/lib/libresolv.9.dylib
0x95722000 - 0x957b0fff com.apple.WebKit 419 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
0x9580c000 - 0x958a2fff com.apple.JavaScriptCore 418.3 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/JavaScriptCor e.framework/Versions/A/JavaScriptCore
0x958df000 - 0x95bebfff com.apple.WebCore 418.21 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
0x95d74000 - 0x95d9dfff libxslt.1.dylib /usr/lib/libxslt.1.dylib
0x97794000 - 0x977a1fff com.apple.agl 2.5.6 (AGL-2.5.6) /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x9a7c2000 - 0x9a7f8fff com.apple.Syndication 1.0.6 (54) /System/Library/PrivateFrameworks/Syndication.framework/Versions/A/Syndication
0x9a815000 - 0x9a827fff com.apple.SyndicationUI 1.0.6 (54) /System/Library/PrivateFrameworks/SyndicationUI.framework/Versions/A/Syndicatio nUI
Model: PowerBook6,5, BootROM 4.8.5f0, 1 processors, PowerPC G4 (1.1), 1.07 GHz, 256 MB
Graphics: ATI Mobility Radeon 9200, ATY,RV280M9+, AGP, 32 MB
Memory Module: DIMM0/BUILT-IN, 256 MB, built-in, built-in
Modem: Jump, V.92, Version 1.0
Network Service: Built-in Ethernet, Ethernet, en0
Parallel ATA Device: MATSHITACD-RW CW-8123
Parallel ATA Device: HITACHI_DK23EA-40, 37.26 GB -
Our users are experiencing a problem where they cannot bring up the find/search bar. We do use a customized installation using a MST file, but there is no option that we are aware that disables the find/search function.
We have tried pressing CTRL+F or going to menu>edit>find, but do not get a search bar.
Was wondering if anyone out there is having the same problem or has a fix?
We are currently running the latest version of Adobe Reader X 10.1.1.Just a bit of more information, not sure if its related, but our users are all running Windows 7 64bit desktops. I'm attaching screenshots of the transform/MST file with the customization we have set.
Here is also the command line we use to deploy: "msiexec.exe /i "AcroRead.msi" ALLUSERS=1 /q /norestart TRANSFORMS=acroread.mst" -
I have a SSRS report which uses a matrix for a crosstab effect.
Each row contains about 10 score values in 10 columns respectively. I need each row to check against the previous row, and i need each score value in each column to be compared to the corresponding column score value in the previous row.
If the current score is greater than the corresponding previous score (in the previous row), then i want to change the background of the cell.
if the current score is smaller than the previous, then it's a different color.
if they are equal, or it's the first row in the matrix table, then leave white.
I have found custom code functions to use in the SSRS expression fields, but every single one of them compares against the previous COLUMN value and not the previous ROW value which is what i need. the "Previous" function would be perfect if i
could use it in a matrix but i can't. (i keep getting error "The use of a Previous aggregate function in a tablix cell is not supported"). looking around it turns out that matrices are arrange in groups and not in rows which is why Previous can't
be used and the only way is with custom code.
Please help. if you have any custom code samples that achieve what i need, please share, or give me advice on how to achieve this.
Thank youI figured it out. Maybe it can help someone else in the future:
Public Shared count as Integer = 0
Public Shared currentRow As Integer = 1
Public Shared MatrixStructures As New System.Collections.Generic.List(Of MatrixStructure)()
Public Shared Function GetCellColor(row as Integer, score as Integer)
If (row > currentRow) Then
count = 0
currentRow = row
End If
count = count + 1
Dim matrixStructure As New MatrixStructure()
matrixStructure.RowIndex = row
matrixStructure.ColumnIndex = count
matrixStructure.ScoreValue = score
MatrixStructures.Add(matrixStructure)
If score = 0 Then
Return "White"
End If
Dim val As MatrixStructure = MatrixStructures.Find(Function(s As MatrixStructure)
Return s.GetRowIndex() = row - 1 AndAlso s.GetColumnIndex() = count
End Function)
If (Not (val Is Nothing)) Then
If val.scoreValue = 0 Then
Return "White"
End If
If score >= val.scoreValue + 2 Then
Return "Green"
ElseIf score <= val.scoreValue - 2 Then
Return "Red"
End If
End If
Return "White"
End Function
Public Class MatrixStructure
Public rowIndex As Integer
Property GetRowIndex() As Integer
Get
Return rowIndex
End Get
Set(ByVal Value As Integer)
rowIndex = Value
End Set
End Property
Public columnIndex As Integer
Property GetColumnIndex() As Integer
Get
Return columnIndex
End Get
Set(ByVal Value As Integer)
columnIndex = Value
End Set
End Property
Public scoreValue As Integer
Property GetScoreValue () As Integer
Get
Return scoreValue
End Get
Set(ByVal Value As Integer)
scoreValue = Value
End Set
End Property
End Class
and to pass the current row number from the expression i use this
Ceiling(RowNumber(NOTHING) / 10)
i divide the row number by 10 because there are ten columns. if you don't know the number of columns, or it's a variable number, then return it from the stored procedure query in the first place. that's what I had to do -
Cannot use MAX function in PS Query
I am trying to use Query to select the max ( effdt ) from a table.
First, I use the 'Criteria' page to have
(1) Expression 1 = A.EFFDT - Effective Date, (2) Condition type = equal to, (3) Expression 2 = Subquery
Then the Subquery is:
(1) In the 'Field' page, I choose field E.EFFDT - Effective Date, (2) then click on 'EDIT', (3) then click on 'Max', (4) then click on 'OK' button
I then get this message: 'This field is an aggregate field but is being used in non-having criteria.(139,136). The query may fail if this is not corrected'
And as i try run anyway this query, i get this message:
SQL error. Stmt #: 5653 Error Position: 349 Return: 934 - ORA-00934: group function is not allowed here
A SQL error occurred. Please consult your system log for details.
Error in running query because of SQL Error, Code=934, Message=ORA-00934: group function is not allowed here (50,380)
NOTE: This max sql would work if i run using SqlPlus
How can i get Query to use max( effdt ) ?
Any clue anyone ? THANKSYes Using it as MAX is OK.
Problem is once you use it as MAX of a field, it wouln't allow this field for you to use it anymore.
A workaround i found that helped is to use the expression let's say 'MAX( a.JOB )' and use this as field.
This way, the system will allow me to use the JOBCODE field.
Thank you for all your helps as it leads me to the soln. -
Illustrator CS2 will open, but cannot use any functions
For some reason I am able to open files in Illustrator, but am unable to undo, or open a new file, or basically use any of the functions in the tool bar. Please help!! I've been trying to troubleshoot this on my own for about 3 hours w/o success!!
Thanks!
CorinnaHi Jacob and Harron,
I've tried both deleting the AIprefs file, and moving the entire folder to my desktop and neither worked.
More detail about what I'm experiencing:
I can open Illustrator, but unless I open a document from the intro window I can't do anything else with the tool bar across the top (i.e., the menu buttons that include, file, edit, object, type, select, filter, effect, view, window, and help.) I am also unable to close the program using the "x" button in the upper right hand corner. In order to close Illustrator I have to cntl alt del my way out. Have either of you heard about anything like this before??
I truly appreciate all your help!! I have 3 projects that I can't work on b/c of this issue!! UGH!
Maybe you are looking for
-
New field data not passed from BupaSearch to BupaCreate
Hi, We have 2 new fields on BupaSearch. When we hit the create button to create a new BP, any data entered in the 2 new fields is not then passed through to the BupaCreate view. I've debugged in method 'CREATE_ACCOUNT' in BupaSearch, where it sets up
-
Coreapplication shows as down in OEM, but all components are up
Hi,. Just upgraded from 11.1.1.5 to 11.1.1.6.2. All went fine and everything running. Also upgraded WLS from 10.3.5 to 10.3.6 Yet the core application shows as down in OEM although system status reads All components are available weird ..... dia
-
Using Error Message in BPM Error Handling Branch
Hello, I closed the old BPM thread not to mix up different questions. As I found out now a synchronous Send Step with Eror handling branch is working fine to directly handle errors. As in the send step there could be several errors possible, e.g. XML
-
Classic Scenanio and Extended Classic Scenario
Hi all, I would implement on the same system 2 different scenario: 1. Classic Scenario for self service procurement 2. Extended Classic Scenario for the following business scenario: a. PR from ECC is transfered into Sourcing Cockpit with Plan Dri
-
Fix for FACEBOOK's Compression
Hi! I've created a piece of vector-artwork in ILLUSTRATOR (CC), looks WoW! Once my .png uploaded to FACEBOOK, it has lots of artifacts and looks pretty bad, compared to my original file. I read several articles in order to fix the problem, but nothin