Error -10006 can't set object or data to object or data
Hi
Tripped up again by a silly error, I am trying to update an item in a record list but keep getting error -10006
Code below simplified but still produces the error, all help gratefully received.
set filePath to "/Users/Ours/Documents/Text File.txt"
set recordList to every paragraph of (read filePath) -- get all records
set AppleScript's text item delimiters to ","
set (text item 1 of item 1 of recordList) to "Ninth"
message is :
tell current application
read "/Users/Ours/Documents/Text File.txt"
--> "First,Second,Third
Result:
error "Can’t set text item 1 of \"First,Second,Third\" to \"Ninth\"." number -10006 from text item 1 of "First,Second,Third"
You can't set text items directly like that. first convert the text to a list of text items, alter the list, then convert it back to text:
set filePath to "/Users/Ours/Documents/Text File.txt"
set recordList to every paragraph of (read filePath) -- get all records
set {oldTID, AppleScript's text item delimiters} to {my text item delimiters, ","}
set tempList to text items of recordList
set item 1 of tempList to "Ninth"
set recordList to tempList as text
set AppleScript's text item delimiters to oldTID
Similar Messages
-
Can I set the stroke of an object to be on top/in front and the fill on the bottom/in back? I asked this question before and was told to go to appearance and drag the fill and stroke around as if they were a layer, but this did not bring my stroke to the top of the image. Did I do this wrong somehow or is there another method?
Erin,
The default stacking order for an object with fill and stroke, such as a simple path, is that the stroke is on top and the fill is beneath it.
You may change that in the Appearance palette, but it should not be necessary.
Can you show a screenshot with the object and the Appearance palette and the Layers palette with the relevant (part of the) Layer expanded and visible?
If things are really wrong, you may start considering going down this dark road:
The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
1) Close down Illy and open again;
2) Restart the computer (you may do that up to 3 times);
3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
Even more seriously, you may:
6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
http://www.adobe.com/support/contact/cscleanertool.html -
How can I set a value to an Object Array
I am declaring an object variable like this:
final Object[][] data = {
{"Mary", new Integer(5)},
{"Alison", new Integer(3)},
{"Kathy", new Integer(2)},
{"Sharon", new Integer(20)},
{"Angela", new Integer(4)}
And I would like to declare it like this:
final Object[][] data = new Object [6][3];
But the matter is that when I try to set a value like this:
data[0][0] = "Hola";
I got the next Errors.
TableEditDemo.java:95: ']' expected
data[r][c] = "Hola";
^
TableEditDemo.java:95: <identifier> expected
data[r][c] = "Hola";
^
TableEditDemo.java:95: cannot resolve symbol
symbol : class data
location: class TableEditDemo.MyTableModel
data[r][c] = "Hola";
^
3 errors
Could Somebody Help me please???? Thank you very much.I don't see problem for your declaration. Is it possible you forgot to cast data back to whatever class?
PC -
Zen V Plus 8GB: Can I set MORE than 4GB as storage for dat
When I bought the device, I thought I could choose to empty the entire player and fill it totally with DATA. to (for example) store a complete DVD (as data ofcourse, I understand the player won't be able to display it)
macsales.com aka OWC says MacBook Unibody 2008-2012 (MacBook5,1) can go to 8GBs.
See http://eshop.macsales.com/shop/memory/Apple_MacBook_MacBook_Pro/Upgrade/DDR3 -
Recently the hard drive on my mac book was damaged beyond repair and I had to reinstall the OS.
MY iPhone still has all its original dta.
How can I connect my iPhone to my computer (virtually new) without loosing the data I have on my iPhone?
Obviously I cannot recover any of the old itunes files.
Thanks,Some of the information below has subsequently appeared in a document by turingtest2: Recovering your iTunes library from your iPod or iOS device - https://discussions.apple.com/docs/DOC-3991
Your i-device was not designed for unique storage of your media. It is not a backup device and media transfer was planned with you maintaining a master copy of your media on a computer which is itself properly backed up against loss. Syncing is one way, computer to device, updating the device content to the content on the computer, not updating or restoring content on a computer. The exception is iTunes Store purchases which can be transferred to a computer.
iTunes Store: Transferring purchases from your iOS device or iPod to a computer - http://support.apple.com/kb/HT1848 - only purchases from iTunes Store
For transferring other items from an i-device to a computer you will have to use third party commercial software. Examples (check the web for others; this is not an exhaustive listing, nor do I have any idea if they are any good):
- Expod (free) - http://www.headlightsoft.com/expod/ - Mac, universal for 104.+ (newer machines try de-Tune)
- deTune (free) - http://www.headlightsoft.com/detune/ - Mac, 10.5+
- Senuti - http://www.fadingred.com/senuti/
- Phoneview - http://www.ecamm.com/mac/phoneview/
- MusicRescue - http://www.kennettnet.co.uk/products/musicrescue/
- Sharepod (free) - http://download.cnet.com/SharePod/3000-2141_4-10794489.html?tag=mncol;2 - Windows
- Snowfox/iMedia - http://www.mac-videoconverter.com/imedia-transfer-mac.html - Mac & PC
- iexplorer (free) - http://www.macroplant.com/iexplorer/ - Mac&PC
- Yamipod (free) - http://www.yamipod.com/main/modules/downloads/ - PC, Linux, Mac [Still updated for use on newer devices? No edits to site since 2010.]
- 2010 Post by Zevoneer: iPod media recovery options - https://discussions.apple.com/message/11624224 - this is an older post and many of the links are also for old posts, so bear this in mind when reading them.
Syncing to a "New" Computer or replacing a "crashed" Hard Drive - https://discussions.apple.com/docs/DOC-3141 - dates from 2008 and some outdated information now.
Copying Content from your iPod to your Computer - The Definitive Guide - http://www.ilounge.com/index.php/articles/comments/copying-music-from-ipod-to-co mputer/ - Information about use in disk mode pertains only to older model iPods.
Get Your Music Off of Your iPod - http://howto.wired.com/wiki/Get_Your_Music_Off_of_Your_iPod - I am not sure but this may only work with some models and not newer Touch, iPhone, or iPad.
Additional information here https://discussions.apple.com/message/18324797 -
Cant download apps, error message can't set up on new computer
why I'm having problems downloading apps? I enter my credit card number error message says ' your account has been assessed from a nre computer of device and I must verify payment.
Mail has a bug that causes ~/Library/Mail/Mailboxes to sometimes be a file instead of a folder, and that prevents Mail from creating any mailboxes there.
Verify/repair the startup disk (not just permissions), as described here:
The Repair functions of Disk Utility: what's it all about?
After having fixed all filesystem issues, if any, proceed as follows:
1. Quit Mail if it’s running.
2. In the Finder, go to ~/Library/Mail/.
3. Locate Mailboxes. If it’s a file instead of a folder, move it to the Trash.
Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder, i.e. ~/Library is the Library folder within the user’s home folder. -
Item - Can't set value on item because the item can't get focus. [66000-15
hi i created one text box in purchase order form and asign the choose from list.l when i choose in edit box its show the following error-- Item - Can't set value on item because the item can't get focus
Dim lonHeadDatasource As SAPbouiCOM.DBDataSource
lonHeadDatasource = oOrderForm.DataSources.DBDataSources.Item("OPOR")
oNewItem1 = oOrderForm.Items.Add("EditDS", SAPbouiCOM.BoFormItemTypes.it_EDIT)
Dim oCFLs As SAPbouiCOM.ChooseFromListCollection
Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
Dim oCFL As SAPbouiCOM.ChooseFromList
oCFLs = oOrderForm.ChooseFromLists
oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
oCFLCreationParams.MultiSelection = False
oCFLCreationParams.ObjectType = "INTORDER"
oCFLCreationParams.UniqueID = "CFL1"
oCFL = oCFLs.Add(oCFLCreationParams)
oItem = oOrderForm.Items.Item("4")
oNewItem1.Top = 95
oNewItem1.Height = oItem.Height
oNewItem1.Width = 140
oNewItem1.Left = 125
oEdit = oNewItem1.Specific
oEdit.DataBind.SetBound(True, "OPOR", "U_EditDS")
oOrderForm.Items.Item("EditDS").Specific.ChooseFromListUID = "CFL1"
oEdit.ChooseFromListAlias = "U_ID"
Item events
Try
If pVal.BeforeAction = False Then
If (pVal.FormType = 142) Then
Select Case (pVal.ItemUID)
Case "EditDS"
Select Case (pVal.EventType)
Case SAPbouiCOM.BoEventTypes.et_GOT_FOCUS
Case SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST
Dim bonCflEvents As SAPbouiCOM.ChooseFromListEvent
Dim bonCflList As SAPbouiCOM.ChooseFromList
Dim bnnstrUID As String
Dim bonDTTable As SAPbouiCOM.DataTable = Nothing
bonCflEvents = pVal
bnnstrUID = bonCflEvents.ChooseFromListUID
bonDTTable = bonCflEvents.SelectedObjects
bonCflList = oOrderForm.ChooseFromLists.Item(bnnstrUID)
If pVal.BeforeAction = False Then
If oOrderForm.Mode <> SAPbouiCOM.BoFormMode.fm_FIND_MODE Then
If Not (bonDTTable Is Nothing) Then
If bonCflList.UniqueID = "CFL1" Then
If pVal.ItemUID = "EditDS" Then
Dim value As String = Nothing
oOrderForm.Items.Item("EditDS").Specific.value = bonDTTable.GetValue(0, 0)
End If
End If
Else
lonHeadDatasource.SetValue("EditDS", lonHeadDatasource.Offset, "")
End If
End If
End If
End Select
End Select
End If
End If
Catch ex As Exception
SBO_Application.SetStatusBarMessage(ex.Message)
End Try
Thanks & Regards
B.NarainHi
Instead of oOrderForm.Items.Item("EditDS").Specific.value = bonDTTable.GetValue(0, 0) the following
lonHeadDatasource.SetValue("U_EditDS", 0, bonDTTable.GetValue(0, 0))
Regards
Arun -
I am mac user and want to create Object in VBA macro. when i write "set objwrd=createObject("Word.Application")"… it returns "runtime error "492" can't create object". now what it alternative to create object for word in excel macro???
Any help here...
http://support.microsoft.com/kb/288117
http://www.macworld.com/article/1154785/welcomebackvisualbasic.html -
"Can't set object server" Error during SLD Initialization
Hi,
During System Installation at SLD configuration, problems occured and
we skipped the step for later execution. After Installation and SPS13
Application, we tried again but the following error occurs.
Can't set object server
com.sap.engine.interfaces.cross.ObjectReferenceImpl incompatible with
com.sap.engine.services.applocking.LogicalLockingFactory
Here I'm attaching the defaulttrace.log section produced during the error
Defaulttrace.log
tion#administrators#SAP-J2EE-Engine#administrators#
#1.#001125BDBC10007600000028001420FA000443E69BC669DF#1200557641853#com.sap.lcr.webui.Admin#sap.com/com.sap.lcr#com.sap.lcr.webui.Admin#Administrator#6330##bporprod_BPP_1663750#Administrator#22947de0c4d411dccb66001125bdbc10#SAPEngine_Application_Thread[impl:3]_13##0#0#Error#1#/Applications/SLD#Plain###Can't set object server#
#1.#001125BDBC10007600000029001420FA000443E69BC66ACD#1200557641853#com.sap.lcr.webui.Admin#sap.com/com.sap.lcr#com.sap.lcr.webui.Admin#Administrator#6330##bporprod_BPP_1663750#Administrator#22947de0c4d411dccb66001125bdbc10#SAPEngine_Application_Thread[impl:3]_13##0#0#Error##Plain###Thrown:
java.lang.ClassCastException: com.sap.engine.interfaces.cross.ObjectReferenceImpl incompatible with com.sap.engine.services.applocking.LogicalLockingFactory
at com.sap.rprof.dbprofiles.JDBCProfileLock.<init>(JDBCProfileLock.java:52)
at com.sap.rprof.dbprofiles.JDBCProfileFactory.newProfileLock(JDBCProfileFactory.java:41)
at com.sap.rprof.dbprofiles.RemoteProfile.getRemoteProfileFromFactoryForUpdate(RemoteProfile.java:230)
at com.sap.lcr.start.EnvManager.getWriteableEnv(EnvManager.java:512)
at com.sap.lcr.webui.Admin.actionInitialSetup(Admin.java:877)
at com.sap.lcr.webui.Admin.doGet(Admin.java:231)
at com.sap.lcr.webui.Admin.doPost(Admin.java:61)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:215)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
#1.#001125BDBC10005F000092B3001420FA000443E69BE47659#1200557643822#com.sap.engine.services.security.roles.SecurityRoleImpl#sap.com/irj#com.sap.engine.services.security.roles.SecurityRoleImpl#Guest#6332####6047b4f0c44211dc8975001125bdbc10#Thread[Thread-53,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error#1#/System/Security/Audit/J2EE#Java###: Authorization check for caller assignment to J2EE security role [ : ].#3#ACCESS.ERROR#SAP-J2EE-Engine#administrators#
does anyone faced the problem, and please a solution purpose
regardsdefo an autorisation issue
#1.#001125BDBC10005F000092B3001420FA000443E69BE47659#1200557643822#com.sap.engine.services.security.roles.SecurityRoleImpl#sap.com/irj#com.sap.engine.services.security.roles.SecurityRoleImpl#Guest#6332####6047b4f0c44211dc8975001125bdbc10#Thread[Thread-53,5,SAPEngine_Application_Threadimpl:3]_Group##0#0#Error#1#/System/Security/Audit/J2EE#Java###: Authorization check for caller assignment to J2EE security role : .#3#ACCESS.ERROR#SAP-J2EE-Engine#administrators#
Where you assign the role depends on how you have setup your ume configuration - to the ABAP stack or have it managed in the Java stack
If its just a java stack configuration for user management page of the java stack
http://<servername>:50000/useradmin and give the user as many roles and permissions from there
otherwise its PFCG in the abap stack of your system -
Crystal report for visual studio 2010 data source object is not valid error
Hello,
I receive an "data source object is not valid" error when I want to print one CR document after setting an ADODB.Recordset on SetDataSource method of my report.
On my developer station, this operation works without problem but on client station, I get this error.
The redistributable package for client is installed on client side (CRRuntime_32bit_13_0_1.msi).
Can someone help me?
Thank you.Thank's for your answers
Dim rsPkLst As ADODB.Recordset = Nothing
Dim report As New crPickingList
' Fill ADODB.Recordset with SQL Statment
If rsPkLst.RecordCount > 0 Then
report.SetDataSource(rsPkLst) ' Error : The data source object is invalid
EndIf
This error appears during "report.SetDataSource(rsPkLst)" instruction.
ADODB drivers are already installed and my ADODB.Recordset is filled with good records.
This project is an updated project from Visual Studio 2003 to Visual studio 2010 and the old version was running fine.
Developer and client station runs under Windows XP SP3.
On developer side I install CRforVS_13_0_1 (BuildVersion=13.0.1.220.Cortez_CR4VS).
On client side I install CRRuntime_32bit_13_0_1.msi.
Both stations use Microsoft .Net Framework 4.
Move to ADO.NET is a solution but, for the moment, I do not have the time to change all applications from my company.
(I get this error from all application updated from VS 2003 to VS 2010 developed since 2005)
David. -
Hi,
I have a MBP 13' Late 2011 and Yosemite 10.10.2 (14C1514).
Until yesterday, I was using Garmin ConnectIQ SDK and all was working fine.
Yesterday, I've updated my system with latest security updates and Xcode updates too (Version 6.2 (6C131e)).
Since, I can't launch the ConnectIQ simulator app, I have this message in console :
8/04/2015 15:19:04,103 mds[38]: There was an error parsing the Info.plist for the bundle at URL Info.plist -- file:///Volumes/Leto/connectiq-sdk-mac-1.1.0_2/ios/ConnectIQ.bundle/
The data couldn’t be read because it isn’t in the correct format.
<CFBasicHash 0x7fa64f44e9a0 [0x7fff7dfc7cf0]>{type = immutable dict, count = 2,
entries =>
0 : <CFString 0x7fff7df92580 [0x7fff7dfc7cf0]>{contents = "NSDebugDescription"} = <CFString 0x7fa64f44f0a0 [0x7fff7dfc7cf0]>{contents = "Unexpected character b at line 1"}
1 : <CFString 0x7fff7df9f5e0 [0x7fff7dfc7cf0]>{contents = "kCFPropertyListOldStyleParsingError"} = Error Domain=NSCocoaErrorDomain Code=3840 "The data couldn’t be read because it isn’t in the correct format." (Conversion of string failed.) UserInfo=0x7fa64f44eda0 {NSDebugDescription=Conversion of string failed.}
I have looked at this file and it looks like a binary plist
bplist00ß^P^V^A^B^C^D^E^F^G^H
^K^L^M^N^O^P^Q^R^S^T^U^V^W^X^Y^Z^[^\^]^^^_ !"$%&'()'+,^[\CFBundleNameWDTXcodeYDTSDKName_^P^XNSHumanReadableCopyrightZDTSDKBuild_^P^YCFBundleDevelopmentRegion_^P^OCFBundleVersi on_^P^SBuildMachineOSBuild^DTPlatformName_^P^SCFBundlePackageType_^P^ZCFBundleShortVersionString_^P^ZCFBundleSupportedPlatforms_^P^]CFBundleInfoDictionaryVersion_^P^RCFBundleE xecutableZDTCompiler_^P^PMinimumOSVersion_^P^RCFBundleIdentifier^UIDeviceFamily_^P^QDTPlatformVersion\DTXcodeBuild_^P^QCFBundleSignature_^P^ODTPlatformBuildYConnectIQT0611[iph oneos8.1o^P-^@C^@o^@p^@y^@r^@i^@g^@h^@t^@ ^@©^@ ^@2^@0^@1^@5^@ ^@G^@a^@r^@m^@i^@n^@.^@ ^@A^@l^@l^@ ^@r^@i^@g^@h^@t^@s^@ ^@r^@e^@s^@e^@r^@v^@e^@d^@.V12B411RenQ1V14C109Xiphoneos TBNDLS1.0¡#XiPhoneOSS6.0YConnectIQ_^P"com.apple.compilers.llvm.clang.1_0S8.1_^P^Tcom.garmin.ConnectIQ¡*^P^AW6A2008aT????^@^H^@7^@D^@L^@V^@q^@|^@<98>^@ª^@À^@Ï^@å^A^B^A^_^A?^AT^ A_^Ar^A<87>^A<96>^Aª^A·^AË^AÝ^Aç^Aì^Aø^BU^B\^B_^Ba^Bh^Bq^Bv^Bz^B|^B<85>^B<89>^B<93>^B¸^B¼^BÓ^BÕ^B×^Bß^@^@^@^@^@^@^B^A^@^@^@^@^@^@^@-^@^@^@^@^@^@^@^@^@^@^@^@^@^@^Bä
I guess it is a normal format but my system seems to be unable to read binary plist ?
I tried some stuff with plutil
plutil -lint Info.plist
Info.plist: Unexpected character b at line 1
Same for convert
plutil -convert xml1 Info.plist
Info.plist: Property List error: Unexpected character b at line 1 / JSON error: JSON text did not start with array or object and option to allow fragments not set.
I also try to download a fresh version of the connectIQ SDK and no changes.
Any idea ?
ThanksStep by step, how did you arrive at seeing this agreement?
-
Data Import: Object reference error
Hi,
I am trying to import a file which is 208000 records large. The file has the periods on columns and therefor uses the MVAL mapping on the Time dimension in the Transformation file. As a result, the number of records processed is close to 2.5m records. When trying to import these records, I get an error "Object Reference not set to an instance of an Object". If I split the data file into 2 files of 100000 and 108000 records, the import goes through successfully. Looks like there is a limit in terms of the number of records which can be loaded. The file size is 9Mb and I am using BPC V7 SP 4 with patch 2.
Has anyone experienced this before? Does anyone have an idea why it is doing this?
Thanks
Regards
HemendraDid you check the Event Viewer from BPC application server to see if it is any error log there?
Also I suggest to check the BPC logs using Management console.
You can collect useful information from there.
Once which we will have this information we will understand what is the component which is failing because probably not enough resources.
Regards
Sorin Radulescu
Edited by: Sorin Radulescu on Mar 29, 2010 12:29 PM -
NorthWinds DB-Can't set READ DATA/READ DESIGN permissions for MSysObjects
I tried to set READ DATA and READ DESIGN for object MSysObjects as stated in the tutorial for Migrating Northwind Access DB but I get a "You can't change permissions for 'MSysObjects'". The error message says that to change permissions for this object, I must have Administer permission for it. How do I get permissions? Can someone please help.
Hi Robert,
Apologies for the delay in responding, but I see you've since found a workaround yourself, which is great.
As a minimum we recommend that a user applies the read data/read design permissions, but users with "Update Data" have sufficient permissions in order to create a connection to the MS Access MDB file via Oracle SQL Developer. Generally, once you're in the Admins group, there should be no issues setting the required permissions of the MSys~ tables. However, I have known MS Access to be a little temperamental when it comes to allowing for permissions settings on these tables. If necessary, go to the "Change Owner" tab of the "User and Group Permissions" dialog, and set the New Owner of the table in question to Admin.
Regards,
Hilary -
Apex 4.0 - Can see view data in SQL*Plus but no data in Object Browser
Hi There,
I have just started using Apex 4.o and migrated some apps. I have an issue with a report, but see the same issue with Object browser, which is easier to describe.
I have a view:
create or replace view V_PLJ_USERDEF_CODES (
CODE_SET_ID,
CODE_SET_CODE,
CODE_SET_DESC,
CODE_ID,
CODE_SYS_CODE,
CODE_VALUE,
CODE_DESC,
DISPLAY_SEQ,
DISPLAY_FLAG,
LANGUAGE_CODE) as
select CS.CODE_SET_ID,
CS.CODE_SET_CODE,
CS.CODE_SET_DESC,
C.CODE_ID,
C.CODE_SYS_CODE,
C.CODE_VALUE,
C.CODE_DESC,
C.DISPLAY_SEQ,
C.DISPLAY_FLAG,
C.LANGUAGE_CODE
from PLJ_CODES C,
PLJ_CODE_SETS CS
where C.CODE_SET_ID = CS.CODE_SET_ID
and CS.CODE_SET_TYPE_CODE = SYS_CONTEXT('PLJUMPSTART','C_USERDEF_CODE_SET');This returns data in SQL*Plus, but no data in Object Browser OR report region based on this view.
Workspace parses in the same schema as tested in SQL*Plus.
If, in report, I swap out view, and use underlying table - no problem.
Any ideas -
thanks
PHi all,
Thanks for getting back so promptly.
It just seems weird to me, as tables are just fine, but not views.
In the underlying schema:
SQL> sho user
USER is "ICSREPORTING"
SQL> select count(*) from plj_codes;
COUNT(*)
107
SQL> select count(*) from v_plj_userdef_codes;
COUNT(*)
29And in the APEX schema
SQL> sho user
USER is "APEX_040000"
SQL> select count(*) from icsreporting.plj_codes;
select count(*) from icsreporting.plj_codes
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> select count(*) from icsreporting.v_plj_userdef_codes;
select count(*) from icsreporting.v_plj_userdef_codes
ERROR at line 1:
ORA-00942: table or view does not exist
SQL>However, in SQL browser, I can see the data in PLJ_CODES but in V_PLJ_USERDEF_CODES, just the message "This view has no data". Indeed, it is like this for all views.
I even explicitly granted access to APEX_040000 but no good.
In fact, I would like to know more about how Apex gets access to do DML against the underlying parsing schema(s).
This is a little frustrating though. It worked just fine in lots of apps in version 2.1 to 3.2
Am I missing something
paul
p.s I knew there would be a question about the context, but I had already checked that. :)
Edited by: PJ on Nov 19, 2010 4:09 AM -
Can af:selectOneRadio initial selection be set to values from view object?
Using JDeveloper 11.1.1.4
Hi all. I have a selectOneRadio on a data entry page which works well. Now I want to (if possible) use the selectOneRadio on an edit page--setting the choice initially to the values that were stored in a database table's record (from the data entry page). I am able to retrieve the data selected in the data entry page, but I can't find anything referencing what I want to do on the edit page. Note that my selectOneRadio objects are actually on jsff's in a region on a page. I've supplied how I designed selectOneRadio on the data entry page in hopes that someone can gleen from it and tell me how to set one up on the edit page and set its initial value to the value combination stored.
There are two columns in the data displayed (example):
Short Format / Text
Short Format / Comma Delimited
Long Format / Text
<af:selectOneRadio value="#{bindings.Pay_File_Data_FmtVO1.inputValue}"
shortDesc="#{bindings.Pay_File_Data_FmtVO1.hints.tooltip}" id="sor1"
inlineStyle="text-align:left; font-size:2.0em;"
autoSubmit="true" showRequired="false" label="File Format">
<f:selectItems value="#{bindings.Pay_File_Data_FmtVO1.items}" id="si111"/>
</af:selectOneRadio>
public class FileTypesBean {
String fileFormat = null;
String dataFormat = null;
public BindingContainer getBindings() {
return BindingContext.getCurrent().getCurrentBindingsEntry();
public void getFileTypesSelection(ActionEvent actionEvent) {
fileFormat =
(String)resolveExpression("#{bindings.Pay_File_Data_FmtVO1.attributeValue}");
dataFormat =
(String)resolveExpression("#{bindings.Pay_File_Data_FmtVO1.attributeValues[1]}");
//System.out.println("dataFormat = " + dataFormat);
// now put in ParamsBean for use
AdfFacesContext afci = AdfFacesContext.getCurrentInstance();
ParamsBean params =(ParamsBean)afci.getPageFlowScope().get("paramsBean") ;
params.setFileTypeParam(fileFormat);
params.setFileDataTypeParam(dataFormat);
public Object resolveExpression(String el) {
FacesContext facesContext = FacesContext.getCurrentInstance();
ELContext elContext = facesContext.getELContext();
ExpressionFactory expressionFactory =
facesContext.getApplication().getExpressionFactory();
ValueExpression valueExp =
expressionFactory.createValueExpression(elContext, el,
Object.class);
return valueExp.getValue(elContext);
}Thanks in advance,
Troy
Edited by: Hoopestr on Apr 18, 2012 10:54 AMin the amimpl have an edit method, get the value you want to set and set that value for your af:selectOneRadio, row.setAttribute(PayFileDataFmtVO1, value);
Maybe you are looking for
-
Unabel to connect SQLState=IM001
Hi all, I am trying to connect to the server throught the Oracle client 9.2.0.1 I get the following error message Unable to connect SqlState=IM001 *[Microsoft][ODBC Driver Manager] Driver does not support this Function.* I copied the 9.2.0.2 ODBC div
-
Why don't Pages .doc export files open in open office?
Annoying. - Pages is nicer to work on text with - but doesn't seem to export to .doc properly
-
New tab always opens babylon search site - how to change that
http://search.babylon.com/?babsrc=NT_bb this link always appears when i open a new tab. 1. how do i stop this? 2. how do i choose my own default address for new tabs?
-
My illustrator CS3 saved file icon shows as a blank white square?
This is really odd. I store all my AI files in one folder. When I first open the folder, the lovely orange AI icons representing each file all change to white squares (actually they're in portrait or landscape view depending on how the file was saved
-
Hi, I would like to read the number of bytes sent and received on a specific lan connection? I would like to create a simple network monitor. but I could not find anything. Can you help me? I tried to parse the netstat-e but the bytes are not specifi