Strange error when prcoessing textarea
Hi, I am getting an error saying "Statement did not generate
a result set." when i try to process a textarea form field. code to
process textarea is:
<cfquery datasource="DMDs">
UPDATE utbl_ContentDetail
SET ContentDetail=
<cfif isdefined("FORM.ContentDetail") AND
#FORM.ContentDetail# NEQ "">
'#ContentDetail#'
<cfelse>
NULL
</cfif>
where ModuleCode ='#ModuleCode#'
</cfquery>
The weird thing is it doesn't happen all the time, its
working around 80% of the time. Any ideas what the it could be??
Thanks for your help
There was a JDBC bug in eary versions of 6.1 that have been
fixed with later versions.
It was reported to be intermittent due to reserved words used
in the data.
The workaround for this is to wrap <cfquery> in
<cftry> block, and then ignore any database error. Of course,
you have to make sure that the SQL is correct and working.
Alternatively, you can put a "SELECT 1" at the end of the SQL, to
force a result set to be generated.
You could try updating your JDBC drivers also.
Similar Messages
-
Strange error when Bootcamp attempts to create partition for Windows
I get a strange error when I tell Bootcamp to create a partition for Windows. I get to the Create a Partition stage. I select 20GB for Windows leaving 91GB (39GB free) for OS X. I then click Partition and it gives me the following error
*The disk cannot be partitioned because some files cannot be moved.*
Back up the disk and use Disk Utility to format it as a single Mac OS Extended (Journaled) volume. Restore your information to the disk and try using Boot Camp Assistant again.
My disk is formatted in Mac OS Extended (Journaled), I have closed all applications (besides Bootcamp Assistant) and I have even restarted and tried again to see if that might help. Nothing. I can't get it to partition. Any thoughts? Can I partition my disk manually through disk utility and then select it in Bootcamp?Hi,
this gets asked at least a thousand times by now.
Have a look at this thread for solution http://discussions.apple.com/thread.jspa?messageID=10540273�
Regards
Stefan -
I have a strange error when I close a combobox:
I have a strange error when I close a combobox:
<mx:ComboBox
id="currencyComboBox"
prompt="Select Currency" dropdownStyleName="dropdown"
labelField="currencyName"
>
<mx:close>
<![CDATA[
selectedItem = ComboBox(event.target).selectedItem;
calculateCustomerData();
]]>
</mx:close>
<mx:change>
<![CDATA[
selectedItem = ComboBox(event.target).selectedItem;
calculateCustomerData();
]]>
</mx:change>
</mx:ComboBox>
RangeError: Index '7' specified is out of bounds.
at
mx.collections::ListCollectionView/getItemAt()[E:\dev\3.0.x\frameworks\projects\framework \src\mx\collections\ListCollectionView.as:422]
This only occurs when its dataprovider is from a result event
rather than its dataprovider from a predifined arraycollection.
private function handleGetBanks(event:ResultEvent):void{
bankResult = new ArrayCollection((event.result as
ArrayCollection).source);
currencyComboBox.dataProvider = event.result as
ArrayCollection;
rather than using the following as a dataprovider:
<mx:ArrayCollection id="currencies">
<mx:Object label="AED" />
<mx:Object label="AUD" />
<mx:Object label="CAD" />
<mx:Object label="EUR" />
<mx:Object label="NZD" />
<mx:Object label="USD" />
<mx:Object label="ZAR" />
</mx:ArrayCollection>
Can anyone see what the problem might be?Sorry my mistake, the change event was being called before
the close event. Then I could debug and find the problem -
Strange Error when previewing or publishing
Hi Muse Family
I am getting a very strange error when I publish to BC or when I go to preview in browser:
"Adobe Muse has encountered an error.. blah blah"
and then a very confusing:
"There should not be such ID exists in the mapping"
It forces Muse to close.
I can't think of any significant step I took to cause this problem from when it was working.To enable the frequent release of new features within Muse, the team is always simultaneously working on many different improvements only some of which are completed and exposed in any given release. In the 2014.1 update some of the underlying code related to SVG support was unintentionally enabled. When copying and pasting from some versions of Adobe Illustrator (and other sources) the result may be an SVG vector graphic in Muse, rather than an image. While the SVG may appear to work in Design view, it can cause failures when exporting or publishing from Muse. This functionality will be disabled in an imminent dot release, 2014.1.1. We advise users to remove SVG content from their sites. Until 2014.1.1 is available, the graphics will need to be brought into Muse as .png, .jpg, .gif or .psd images using File > Place or Import, rather than Copy/Paste.
Sorry for the inconvenience. SVG support will be fully implemented, tested and included in a future major update of Muse.
Additional discussion in this thread <Re: I can paste vectors in muse now, it shows up in preview, and even in a browser preview, but not when I upload.>. -
Strange error when trying to validate a business rule
I get this strange error when I try to validate a business rule:
Detail:Cannot calculate. Essbase Error(1200369): Error optimizing formula for [69972] (line 38): can not cross members from the same dimension
The rule is:
FIX (@RELATIVE("SG&A", 0))
"69972" = (("60001" -> "C1130" -> "All Projects" -> "All Employees") + ("69971" -> "C1130" -> "All Projects" -> "All Employees")) * "SG&A % of C1130" -> "No Cost Center" -> "PNULL" -> "No Employee" * (("Headcount" -> "All Projects" -> "All Employees") - ("C1130"->"Headcount" -> "All Projects" -> "All Employees")) / (("Headcount" -> "SG&A" -> "All Projects" -> "All Employees") - ( "C1130"->"Headcount" -> "SG&A" -> "All Projects" -> "All Employees")) ;
ENDFIXError msg states that you have used crossdim operator with the member of same dim. Cross check again.
EX:
"C1130"->"Headcount" -> "SG&A" -> "All Projects" -> "All Employees"
Are all of these members belong to different dimesions? -
A strange error when starting up Oracle database
When I was starting up an Oracle DB instance on HP-UX B.11.23 U ia64 host, a strange error message was encountered as follows:
======================================================
SQL*Plus: Release 9.2.0.8.0 - Production on Sat Sep 1 21:50:05 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> Connected to an idle instance.
SQL> ORACLE instance started.
Total System Global Area 320290568 bytes
Fixed Size 724744 bytes
Variable Size 285212672 bytes
Database Buffers 33554432 bytes
Redo Buffers 798720 bytes
Database mounted.
ORA-01122: database file 11 failed verification check
ORA-01110: data file 11: '/u01/CADDB/data/cwmlite01.dbf'
ORA-01251: Unknown File Header Version read for file number 11
SQL> Disconnected from Oracle9i Release 9.2.0.8.0 - 64bit Production
JServer Release 9.2.0.8.0 - Production
Database "GPRS" warm started.
======================================================
To my surprise, the file /u01/CADDB/data/cwmlite01.dbf is a data file of the tablespace CWMLITE from another Oracle DB instance named "CADDB". Who can tell me why that? What is the purpose of the tablespace CWMLITE in a DB?Hm, what does this have to do with "Community Feedback and Suggestions"?
Please move your post to a more apropriate forum such as General Database Discussions -
Meet with a strange error when starting up an Oracle DB instance
When I was starting up an Oracle DB instance on HP-UX B.11.23 U ia64 host, a strange error message was encountered as follows:
======================================================
SQL*Plus: Release 9.2.0.8.0 - Production on Sat Sep 1 21:50:05 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> Connected to an idle instance.
SQL> ORACLE instance started.
Total System Global Area 320290568 bytes
Fixed Size 724744 bytes
Variable Size 285212672 bytes
Database Buffers 33554432 bytes
Redo Buffers 798720 bytes
Database mounted.
ORA-01122: database file 11 failed verification check
ORA-01110: data file 11: '/u01/CADDB/data/cwmlite01.dbf'
ORA-01251: Unknown File Header Version read for file number 11
SQL> Disconnected from Oracle9i Release 9.2.0.8.0 - 64bit Production
JServer Release 9.2.0.8.0 - Production
Database "GPRS" warm started.
======================================================
To my surprise, the file /u01/CADDB/data/cwmlite01.dbf is a data file of the tablespace CWMLITE from another Oracle DB instance named "CADDB". Who can tell me why that? What is the purpose of the tablespace CWMLITE in a DB?What I know is that CWMLITE is to do with OLAP. This tablespace is used to store OLAPSYS schema.
<<To my surprise, the file /u01/CADDB/data/cwmlite01.dbf is a data file of the tablespace CWMLITE from another Oracle DB instance named "CADDB">>
If the file doesn't belong to your database then it could be that you are using a wrong controlfile. -
Strange error when adding book on another book (LibraryEntitlementHelper?!)
Hi,
when I try to add book to another book with PortalCustomizationManager I get this strange error:
java.lang.IllegalArgumentException: Argument [webAppName] to method [createResource] in class [com.bea.netuix.application.manager.entitlement
s.LibraryEntitlementHelper] cannot have error/be [null].
What the hell is LibraryEntitlementHelper and why google, bea edocs and bea portal javadoc knows nothing about it?How did you create the CustomizationContext when calling the method on the EJB.
you need to make sure you pass in the ServletRequest. If you are calling this from outside a web container. you wil need to use a mock request or take a look at ExportImportManager.
Chris Jolley
Portal Architect -
SO I am getting a strange error when trying to access the FIM Management Agents
Hi Everyone,
So I am getting a really odd error when I go to FIM --> Management Agents -->MOSS-guid ID right click on that and choose porperties, then Configure Connection Information, then I click OK and I get this pop up error "the type of 'pictureurl' string
is not compatible with the type of 'sps_mv_octelstring_pictureurl'. I got here by noticing that in the error log there was an error that said:
The management agent "MOSS-guid ID" failed on run profile "MOSS_EXPORT_Guid ID" because the server encountered errors.
when I searched on that error, it lead me to a ton of blogs that said to do the following:go to FIM --> Management Agents -->MOSS-guid ID right click on that and choose porperties, then Configure Connection Information at the bottom of the page there
is a Connect To field and every blog I read said to change it to direct:{Domain}:{Port}. The thing is that my domain and port were fine, so that is when I clicked ok, and got that error message. Ever since this happened, my FIM has been broken, and I really
can't figure out why???
So I haven't done any updates to the server in at least a year, so nothing could be happening there.
Any help at all with this would be taken with the greatest appreciation.
Best regards, MikeWhat you're doing is unsupported. You need to manipulate the MAs via Central Admin -> Manage Service Applications, find your UPA SA and manage it. You can then Manage User Properties and make changes to the Picture property from here.
Trevor Seward
Follow or contact me at...
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Strange error when starting tnslsnr on AIX machine
Hello!
I have the following system:
there are two nodes (say, node1 and node2) in HACMP cluster (OS is AIX 5.2). ORACLE runs on node2 and our software - on node1 (in normal state). Also there is an external storage, where ORACLE's and software's file systems are situated.
So, in normal state ORACLE runs on node2 and software - on node1. ORACLE's filesystems are mounted on node2 and software's filesystem - on node1.
There can be two more states of working system:
1. when node1 fails and all it's resources are acquired by node2 (filesystems and IP). In this state ORACLE and software are executed on node2.
2. when node2 fails and it's IP and filesystems are acquired by node1. ORACLE and software are executed on node1.
So, in failover state no.2 everything works ok. In failover state no.1 and in normal state i get an error when i try to run tnslsnr:
oracleuser$> lsnrctl start
LSNRCTL for IBM/AIX RISC System/6000: Version 9.2.0.6.0 - Production on 26-SEP-2005 14:43:58
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Starting /oracle/MFP/920_64/bin/tnslsnr: please wait...
TNSLSNR for IBM/AIX RISC System/6000: Version 9.2.0.6.0 - Production
System parameter file is /oracle/MFP/920_64/network/admin/listener.ora
Log messages written to /oracle/MFP/920_64/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=prdr3dbt)(PORT=1527)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
IBM/AIX RISC System/6000 Error: 13: Permission denied
Listener failed to start. See the error message(s) above...
oracleuser$
When i edit listener.ora (replace "prdr3dbt" by corresponding IP-address) and try to start tnslsnr again, the startup procedure hangs and does not finish for a long time (it hangs until I press CONTROL-C key combination) and i get a huge amount of such error:
TNS-12531: TNS:cannot allocate memory
26-SEP-2005 15:17:50 * 12531
TNS-12531: TNS:cannot allocate memory
26-SEP-2005 15:17:50 * 12531
TNS-12531: TNS:cannot allocate memory
26-SEP-2005 15:17:50 * 12531
TNS-12531: TNS:cannot allocate memory
26-SEP-2005 15:17:50 * 12531
TNS-12531: TNS:cannot allocate memory
26-SEP-2005 15:17:50 * 12531
TNS-12531: TNS:cannot allocate memory
26-SEP-2005 15:17:50 * 12531
TNS-12531: TNS:cannot allocate memory
26-SEP-2005 15:17:50 * 12531
TNS-12531: TNS:cannot allocate memory
26-SEP-2005 15:17:50 * 12531
TNS-12531: TNS:cannot allocate memory
I am sure that there is nothing wrong with oracle's files, becouse they are on EXTERNAL storage and the system doesn't work only in two of three states (in one of states it works fine).'TNS-12531: TNS:cannot allocate memory' may be misleading, it seems to be a permission problem (see also IBM/AIX RISC System/6000 Error: 13: Permission denied). A possible reason is:
Oracle (more specific the listener) is unable to read /etc/hosts, because of permission problems. So host resolution is not possible. -
Strange error when saving from workbench
I get this error when i try and save my project from the workbench. Any ideas?
thanks
craig
Throwable Class Name:
oracle.toplink.exceptions.QueryException
Message:
Exception Description: The object [MWTable[1144A84] (ARGUMENTS)], of class [class oracle.toplink.workbench.model.db.MWTable], with identity hashcode (System.identityHashCode()) [18,107,012],
is not from this UnitOfWork object space, but the parent session's. The object was never registered in this UnitOfWork,
but read from the parent session and related to an object registered in the UnitOfWork. Ensure that you are correctly
registering your objects. If you are still having problems, you can use the UnitOfWork.validateObjectSpace() method to
help debug where the error occurred. For more information, see the manual or FAQ.
Stack trace:
Local Exception Stack:
Exception [TOPLINK-6004] (OracleAS TopLink - 10g (9.0.4.1) (Build 040128)): oracle.toplink.exceptions.QueryException
Exception Description: The object [MWTable[1144A84] (ARGUMENTS)], of class [class oracle.toplink.workbench.model.db.MWTable], with identity hashcode (System.identityHashCode()) [18,107,012],
is not from this UnitOfWork object space, but the parent session's. The object was never registered in this UnitOfWork,
but read from the parent session and related to an object registered in the UnitOfWork. Ensure that you are correctly
registering your objects. If you are still having problems, you can use the UnitOfWork.validateObjectSpace() method to
help debug where the error occurred. For more information, see the manual or FAQ.
at oracle.toplink.exceptions.QueryException.backupCloneIsOriginalFromParent(QueryException.java:153)
at oracle.toplink.publicinterface.UnitOfWork.getBackupClone(UnitOfWork.java:1529)
at oracle.toplink.publicinterface.UnitOfWork.calculateChanges(UnitOfWork.java:433)
at oracle.toplink.publicinterface.UnitOfWork.getChanges(UnitOfWork.java:1584)
at oracle.toplink.workbench.ui.WorkbenchSession.saveProject(WorkbenchSession.java:676)
at oracle.toplink.workbench.ui.MainView.saveProject(MainView.java:1951)
at oracle.toplink.workbench.ui.MainView.saveSelectedProjects(MainView.java:2031)
at oracle.toplink.workbench.ui.ActionManager$103.actionPerformed(ActionManager.java:2198)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)Does it happen when you do a "Save As" also? Are you able to do a "Save As" immediately after you get the error and perhaps rescue the project?
You'll need to open a tar, hopefully the series of steps that led up to this is reproducable.
- Don -
[SOLVED] Strange Error When Rebooting
Hello everyone, I'm getting an error when I shut down, and I'm not sure what it means. I copied and pasted the error into Google but didn't find anything. Here is the error in question:
Nov 10 17:47:34 Athena udevd[2715]: '/sbin/blkid -o udev -p /dev/sda2' [2716] exit with status 0xffffffff
Anyone know exactly what this means?
Last edited by jlacroix (2011-11-12 19:34:20)jlacroix wrote:
oboedad55 wrote:
jlacroix wrote:
Hello everyone, I'm getting an error when I shut down, and I'm not sure what it means. I copied and pasted the error into Google but didn't find anything. Here is the error in question:
Nov 10 17:47:34 Athena udevd[2715]: '/sbin/blkid -o udev -p /dev/sda2' [2716] exit with status 0xffffffff
Anyone know exactly what this means?
I had the same thing and posted as well. Here's the reply I got:
https://bbs.archlinux.org/viewtopic.php?id=129938
I don't completely understand that. Did you fix it somehow, or did you conclude that it's not really anything to worry about?
In my case, I started having this problem when I wiped my drive and rebuilt my Arch installation. I don't think I had this problem with my previous install. And in my case, sda2 is my swap partition.
I have the same problem with udisks complaining about my swap partition. It happens after swapoff is called, at the stage when daemons are terminated. As was indicated in the ML thread, this is a udev issue and is pretty harmless. I
guess a solution would be to add a timeout to rc.shutdown between swapoff and kill_all(), but first I would wait for the new initscripts and see whether the problem persists. -
Strange errors when cloning.... VDI3 u2 / 7410 2.5
Hi,
does anyone know what could be the cause of these kind of errors when using automatic cloning in pool
symptoms are that it sometimes clones and sometimes not?
FINEST: thr#17 Executing command script run('cd /') ; run('shares') ; run('select
vdi') ; stdout = run('get space_available') ; print(stdout) ; stdout = run('get
space_total') ; print(stdout) on host sunvdi-storage-01:22 for user root
Oct 13, 2009 11:13:45 AM com.sun.vda.service.persistence.PersistenceImpl
update
FINEST: thr#19 Updating object [id=32] class
com.sun.vda.service.persistence.PersistentPool
Oct 13, 2009 11:13:45 AM com.sun.vda.service.persistence.PersistenceImpl
update
FINEST: thr#19 Updating object [id=32] class
com.sun.vda.service.persistence.PersistentPool
Oct 13, 2009 11:13:47 AM com.sun.vda.service.vbox.SshServer
executeCommand
FINEST: thr#17 executed script run('cd /') ; run('shares') ; run('select vdi') ;
stdout = run('get space_available') ; print(stdout) ; stdout = run('get
space_total') ; print(stdout)
Oct 13, 2009 11:13:47 AM com.sun.vda.service.vbox.AmberStorage
getStorageDiskSpace
FINE: thr#17 missing data from storage
java.util.NoSuchElementException
at java.util.LinkedList$ListItr.next(LinkedList.java:554)
at
com.sun.vda.service.vbox.AmberStorage.getStorageDiskSpace(Unknown
Source)
at com.sun.vda.service.vbox.StorageCache$Retriever.run(Unknown
Source)
Oct 13, 2009 11:13:47 AM com.sun.vda.service.vbox.StorageCache$Retriever
run
FINEST: thr#17 Cached size:-1 available:-1 for storage sunvdi-storage-01:vdi
Oct 13, 2009 11:13:47 AM com.sun.vda.service.vbox.SshServer
executeCommand
FINEST: thr#17 Executing command script run('cd /') ; run('shares') ; run('select
default') ; stdout = run('get space_available') ; print(stdout) ; stdout = run('get
space_total') ; print(stdout) on host sunvdi-storage-01:22 for user root
Cheers,
AntonHi,
does anyone know what could be the cause of these kind of errors when using automatic cloning in pool
symptoms are that it sometimes clones and sometimes not?
FINEST: thr#17 Executing command script run('cd /') ; run('shares') ; run('select
vdi') ; stdout = run('get space_available') ; print(stdout) ; stdout = run('get
space_total') ; print(stdout) on host sunvdi-storage-01:22 for user root
Oct 13, 2009 11:13:45 AM com.sun.vda.service.persistence.PersistenceImpl
update
FINEST: thr#19 Updating object [id=32] class
com.sun.vda.service.persistence.PersistentPool
Oct 13, 2009 11:13:45 AM com.sun.vda.service.persistence.PersistenceImpl
update
FINEST: thr#19 Updating object [id=32] class
com.sun.vda.service.persistence.PersistentPool
Oct 13, 2009 11:13:47 AM com.sun.vda.service.vbox.SshServer
executeCommand
FINEST: thr#17 executed script run('cd /') ; run('shares') ; run('select vdi') ;
stdout = run('get space_available') ; print(stdout) ; stdout = run('get
space_total') ; print(stdout)
Oct 13, 2009 11:13:47 AM com.sun.vda.service.vbox.AmberStorage
getStorageDiskSpace
FINE: thr#17 missing data from storage
java.util.NoSuchElementException
at java.util.LinkedList$ListItr.next(LinkedList.java:554)
at
com.sun.vda.service.vbox.AmberStorage.getStorageDiskSpace(Unknown
Source)
at com.sun.vda.service.vbox.StorageCache$Retriever.run(Unknown
Source)
Oct 13, 2009 11:13:47 AM com.sun.vda.service.vbox.StorageCache$Retriever
run
FINEST: thr#17 Cached size:-1 available:-1 for storage sunvdi-storage-01:vdi
Oct 13, 2009 11:13:47 AM com.sun.vda.service.vbox.SshServer
executeCommand
FINEST: thr#17 Executing command script run('cd /') ; run('shares') ; run('select
default') ; stdout = run('get space_available') ; print(stdout) ; stdout = run('get
space_total') ; print(stdout) on host sunvdi-storage-01:22 for user root
Cheers,
Anton -
Strange error when processing form
Hi, I am getting an error saying "Statement did not generate
a result set." when i try to process a textarea form field. code to
process textarea is:
<cfquery datasource="DMDs">
UPDATE utbl_ContentDetail
SET ContentDetail=
<cfif isdefined("FORM.ContentDetail") AND
#FORM.ContentDetail# NEQ "">
'#ContentDetail#'
<cfelse>
NULL
</cfif>
where ModuleCode ='#ModuleCode#'
</cfquery>
The weird thing is it doesn't happen all the time, its
working around 80% of the time. Any ideas what the it could be??
Thanks for your helpDoes this work any better? The <cfqueryparam> tags
should escape any weird character formatting you might be
experiencing.
<cfif isdefined("FORM.ContentDetail") AND
#FORM.ContentDetail# NEQ "">
<cfset sContentDetail = Form.contentDetail>
<cfelse>
<cfset sContentDetail = "NULL">
</cfif>
<cfquery datasource="DMDs">
UPDATE utbl_ContentDetail
SET ContentDetail= <cfqueryparam
cfsqltype="CF_SQL_VARCHAR" value="#sContentDetail">
where ModuleCode = <cfqueryparam
cfsqltype="CF_SQL_VARCHAR" value="#ModuleCode#"> -
Strange Error When Accessing Members Of A Class
I'm having a problem referencing a member of an interface I've just created.
I've created a UIView ( TestView ) in IB and had it write out the class definition and add it to my project. Within this view are two UILabels that I've named and have references to them by means of IBOutlet from within my TestView interface.
Here is the TestView interface:
TestView.h:
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
@interface TestView : UIView {
IBOutlet UILabel *Text1;
IBOutlet UILabel *Text2;
@end
TestView.m:
#import "TrashView.h"
@implementation TrashView
@end
I then have a reference via IBOutlet to my TestView from within my main window:
MyAppDelegate.h:
#import <UIKit/UIKit.h>
@class TestView;
@interface MyAppDelegate : NSObject <UIApplicationDelegate> {
IBOutlet UIWindow *window;
IBOutlet TestView *testView;
@property (nonatomic, retain) UIWindow *window;
@end
MyAppDelegate.m:
#import "LSAppDelegate.h"
#import "TestView.h"
@implementation MyAppDelegate
@synthesize window;
- (void)applicationDidFinishLaunching:(UIApplication *)application {
// Adjust text lables
[ testView.Text1 setText:@"Hello World!" ];
- (void)dealloc {
[window release];
[testView release];
[super dealloc];
@end
However I get a strange compiler error from the line where I'm trying to set the text of the label:
error: request for member 'Text1' in 'testView', which is of non-class type 'UIView'
Anyone know what this means?
Thanks!It not only depends on where the field is added but also on which fields were selected at the time of variant creation. In other words, the screen on which you are providing variant has now an extra field. You can try by just restricting that field from being displayed ont he screen by through Settings->Fields for selection.
Try hiding the new field or any fields and make sure the structure is the same as before.
For example.. there are 5 fields in your table...
fld1
fld2
fld3
fld4
fld5
You have created variant when the structure was like this:
fld1
fld2
fld4
Now, you have added fld6 at the bottom and the screen is given as:
fld1
fld2
fld3
fld4
fld5
fld6...
Now it gives error for sure... but if you try hiding fld3 and fld5... this solves the problem... fld6 will not affect as it is placed at last...
Hope this solves your problem.
Edited by: Srinivas Kalluri on Aug 5, 2011 3:46 PM
Edited by: Srinivas Kalluri on Aug 5, 2011 3:49 PM
Maybe you are looking for
-
Double to String with 2 characters decimals
How to a get a String from a Double with only 2 characters after the dot/comma ? chmurb
-
Lumia 920 micro usb -- vga ?
Hi, I wonder if it is possible to use a Lumia 920 and a projector with a "micro usb to vga" cable? Thanks in advance!
-
BUG: Oracle Java Compiler bug with anonymous inner classes in constructor
The following code compiles and runs just fine using 1.4.2_07, 1.5.0_07 and 1.6.0_beta2 when compiling and running from the command-line. It does not run when compiling from JDeveloper 10.1.3.36.73 (which uses the ojc.jar). When compiled from JDevelo
-
Error while deploying inbound java server proxy on PI7.1....
Check this link: https://wiki.sdn.sap.com/wiki/display/JSTSG/(JSTSG)(TG)Q1127 Regards, Ravi
-
'Save for Web' action does not set transparency for gifs ??!?
I recorded an action that just performs a 'Save for Web' while setting the white background to transparent. The action does not save/preserve the transparency, in any mode I run it (i.e. Destination None | Save&close | folder). Is this a known bug ?!