Problems with Memo data type in access
I have a Java program which is connected to a Microsoft Access Database. When trying to get a Memo data type field out of the DB and putting it into a StringBuffer, it causes a Function sequence error, even though it does put the field into the said StringBuffer.
For all other data types, like text (string), long integer etc there is no error but only for a memo field.
What's the best way to get a memo field out of an Access DB without it causing problems? or should i just forget Microsoft's Access and make my DB in Oracle?
Hi! Can you tell me how connect a java program with a Microsoft access DB? Should I have to use a particular driver? Where I can find it?
thank you vcery much for your help!!
Similar Messages
-
Problem with bool data type in overloading
Please find the following error.
I did following typedef:
typedef bool Boolean;
typedef signed int Sint32;
Problem description:
This error is occurring because Sun CC 5.9 or Solaris 9 g++ considers bool data type as signed Integer, when passed as an constructor argument. First, it is overloading the constructor with �bool� data type and when it comes the turn of �signed integer� to overload constructor, the compiler is giving an error �cannot be overloaded�. The error �redefinition� is also due to bool data type.
Could please let me know, whether i need to add ant compiler option on Sun CC
ERROR in g++:-
( /usr/local/bin/g++ -DSOLARIS_PLATFORM -DUNIX -DPEGASUS_PLATFORM_SOLARIS_SPARC_GNU -DPEGASUS_OS_SOLARIS -DPEGASUS_HAVE_TEMPLATE_SPECIALIZATION -DEXPAND_TEMPLATES -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -Wno-non-template-friend -DTEST_VAI -D__EXTERN_C__ -Dregister= -D_POSIX_PTHREAD_SEMANTICS -Wno-deprecated -DAUTOPASS_DISABLED -DCLUSTER_GEN_APP -DSTAND_ALONE_INTEG -I"/TESTBUILD/p2.08.00/TESTsrc" -I/TESTBUILD/pegasus/src -I"/TESTBUILD/p2.08.00/TESTCommonLib" -O -c -o /TESTBUILD/p2.08.00/TESTobj/TESTBase.o /TESTBUILD/p2.08.00/TESTsrc/TESTBase.cpp );
In file included from /TESTBUILD/pegasus/src/Pegasus/Common/Array.h:74,
from /TESTBUILD/pegasus/src/Pegasus/Common/CIMName.h:40,
from /TESTBUILD/pegasus/src/Pegasus/Client/CIMClient.h:39,
from /TESTBUILD/v2.08.00/TESTsrc/TESTVAIInterface.h:4,
from /TESTBUILD/v2.08.00/TESTsrc/TESTCaVAI.h:24,
from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.h:11,
from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.cpp:1:
/TESTBUILD/pegasus/src/Pegasus/Common/ArrayInter.h:49: error: redefinition of `class Pegasus::Array<Pegasus::Boolean>'
/TESTBUILD/pegasus/src/Pegasus/Common/ArrayInter.h:49: error: previous definition of `class Pegasus::Array<Pegasus::Boolean>'
In file included from /TESTBUILD/pegasus/src/Pegasus/Common/MessageLoader.h:42,
from /TESTBUILD/pegasus/src/Pegasus/Common/Exception.h:44,
from /TESTBUILD/pegasus/src/Pegasus/Common/CIMName.h:41,
from /TESTBUILD/pegasus/src/Pegasus/Client/CIMClient.h:39,
from /TESTBUILD/v2.08.00/TESTsrc/TESTVAIInterface.h:4,
from /TESTBUILD/v2.08.00/TESTsrc/TESTCaVAI.h:24,
from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.h:11,
from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.cpp:1:
/TESTBUILD/pegasus/src/Pegasus/Common/Formatter.h:114: error: `Pegasus::Formatter::Arg::Arg(Pegasus::Sint32)' and `Pegasus::Formatter::Arg::Arg(Pegasus::Boolean)' cannot be overloaded
In file included from /TESTBUILD/pegasus/src/Pegasus/Common/CIMProperty.h:40,
from /TESTBUILD/pegasus/src/Pegasus/Common/CIMObject.h:42,
from /TESTBUILD/pegasus/src/Pegasus/Client/CIMClient.h:41,
from /TESTBUILD/v2.08.00/TESTsrc/TESTVAIInterface.h:4,
from /TESTBUILD/v2.08.00/TESTsrc/TESTCaVAI.h:24,
from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.h:11,
from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.cpp:1:
/TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:92: error: `Pegasus::CIMValue::CIMValue(Pegasus::Sint32)' and `Pegasus::CIMValue::CIMValue(Pegasus::Boolean)' cannot be overloaded
/TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:147: error: `Pegasus::CIMValue::CIMValue(const Pegasus::Array<Pegasus::Boolean>&)' and `Pegasus::CIMValue::CIMValue(const Pegasus::Array<Pegasus::Boolean>&)' cannot be overloaded
/TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:291: error: `void Pegasus::CIMValue::set(Pegasus::Sint32)' and `void Pegasus::CIMValue::set(Pegasus::Boolean)' cannot be overloaded
/TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:323: error: `void Pegasus::CIMValue::set(const Pegasus::Array<Pegasus::Boolean>&)' and `void Pegasus::CIMValue::set(const Pegasus::Array<Pegasus::Boolean>&)' cannot be overloaded
/TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:377: error: `void Pegasus::CIMValue::get(Pegasus::Sint32&) const' and `void Pegasus::CIMValue::get(Pegasus::Boolean&) const' cannot be overloaded
/TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:409: error: `void Pegasus::CIMValue::get(Pegasus::Array<Pegasus::Boolean>&) const' and `void Pegasus::CIMValue::get(Pegasus::Array<Pegasus::Boolean>&) const' cannot be overloaded
*** Error code 1
make: Fatal error: Command failed for target `/TESTBUILD/v2.08.00/TESTsrc/TESTBase.or'
Same ERROR in Sun CC:-
palace /TESTBUILD/p2.08.00/TESTobj-> make -ef Make_SolarisVAICC TESTVAIrun
( /sun-share/SUNWspro/bin/CC -DSOLARIS_PLATFORM -DUNIX -DPEGASUS_PLATFORM_SOLARIS_SPARC_CC -features=bool -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -DTEST_VAI -DEXPAND_TEMPLATES -D__EXTERN_C__ -DPEGASUS_INTERNALONLY -DPEGASUS_OS_SOLARIS -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -DPEGASUS_USE_DEPRECATED_INTERFACES -Dregister= -D_POSIX_PTHREAD_SEMANTICS -DCLUSTER_GEN_APP -DSTAND_ALONE_INTEG -I"/TESTBUILD/v2.08.00/TESTsrc" -I"/Pegasus/pegasus-2.5/src" -I"/TESTBUILD/p2.08.00/TESTCommonLib" -O -c -o /TESTBUILD/p2.08.00/TESTobj/TESTBase.o /TESTBUILD/p2.08.00/TESTsrc/TESTBase.cpp );
"/Pegasus/pegasus-2.5/src/Pegasus/Common/ArrayInter.h", line 47: Error: Multiple declaration for Pegasus::Array<int>.
"/Pegasus/pegasus-2.5/src/Pegasus/Common/Formatter.h", line 103: Error: Multiple declaration for Pegasus::Formatter::Arg::Arg(int).
"/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 90: Error: Multiple declaration for Pegasus::CIMValue::CIMValue(int).
"/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 145: Error: Multiple declaration for Pegasus::CIMValue::CIMValue(const Pegasus::Array<int>&).
"/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 289: Error: Multiple declaration for Pegasus::CIMValue::set(int).
"/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 321: Error: Multiple declaration for Pegasus::CIMValue::set(const Pegasus::Array<int>&).
"/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 375: Error: Multiple declaration for Pegasus::CIMValue::get(int&) const.
"/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 407: Error: Multiple declaration for Pegasus::CIMValue::get(Pegasus::Array<int>&) const.
Thank and Regards,
DileepIn Sun C++, type bool is not equivalent to signed int. I don't think g++ makes it equivalent either.
Please show an example of source code that is causing the problem. -
Problem with packed data type variable?
Hi all,
I have a problem while doing calculations with packed data type variables . As they are saving in the format '0,00'. so unable to do calulations because of ',' .
To convert these fields into str and replacing ',' with '.' is very time consuming because i have many packed data type variables.
Can you please provide any other alternative for over coming this problem? Is there any option while defining these variables?
Thanks,
Vamshi.Hi VAMSHI KRISHNA,
First check out SU01 Tcode (if u don't have permission then u can ask BASIS to do it)
Enter User Name
Execute
Goto Defaults Tab
Check Out Decimal Notation here... set it 1,234,567.89
SAVE it
Log Off once and again login with the same user id and check the result...
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7 -
Problem with datetime data type in Web Service
Hi,
I created local ABAP proxy based on a WSDL and some of the fields for the SOAP methods has data type datetime:
name="MsgEndTimeStamp" type="s:dateTime" />
name="MsgStatus" type="s:string"/>
Since ABAP stack doesnt support dataTime data type it has created the proxy method with data type STRING. Now when I call the proxy method (consuming the service) I get an error:
<CODE>SoapFaultCode:4</CODE>
<ERRORTEXT>Server was unable to read request. --> There is an error in XML document (1, 626). --> String was not recognized as a valid DateTime.</ERRORTEXT>
I am sure others have faced the same issue. Can someone help?
ThanksThanks but I dont think that link is much relevant to the problems I am facing, because I cannot change the web service definition as it is used by many others. Also the target application runs on oracle so thats why some of the fields are datetime and I dont want to change that, even if I could.
I am just stuck in creating the wrapper program to call the service since the SAP converts datetime data type to string and when the messages gets to the application it cannot convert string -> datetime.
thanks anyway -
OBIEE-Answers Problems with NVARCHAR2 data type elements
Hello experts,
After we completed the .rpd development and ported to the real-time environment, when we try to create requests in Answers of Presentation services by selecting certain columns only and try to see results, we are getting an error if the columns are of NVARCHAR type. The error is given below.
This is stopping end users being not able to create any answers/requests. Please suggest how we can resolve this or if any specific things need to be done to solve the problem.
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 87720170. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 24328, message: ORA-24328: illegal attribute value at OCI call OCIAttrSet. [nQSError: 17007] Error while executing OCIDefine routines. (HY000)Hello Damon,
Thanks for the response.
We have also tried to query the same data through SQL*Plus and it went well. We had no issues with any data. Also the .RPD is working in our local system with the same data, on windows OS. But when we port the .RPD in the Server (Sun Solaris) we are having problems with the columns which are considered as NVARCHAR2 in the database and VARCHAR in the Physical layer of BI.
We observed there is no NVARCHAR2 data type supported in BI administrator in building the RPD. Is there any other datatype supports the NVARCHAR2 datatype in BI?
Thanks,
Narasimha -
Problems with Custom Data Types when converting from TS 1.0 to 3.0.
I am currently involved in the process of converting a test environment from TestStand 1.0, LabVIEW 5.1, and Windows NT to TestStand 3.0, LabVIEW 7.0, and Windows XP. We use a custom Operator Interface developed in LV. Based on the entered Model and Serial number, the appropriate Test Sequence is called. We also use a custom Process Model. The steps in the Test Sequence are either LV code modules or DLLs created in C++. We have LV SubVIs and C++ API functions that allow the developers of the test steps to add data to various Custom Data Types. For example, a developer may set up a test to add a note (Step.Result.Notes[x].String) when the test fails. Step.Result.Notes is a container for an array of strings. The attempt to set a note first attempts to use SetDimensions to redimension the array, then SetValString to set the value. These notes are added to the report. On the old system, everything worked fine. A note could be added to any result. On the new system, if a note is added to say the 5th result, but results 1-4 do not have a note, the test sequence ends and the Operator Interface returns to waiting for data entry (as if no test ever happened). No report is generated. The LabVIEW libraries have been modified to solve this problem by calling SetDimensions to incrementally increase the array size by one, and populating the unused TestStand array elements with an empty array of LabVIEW strings using the SetValString call . In other words, based on the previous example, if the user wants to set a note for the 5th result, the notes for results 1-4 must first be sent an empty array of strings. The report will only display the note for Result 5 (as desired). In addition to this being cumbersome, attempting to implement the same workaround in the C++ API has been unsuccessful because even though the note arrays for unwanted notes (1-4) is initialized with nothing, it is still displayed as a note (empty) on the report. If anybody knows what is wrong and what the solution is, it will be appreciated.
Aaron,
Thanks for your reply. I will attempt to clarify. I am working with a single step. The step calls a DLL. The DLL performs many 'checks' on the UUT (e.g. Model Number Check, Serial Number Check, Calibration Constants Check, etc.). Under the Type Palette - MyTypes.ini, we have a Step Type called TEST_DLL with a container in it called Results. In the Results container are a number of things, but I will only list the important ones:
Notes (Array of Type 'Notes'; Type 'Notes' is a Custom Data Type (container, Type Definition)containing an array of strings called 'String')
-Notes are generally set when on of the checks fails, otherwise no Note is set for the check.
Val (Array of Type 'Val'; Type 'Val' is Custom Data Type (container, Type Definition) containing a Boolean called 'Boolean')
-Val indicates whether the check passed of failed
Pseudocode example:
//Model Number Check
check# = 0;
resultBOOL = ModelNumberCheck();
SetDimensions("Step.Result.Val", 0, "[0]", check#);
SetValBoolean("Step.Result.Val[check#].Boolean", 0, resultBOOL);
if(resultBOOL == FAIL)
Note# = 0;
SetDimensions("Step.Result.Notes", 0, "[0]", check#);
SetDimensions(Step.Result.Notes[check#].String, 0, "[0]", Note#);
SetValString("Step.Result.Notes[check#].String[Note#]", 0, "Model Number Check failed");
Note# = 1;
SetDimensions(Step.Result.Notes[check#].String, 0, "[0]", Note#);
SetValString("Step.Result.Notes[check#].String[Note#]", 0, "Model Number = 1234");
//Serial Number Check
check# = 1;
resultBOOL = SerialNumberCheck();
SetDimensions("Step.Result.Val", 0, "[0]", check#);
SetValBoolean("Step.Result.Val[check#].Boolean", 0, resultBOOL);
if(resultBOOL == FAIL)
Note# = 0;
SetDimensions("Step.Result.Notes", 0, "[0]", check#);
SetDimensions(Step.Result.Notes[check#].String, 0, "[0]", Note#);
SetValString("Step.Result.Notes[check#].String[Note#]", 0, "Serial Number does not match expected");
More Checks
As you can see above, the "Step.Result.Val" array is redimensioned for every check. The "Step.Result.Notes" array is only redimensioned when a note needs to be added for a failing check. If the entire step executes and no check adds a note, the sequence is fine. If every check fails and therefore every check adds a note, the sequence is fine. However, if there are any gaps (e.g. check 0 adds a note, check 1 does not add a note, and check 2 tries to add a note), the sequence will stop. If I add blank notes for every check that would otherwise not have a note, the sequence completes, but the report shows the blank note.
Also, the exact code that is causing these problems runs fine on our old systems (TestStand 1.0). I hope that I clarified the problem and thanks again for the help. -
Problem with converting data types
Hi Experts,
I am stuck up with a little problem, i need your help
i am converting all the data types to CHAR but i am not getting the expected data out.........
My code is as below...where do i go wrong...
LOOP AT <T_ITAB> ASSIGNING <FIELD>.
DO.
ASSIGN COMPONENT SY-INDEX OF STRUCTURE <FIELD> TO <RECORD>.
IF SY-SUBRC = 0.
LV_FIELD = <RECORD>.
N = STRLEN( LV_FIELD ).
IF N = '8'.
IF LV_FIELD IS NOT INITIAL.
LV_DATE = LV_FIELD.
CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY'
EXPORTING
DATE = LV_DATE
EXCEPTIONS
PLAUSIBILITY_CHECK_FAILED = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF SY-SUBRC EQ 0.
CONCATENATE LV_FIELD+6(2) LV_FIELD+4(2) LV_FIELD+0(4) INTO LV_FIELD SEPARATED BY '.'.
ENDIF.
ENDIF.
ENDIF.
IF LV_RECORD IS INITIAL.
LV_RECORD = LV_FIELD.
ELSE.
CONCATENATE LV_RECORD LV_FIELD INTO LV_RECORD SEPARATED BY ' * '.
ENDIF.
ELSE.
EXIT." DO
ENDIF.
ENDDO.
APPEND LV_RECORD TO LT_OUTPUT.
CLEAR LV_RECORD.
ENDLOOP.
THE TABLE LT_OUTPUT LIKE THENV(CHAR 255)
My output looks some thing like this:
04 36876 15.09.2011 39600 1999
06 36960 15.09.2011 39600 2632
07 36874 15.09.2011 39541 9232
My expected output
04 36.876 15.09.2011 39.600 1.999
06 36.960 15.09.2011 39.600 2.632
07 36.874 15.09.2011 39.541 9.232
Regards
samAt run time you can see all the data........ like what i have shown...
but if you clearly see, DATE will be in the internal format..but if you print it, it will be in dd:mm:yyyy
can you suggest me if i have a dynamic field symbol (table data) ,,,, How can i convert data types dynamically..
if it is a static internal table i am achieving with WRITE TO statement.....but i have huge data in field symbols...
Instead of all these , please specify the exact problem your are facing . What is it with date field ? . In SAP while printing the internal format will be converted to external. What is your requirement with this date field?
My output looks some thing like this:
04 36876 15.09.2011 39600 1999
06 36960 15.09.2011 39600 2632
07 36874 15.09.2011 39541 9232
My expected output
04 36.876 15.09.2011 39.600 1.999
06 36.960 15.09.2011 39.600 2.632
07 36.874 15.09.2011 39.541 9.232
I dont see any problems mentioned in your date field. Both your actual and expected outputs reflects the same in date field.
In SCN you will only get solutions if your question is precise.
Kesav -
Problem with Comparing Dates in MS Access
Hai Friends
I am using MS ACCESS 2000 Database
I am using the following sqlString in AWT Frame class to fetch the date from MS ACcess Database
I heard that while comparing with >= or <= we need to include # symbol between the date.
I was tried by using #. But i am not able to get the results.
please see the sql query and give me the solution.
Thanksinadvance
Yours
Rajesh
if(Enddate.getText().trim().equals(""))
sqlString = "select * from data_comm_err where log_date >= '" + Startdate.getText() + "'";
if(Startdate.getText().trim().equals(""))
sqlString = "select * from data_comm_err where log_date <= '" + Enddate.getText() + "'";
}non-proprietary query(portable):
PreparedStatement ps = con.prepareStatement("select * from data_comm_err where log_date <= ? ");
ps.setDate(1,new java.sql.Date(Startdate.getTime()));
ResultSet r = ps.executeQuery();
....note: for clarity and good programming style, don't capitalize the first letter of a variable(Startdate)
Jamie -
Problem with a data type (quantum13.3) in the mapping
Hello all,
i have an automated activity in my process which access to a webservice. (The Webservice returned the details of a purchase requisition) At the webservice output mapping i get this error:
"Incompatible expression type ... Expected: com.sap.dictionary.double ... Found: quantum13.3..."
Has anyone an idea how i could accept this data type? Has anyone ever heard of the type "quantum13.3"?
Regards,
BastianHi Bastian,
This error is showing up whenever you try to map incompatible types.
The type of the element you map to is most likely the 'com.sap.dictionary.double' whereas the service is returning an element of type 'quantum13.3'. The mapping expects that both types fit to each other, but they do not.
Check the used service for that specific type. Perhaps it is just a restriction of a 'well-known' type or the service returns the data in another format / element as well.
*edit'
Looking up the type via a well-known search engine showed the following definition:
<xsd:simpleType name="quantum13.3">
<xsd:restriction base="xsd:decimal">
<xsd:totalDigits value="13"/>
<xsd:fractionDigits value="3"/>
</xsd:restriction>
</xsd:simpleType>
Looks like this is a normal 'xsd:decimal' then. Try using 'xsd:decimal' instead of 'com.sap.dictionary.double' within the target element.
Hope that helps,
Martin
Edited by: Martin Moeller on Apr 27, 2009 12:53 PM (type found) -
Problem with the data type in layout
Hi friends,
I am getting one Rate as 20.000 but it should print on the screen as 20
Can any one help me on this issue,
Regards,
Venu.Hi Venu,
Refer this and make changes in the form layout.
Number of Decimal Places
A program symbol of one of the data types DEC, QUAN, and FLTP can contain decimal place data. Use the option below to override the Dictionary definition for the number of decimal places for the formatting of this symbol value.
Syntax
&symbol(.N)&
The EKPO-MENGE field contains the value 1234.56. The Dictionary definition specifies 3 decimal places and an output length of 17.
&EKPO-MENGE& -> 1,234.560
&EKPO-MENGE(.1) -> 1,234.6
&EKPO-MENGE&(.4) -> 1,234.5600
&EKPO-MENGE&(.0) -> 1,235 -
Remote database problem with Geometry data type
Hello!
I'm trying to insert and update a spatial table in a remote database. The syntax looks like:
insert into tableA@remotedb (col1, col2)
select col1, col2 from tableA
where col3='abc';
This works fine with regular tables. But when I try it on spatial tables, I get this error:
'remote operations not permitted on object tables or user-defined type columns'.
My table contains geometry datatype and user-defined datatype. Does anyone know how to solve this problem?
Thanks!I created 2 temp tables in the remote db. One contains MDSYS.SDO_Geometry column without user-defined column; the other one has user-defined column without MDSYS.SDO_Geometry. Both got the same error, ORA-22804: remote operations not permitted on object tables or user-defined type columns.
But strangly, I tried to insert into a local table from a remote table with MDSYS.SDO_Geometry column, and it worked! And I tried the same thing with user-defined column, but it didn't work.
I wonder why insert sdo_geometry column from local db to remote db didn't work, but it worked the other way round. And inserting user-defined column between db didn't work at all! -
Problem with BLOB data type and acute characters
Hi all, I have an issue related with BLOBS cols:
I have table A with a BLOB column and I need to insert that data into another table B, the thing is I use dbms_lob.read() that returns data into a RAW variable and then I convert it to a varchar2(with utl_raw.cast_to_varchar2) and it works ok if I have no "acute characters" on it, e.g Québec.
If I have acute characters, the "é" is inserted wrongly with an "¿" character on the table B. I tested the BLOB on the table A to check the data and the BLOB is showing correctly the "é" character, it seems that the dbms_lob.read() funct cannot handle accute characters and replace them with "¿".
How can I replace acute characters when I use the dbms_lob.read functionality?
Thank you!what's the OS of the db server? is this code an anonymous pl/sql block, or stored pl/sql? does it run on the server or a client? if it's on the client, what's the o/s of the client?
you might want to look at the following, plus the first 3 notes in it's reference section
https://metalink.oracle.com/metalink/plsql/f?p=130:14:3038746456038321058::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,264157.1,1,1,1,helvetica -
Dear all
I am using APEX 4.0, to show an image in my report I have this sql statement (built by using wizard) :
SELECT ProductID, Pro_Name, Pro_Description, Pro_Quantity, Pro_SerialNo, Pro_ModelName, Pro_ModelNo, Pro_Retail, dbms_lob.getlength(Pro_Image)
FROM Products
but for the Image column in the report it only shows the numbers!
any help?
thanks
MazCheck the Format-Mask of your image report column. To display images there should be a small link next to the format mask input item, where you can specify where to read the image from.
See this documentation for some explanation: http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm
brgds,
Peter
Blog: http://www.oracle-and-apex.com
ApexLib: http://apexlib.oracleapex.info
Work: http://www.click-click.at
Training: http://www.click-click.at/apex-4-0-workshops -
Problem with primitive data types range
long longVal = 9898989898L x 9898989898L x 9898989898L;
System.out.println("Calculation Long Value :-- "+longVal);
print ans : -6203015489226638616
but right ans : 970002030010999083816674818792
please help me how to calculate this equation.
Edited by: mylocosoft on Aug 23, 2009 11:53 PMNote: This thread was originally posted in the Concurrency forum, but moved to this forum for closer topic alignment.
-
Problem with output / Data format
Using CFMX 7.0.2
Gupta SQLBase DB
Here is my Query:
<cfquery datasource="_Casewin" name="HomeData">
SELECT CRL_RLINE.RDESC, CRL_RLINE.QUESNO
FROM CRL_RLINE
WHERE CRL_RLINE.R_CASE = '#FORM.CASE_NO#'
</cfquery>
RDESC is a memo data type, but returns this:
1 ðÙT393252 rODBC Ser¨{² \©
2 ðÙ
3
where the actual data is this:
CRL_RLINE.QUESNO CRL_RLINE.RDESC
1 NEIGHBOUR REMOVED FENCING AND WILL NOT REPLACE
2 N.S.W
3 NO
I've tried string formats, trims, justify
any ideas?Thanks Grizzly
The driver is the Gupta SQLBase driver, other queries work
fine from all connections. it just seems to be this one table
throwing the wierd symbols in Coldfusion only.
The Database front end that enters the data is fine, doing
SQL queries in SQLBase, even in excel and access with linked tables
work fine. It is only the output through coldfusion.
This is the only field that uses the memo format, so not sure
if that is the reason
Maybe you are looking for
-
My iPod will not play songs that I've put on it from my computer.
It plays Them on iTunes, but they will not play on my iPod. It selects the songs, and brings up the screen, and the icon is on play, but the songs do not play. They're not songs I bought, it's some that I put on my iPod manually from the music I had
-
Hi, I am configuring Request for change on a SolMan 7.1 SPS 10 system. I have a question regarding the RFC flow. Once the change request is created --> CAB approved --> change manager hands over for development then change document is created. When I
-
Group Asset indicator for tax dep. in asset master
Problem in group asset for tax dep While creating asset master data, indicator for Group Asset is in non - changeable mode for tax depreciation under area 15. When we assign group asset under Additional Specifications in the box Group Asset, system i
-
Sync Error in latest version of Desktop Manager for Mac
Using Version 1.0.2 (build 8) (version of 4/19/10) -- since updating to this version, always get message that "A Sync Error Has Occurred - please try sync again." Seems to be a problem with Contacts because if I sync only Calendar to iCal it works fi
-
Facebook Like or Twitter Share Buttons?
Hi, I know this has been asked a few times but I found that the solutions were either outdated or did not work correctly. Can someone help me figure out how to add a Facebook Like or Twitter Share to the Stage for a specific link: http://www.youtube.