Error in extracting String value from MS ACCESS via JDBC
Something wierd occurs in my program. I have a ACCESS database table named FormDetail. The attributes are:
name memo
val memo
The actual data store in such a table is
haihe 2
String test="SELECT name, val FROM FormDetail";
rs = stmt.executeQuery(test);
while(rs.next())
{ String name = rs.getString("name");
String value = rs.getString("val");
System.out.println("name: "+name+" value: "+value);
When I execute the code, the output is
name: haihe value:
NO VALUE print out. Why?
Any suggestion will be helpful! Thanks!
Though not using Access myself in the moment, I remember a lot of post about its memo fields.
Recommend to search for "+access +memo" here.
Similar Messages
-
How to get string value from xml in JSF??
In JSF How to get string value from xml, .ini and properties file. I want to get string value from xml or text to JSF
Just use the appropriate API's for that. There are enough API's out which can read/parse/write XML, ini and properties files. E.g. JAXP or DOM4J for xml files, INI4J for ini files and Sun's own java.util.Properties for propertiesfiles.
JSF supports properties files as message bundle and resource bundle so that you can use them for error messages and/or localization. -
Short dump error when extracting delta records from R/3
I am working on BW 3.5 and I am facing some short dump error when extracting delta records from the r/3 to BW.
Below is the error message
Kindly do the needful ASAP.
Job started
Step 001 started (program SBIE0001, variant &0000000024277, user ID BWREMOTE)
Asynchronous transmission of info IDoc 2 in task 0001 (0 parallel tasks)
DATASOURCE = 0ISCM_PAYMENT_01
Current Values for Selected Profile Parameters *
abap/heap_area_nondia......... 2000000000 *
abap/heap_area_total.......... 2000000000 *
abap/heaplimit................ 40000000 *
zcsa/installed_languages...... DE *
zcsa/system_language.......... E *
ztta/max_memreq_MB............ 2047 *
ztta/roll_area................ 6500000 *
ztta/roll_extension........... 2000000000 *
2,454 LUWs confirmed and 2,454 LUWs to be deleted with function module RSC2_QOUT_CONFIRM_DAT
ABAP/4 processor: MESSAGE_TYPE_X
Job cancelledHi,
I look at the transaction ST22 to see which type of error has given you. Take a look at the notes to correct the error.
Another option is to look at OSS notes, because the error is giving you a standard extractor.
Greetings, -
How to retrieve query string value from the URL in my portlet
Hi,
When user clicks on "Advance Search", i am redirecting to page in the community. At the same i am adding some more values to the query string (to the URL).
My URL will look like this.
http://ctp-mc0149/portal/server.pt?space=CommunityPage&parentname=CommunityPage&parentid=0&in_hi_userid=200&cached=true&control=SetCommunity&PageID=202&CommunityID=200&searchType=2
Now in one of my portlet in that page, i want to retrieve the query string values from the URL.
Please help me regarding this.
Thanks in advance.
Thanks,
sreekanth.Hi,
Look at the following threads,
For programmatically getting the iview properties,
Programmatically getting iView Properties
Also,
Get Properties of IView Programmatically
Permanent change of iView property programmatically
Hope these threads help u.
Regards
Srinivasan T -
Using WQL "one-liner" to extract a value from the registry
Can I extract a value from the registry using a "one-liner" WQL command? Something like the following:
Under root\default:StdRegProv
SELECT <Data> FROM "HKLM:SOFTWARE\Toto\Version"
Please note that I am aware of how this is done via script. The problem is that I'm using a management system (SCOM), which only allows me to supply a simple WQL query to perform my evaluation.
Thanks,
LarryHi Larry,
There have a specific forum to support the scripting related question, i sugges you ask in Scripting forum there will have more
professional engineer will help you.
The Official Scripting Guys Forum!
https://social.technet.microsoft.com/Forums/en-US/9d5a7990-b975-488a-b7c0-6d866f29cf0a/change-mouse-scheme?forum=ITCG
Best Regards,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
HOw to connect and extract the data from MS ACCESS SOURCE(Database) system
Hi experts ,
I have to extract the data from MS access database system using JDBC adapter will it work if Yes HOW?Hi Sushma,
how to configure sendor JDBC adapter ..
Select adapter type is JDBC..
Give the Transport Protocol:.JDBC 2.0 (Example)............
Message Protocol:...JDBC...........
IAdapter Engine : Integration Server
Processing Parameters..
Quality of service.....(Example)..Exactly once
Poll Interval .... Example ..10
Query Sql statement..Example ..select * from XXXXX
Document Name.....
Update Sql stetement.....
Thanks,
Satya
Reward points if it id useful... -
Get string value from enumerated value on AE user interface
Hello.
I'm trying to get the string value from a enumerated value on a layer's property.
When I get the value via script, I have 1D value. However, I need the string value.
In this example, the value I would get is 1. Is there any way I can get "Horizontal and Vertical".
I'm looking for a generic way (any property value defined this way), not for this case only.
Thanks for the help.
cheers.You get the selected value via the value property of the component.
Timo -
How to send a String value from Servlet to Action class in Struts .
when iam trying to send string value from Servlet to Struts Action class through Http Session, iam getting null value, iam really in big confusion, help me.
please elaborate clearly or put you code of both action and servlet here
Are both of them in same web application -
Retrieving data from Microsoft Access using JDBC
I noticed that when i tried retrieving data from Microsoft access using JDBC, I realised that it was throwing SQLException when the column names were two word with spaces between them, e.g. Date Birth. But after i removed the space from the column names, my SQL queries were retrieving data. Was it because of the space in between the column names of the table?
Yeah, as far as I know having two word column names isn't allowed in SQL. There might be some way to escape it, but generally it's sensible to avoid it.
-
10G Forms connect to MS Access via JDBC
A new project requires a 10G Form to connect to MS Access database. I understand 10G no longer connects to Access using ODBC. Will JDBC work? If JDBC can be used does anyone have a "How To" document or examples on how to connect orms 10G to MS Access via JDBC
Thanks
RalphI dont think it will work. In 10g forms is going to implement transparent gateways.
Is there a possibility of getting the data from MS access directly to Oracle database and then connect to Oracle DB from forms ?
Rajesh Alex -
Extract number value from string
Hi,
I am getting a string value like bellow.
'2222jhone'
'123344Sam'
'11Tim'
i want to extract only number value.Can anybody help to prepare reg expression.
TahnksYou NEVER want to use REGEXP_REPLACE when looking to query fields with numbers only because you are actually changing the data by removing or replacing with something that was not originally in the dataset. Use REGEXP_LIKE - SEE BELOW.
SELECT <FieldNames>
WHERE REGEXP_LIKE(<FieldName>, '^[[:digit:]]+$')
--This will only return fields that contain NUMBERS ONLY. -
How to extract a string value from a varchar column
Hi,
I've a varchar2 column which has got xml data. I want to extract the value of some tag <test></test>
I can't use EXTRACT as the column is not XMLTYPE.
Please suggest.Hi,
make a new temporary table table wirth columns as the same name as TAGS in your XML.
extract the XML in a temporary variable.
pass it to the below proc with the table name created in step1 , it will populate the temporary table with the XML data.
PROCEDURE prc_save_xml(
iv_table_name IN VARCHAR2,
ic_xmlstring IN CLOB,
on_count OUT NUMBER,
ov_remarks OUT VARCHAR2,
ov_status OUT VARCHAR2,
iv_row_tag IN VARCHAR2 DEFAULT 'ROW'
) IS
insctx dbms_xmlsave.ctxtype;
doc CLOB;
BEGIN
--Get a context handle
insctx := dbms_xmlsave.newcontext(iv_table_name);
dbms_xmlsave.setdateformat(insctx, 'YYYYMMDD');
dbms_xmlsave.setrowtag(insctx, iv_row_tag);
ov_remarks := 'Inserting now';
on_count := dbms_xmlsave.insertxml(insctx, ic_xmlstring);
ov_remarks := 'Inserted now';
dbms_xmlsave.closecontext(insctx);
--set return status as Success
ov_remarks := 'Sucess';
ov_status := gv_success;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.put_line('IN OTHERS :' || SQLERRM);
ov_status := gv_failure;
ov_remarks := ov_remarks || ':' || SQLERRM;
on_count := 0;
END prc_save_xml; -
NullPointerException was thrown while extracting a value from an instance
Dear all,
We have got a null point exception during commit call. According to the stack trace shown below, it seems that it is a problem due to instance variable accessor. As we know toplink use reflection to access the instance variable value. I am curious whether the exception we got is related to any class-loader setting. Thanks a lot.
=================
Stack Trace:
Exception [TOPLINK-69] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle
.toplink.exceptions.DescriptorException
Exception Description: A NullPointerException was thrown while extracting a valu
e from the instance variable [versionID] in the object [com.oocl.csc.frm.pom.tes
t.model.Company].
Internal Exception: java.lang.NullPointerException
Mapping: oracle.toplink.mappings.DirectToFieldMapping[versionID-->COMPANY.VERSIO
NID]
Descriptor: Descriptor(com.oocl.csc.frm.pom.test.model.Company --> [DatabaseTabl
e(COMPANY)])
at oracle.toplink.exceptions.DescriptorException.nullPointerWhileGetting
ValueThruInstanceVariableAccessor(DescriptorException.java:1022)
at oracle.toplink.internal.descriptors.InstanceVariableAttributeAccessor
.getAttributeValueFromObject(InstanceVariableAttributeAccessor.java:68)
at oracle.toplink.mappings.DatabaseMapping.getAttributeValueFromObject(D
atabaseMapping.java:304)
at oracle.toplink.mappings.DirectToFieldMapping.iterate(DirectToFieldMap
ping.java:355)
at oracle.toplink.internal.descriptors.ObjectBuilder.iterate(ObjectBuild
er.java:1438)
at oracle.toplink.internal.descriptors.DescriptorIterator.iterateReferen
ceObjects(DescriptorIterator.java:258)
at oracle.toplink.internal.descriptors.DescriptorIterator.startIteration
On(DescriptorIterator.java:407)
at oracle.toplink.publicinterface.UnitOfWork.discoverUnregisteredNewObje
cts(UnitOfWork.java:1368)
at oracle.toplink.publicinterface.UnitOfWork.discoverAllUnregisteredNewO
bjects(UnitOfWork.java:1290)
at oracle.toplink.publicinterface.UnitOfWork.assignSequenceNumbers(UnitO
fWork.java:326)
at oracle.toplink.publicinterface.UnitOfWork.collectAndPrepareObjectsFor
Commit(UnitOfWork.java:664)
at oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeS
et(UnitOfWork.java:1130)
at oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(UnitOf
Work.java:956)
at oracle.toplink.publicinterface.UnitOfWork.commit(UnitOfWork.java:771)
====================
====================
Mapping Description:
<?xml version = '1.0' encoding = 'UTF-8'?>
<project>
<project-name>POM-TEST</project-name>
<login>
<database-login>
<platform>oracle.toplink.oraclespecific.Oracle9Platform</platform>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<connection-url>jdbc:oracle:thin:@sjcngdb2:1521:cdrfrmdv</connection-ur
l>
<user-name>pomowner</user-name>
<password>BB742416276274A47F360CCDD2711570</password>
<uses-native-sequencing>false</uses-native-sequencing>
<sequence-preallocation-size>50</sequence-preallocation-size>
<sequence-table>SEQUENCE</sequence-table>
<sequence-name-field>SEQ_NAME</sequence-name-field>
<sequence-counter-field>SEQ_COUNT</sequence-counter-field>
<should-bind-all-parameters>false</should-bind-all-parameters>
<should-cache-all-statements>false</should-cache-all-statements>
<uses-byte-array-binding>true</uses-byte-array-binding>
<uses-string-binding>false</uses-string-binding>
<uses-streams-for-binding>false</uses-streams-for-binding>
<should-force-field-names-to-upper-case>false</should-force-field-names
-to-upper-case>
<should-optimize-data-conversion>true</should-optimize-data-conversion>
<should-trim-strings>true</should-trim-strings>
<uses-batch-writing>false</uses-batch-writing>
<uses-jdbc-batch-writing>true</uses-jdbc-batch-writing>
<uses-external-connection-pooling>false</uses-external-connection-pooli
ng>
<uses-external-transaction-controller>false</uses-external-transaction-
controller>
<type>oracle.toplink.sessions.DatabaseLogin</type>
</database-login>
</login>
<java-class>com.oocl.csc.frm.pom.test.model.Company</java-class>
<tables>
<table>COMPANY</table>
</tables>
<primary-key-fields>
<field>COMPANY.COMPANY_KEY</field>
</primary-key-fields>
<descriptor-type-value>Normal</descriptor-type-value>
<identity-map-class>oracle.toplink.internal.identitymaps.SoftCacheWeakI
dentityMap</identity-map-class>
<remote-identity-map-class>oracle.toplink.internal.identitymaps.SoftCac
heWeakIdentityMap</remote-identity-map-class>
<identity-map-size>100</identity-map-size>
<remote-identity-map-size>100</remote-identity-map-size>
<should-always-refresh-cache>false</should-always-refresh-cache>
<should-always-refresh-cache-on-remote>false</should-always-refresh-cac
he-on-remote>
<should-only-refresh-cache-if-newer-version>false</should-only-refresh-
cache-if-newer-version>
<should-disable-cache-hits>false</should-disable-cache-hits>
<should-disable-cache-hits-on-remote>false</should-disable-cache-hits-o
n-remote>
<alias>Company</alias>
<copy-policy>
<descriptor-copy-policy>
<type>oracle.toplink.internal.descriptors.CopyPolicy</type>
</descriptor-copy-policy>
</copy-policy>
<instantiation-policy>
<descriptor-instantiation-policy>
<type>oracle.toplink.internal.descriptors.InstantiationPolicy</ty
pe>
</descriptor-instantiation-policy>
</instantiation-policy>
<query-manager>
<descriptor-query-manager>
<existence-check>Check cache</existence-check>
</descriptor-query-manager>
</query-manager>
<event-manager>
<descriptor-event-manager empty-aggregate="true"/>
</event-manager>
<mappings>
<database-mapping>
<attribute-name>companyKey</attribute-name>
<read-only>false</read-only>
<field-name>COMPANY.COMPANY_KEY</field-name>
<type>oracle.toplink.mappings.DirectToFieldMapping</type>
</database-mapping>
<database-mapping>
<attribute-name>contact</attribute-name>
<read-only>false</read-only>
<reference-class>com.oocl.csc.frm.pom.test.model.Contact</referen
ce-class>
<is-private-owned>false</is-private-owned>
<uses-batch-reading>false</uses-batch-reading>
<indirection-policy>
<mapping-indirection-policy>
<type>oracle.toplink.internal.indirection.NoIndirectionPoli
cy</type>
</mapping-indirection-policy>
</indirection-policy>
<uses-joining>false</uses-joining>
<foreign-key-fields>
<field>COMPANY.CONTACT_OID</field>
</foreign-key-fields>
<source-to-target-key-field-associations>
<association>
<association-key>COMPANY.CONTACT_OID</association-key>
<association-value>CONTACT.POID</association-value>
</association>
</source-to-target-key-field-associations>
<type>oracle.toplink.mappings.OneToOneMapping</type>
</database-mapping>
<database-mapping>
<attribute-name>createdBy</attribute-name>
<read-only>false</read-only>
<field-name>COMPANY.CREATED_BY</field-name>
<type>oracle.toplink.mappings.DirectToFieldMapping</type>
</database-mapping>
<database-mapping>
<attribute-name>creationClientID</attribute-name>
<read-only>false</read-only>
<field-name>COMPANY.CREATION_CLIENTID</field-name>
<type>oracle.toplink.mappings.DirectToFieldMapping</type>
</database-mapping>
<database-mapping>
<attribute-name>creationTime</attribute-name>
<read-only>false</read-only>
<field-name>COMPANY.CREATION_TIME</field-name>
<type>oracle.toplink.mappings.DirectToFieldMapping</type>
</database-mapping>
<database-mapping>
<attribute-name>employeeList</attribute-name>
<read-only>false</read-only>
<reference-class>com.oocl.csc.frm.pom.test.model.Person</referenc
e-class>
<is-private-owned>false</is-private-owned>
<uses-batch-reading>false</uses-batch-reading>
<indirection-policy>
<mapping-indirection-policy>
<type>oracle.toplink.internal.indirection.NoIndirectionPoli
cy</type>
</mapping-indirection-policy>
</indirection-policy>
<container-policy>
<mapping-container-policy>
<container-class>com.oocl.csc.frm.pom.impl.FWPersistentArra
yList</container-class>
<type>oracle.toplink.internal.queryframework.ListContainerP
olicy</type>
</mapping-container-policy>
</container-policy>
<relation-table>EMPLOYEMENT</relation-table>
<source-key-fields>
<field>COMPANY.COMPANY_KEY</field>
</source-key-fields>
<source-relation-key-fields>
<field>EMPLOYEMENT.EMPLOYER_KEY</field>
</source-relation-key-fields>
<target-key-fields>
<field>PERSON.POID</field>
</target-key-fields>
<target-relation-key-fields>
<field>EMPLOYEMENT.EMPLOYEE_ID</field>
</target-relation-key-fields>
<type>oracle.toplink.mappings.ManyToManyMapping</type>
</database-mapping>
<database-mapping>
<attribute-name>lastUpdateClientID</attribute-name>
<read-only>false</read-only>
<field-name>COMPANY.LAST_UPDATE_CLIENTID</field-name>
<type>oracle.toplink.mappings.DirectToFieldMapping</type>
</database-mapping>
<database-mapping>
<attribute-name>lastUpdatedBy</attribute-name>
<read-only>false</read-only>
<field-name>COMPANY.LAST_UPDATED_BY</field-name>
<type>oracle.toplink.mappings.DirectToFieldMapping</type>
</database-mapping>
<database-mapping>
<attribute-name>lastUpdateTime</attribute-name>
<read-only>false</read-only>
<field-name>COMPANY.LAST_UPDATE_TIME</field-name>
<type>oracle.toplink.mappings.DirectToFieldMapping</type>
</database-mapping>
<database-mapping>
<attribute-name>name</attribute-name>
<read-only>false</read-only>
<field-name>COMPANY.NAME</field-name>
<type>oracle.toplink.mappings.DirectToFieldMapping</type>
</database-mapping>
<database-mapping>
<attribute-name>partner</attribute-name>
<read-only>false</read-only>
<reference-class>com.oocl.csc.frm.pom.test.model.Company</referen
ce-class>
<is-private-owned>false</is-private-owned>
<uses-batch-reading>false</uses-batch-reading>
<indirection-policy>
<mapping-indirection-policy>
<type>oracle.toplink.internal.indirection.NoIndirectionPoli
cy</type>
</mapping-indirection-policy>
</indirection-policy>
<uses-joining>false</uses-joining>
<foreign-key-fields>
<field>COMPANY.PARTNER</field>
</foreign-key-fields>
<source-to-target-key-field-associations>
<association>
<association-key>COMPANY.PARTNER</association-key>
<association-value>COMPANY.COMPANY_KEY</association-value>
</association>
</source-to-target-key-field-associations>
<type>oracle.toplink.mappings.OneToOneMapping</type>
</database-mapping>
<database-mapping>
<attribute-name>persistentCtxt</attribute-name>
<read-only>false</read-only>
<reference-class>com.oocl.csc.frm.pom.impl.FWPOMPersistentContext
</reference-class>
<is-null-allowed>false</is-null-allowed>
<aggregate-to-source-field-name-associations>
<association>
<association-key>OWNERID</association-key>
<association-value>COMPANY.OWNERID</association-value>
</association>
<association>
<association-key>ROOTID</association-key>
<association-value>COMPANY.ROOTID</association-value>
</association>
</aggregate-to-source-field-name-associations>
<type>oracle.toplink.mappings.AggregateObjectMapping</type>
</database-mapping>
<database-mapping>
<attribute-name>poid</attribute-name>
<read-only>false</read-only>
<field-name>COMPANY.POID</field-name>
<type>oracle.toplink.mappings.DirectToFieldMapping</type>
</database-mapping>
<database-mapping>
<attribute-name>version</attribute-name>
<read-only>false</read-only>
<field-name>COMPANY.VERSION</field-name>
<type>oracle.toplink.mappings.DirectToFieldMapping</type>
</database-mapping>
<database-mapping>
<attribute-name>versionID</attribute-name>
<read-only>false</read-only>
<field-name>COMPANY.VERSIONID</field-name>
<type>oracle.toplink.mappings.DirectToFieldMapping</type>
</database-mapping>
</mappings>
<type>oracle.toplink.publicinterface.Descriptor</type>
</descriptor>
</descriptors>
</project>
====================
====================
Session Creation Method:
SessionBroker broker = (SessionBroker) manager.getSession(brokerName, Thread.currentThread().getContextClassLoader());
broker.getLogin().getPlatform().getConversionManager().setLoader(Thread.currentThread().getContextClassLoader());
====================
===================
Class Hierarchy:
Object extends> ..xxx.. extends> FWObject extends> Company
The problematic attribute -- versionID -- is defined at "FWObject" level.
===================
===================
Environment Configuration:
Application Server version: 10.1.2
TopLink version : 9.0.4.5
TopLink classpath: specified at container level
FWObject classpath: specified at container level
Company classpath: specified at application level
===================
Thanks and regards,
WilliamDear All,
We have loaded the toplink.jar to container level instead of application level. Don't know whether it is a possible source of error. Moreover, what is the purpose of loading antlr.jar? What is this jar for?
Thanks and regards,
William -
How to get string value from database table using Visual Studio 2005?
Hi,
Im developing plugin in illustrator cs3 using visual studio 2005. I need to get the values eneterd in database. Im able to get the integer values. But while getting string values it is returning empty value.
Im using the below code to get the values from database table
bool Table::Get(char* FieldName,int& FieldValue)
try
_variant_t vtValue;
vtValue = m_Rec->Fields->GetItem(FieldName)->GetValue();
FieldValue=vtValue.intVal;
CATCHERRGET
sprintf(m_ErrStr,"Success");
return 1;
Im using the below code to get the values.
AIErr getProjects()
char buf[5000];
int i;
std::string catName;
::CoInitialize(NULL);
Database db;
Table tbl;
errno_t err;
err = fopen(&file,"c:\\DBResult.txt","w");
fprintf(file, "Before Connection Established\n");
//MessageBox(NULL,CnnStr,"Connection String",0);
if(!db.Open(g->username,g->password,CnnStr))
db.GetErrorErrStr(ErrStr);
fprintf(file,"Error: %s\n",ErrStr);
fprintf(file, "After Connection Established\n");
if(!db.Execute("select ProjectID,ProjectName from projectsample",tbl))
db.GetErrorErrStr(ErrStr);
fprintf(file,"Error: %s\n",ErrStr);
int ProjectID;
int UserID;
int ProjectTitle;
char ProjectName[ProjectNameSize];
if(!tbl.ISEOF())
tbl.MoveFirst();
ProjectArrCnt=0;
for(i=0;i<128;i++)
buf[i]='\0';
int j=0;
while(!tbl.ISEOF())
if(tbl.Get("ProjectID",ProjectID))
fprintf(file,"Project ID: %d ",ProjectID);
ProjectInfo[ProjectArrCnt].ProjectID = ProjectID;
sprintf(buf,"%d",ProjectID);
//MessageBox(NULL, buf,"f ID", 0);
j++;
else
tbl.GetErrorErrStr(ErrStr);
fprintf(file,"Error: %s\n",ErrStr);
break;
//if(tbl.Get("ProjectTitle",ProjectName))
if(tbl.Get("ProjectName",ProjectName))
MessageBox(NULL,"Inside","",0);
fprintf(file,"ProjectTitle: %s\n",ProjectName);
//catName=CategoryName;
ProjectInfo[ProjectArrCnt].ProjectName=ProjectName;
//sprintf(buf,"%s",ProjectName);
MessageBox(NULL,(LPCSTR)ProjectName,"",0);
else
tbl.GetErrorErrStr(ErrStr);
fprintf(file,"Error: %s\n",ErrStr);
break;
ProjectArrCnt++;
//MessageBox(NULL, "While", "WIN API Test",0);
tbl.MoveNext();
//MessageBox(NULL, ProjectInfo[i].ProjectName.c_str(),"f Name", 0);
::CoUninitialize();
//sprintf(buf,"%s",file);
//MessageBox(NULL,buf,"File",0);
fprintf(file, "Connection closed\n");
fclose(file);
for(i=0;i<ProjectArrCnt;i++)
sprintf(buf,"%i",ProjectInfo[i].ProjectID);
//MessageBox(NULL,buf,"Proj ID",0);
//MessageBox(NULL,ProjectInfo[i].ProjectName.c_str(),"Project Name",0);
return 0;
In the above code im geeting project D which is an integer value. But not able to get the project name.
Please some one guide me.As I said in the other thread, this really isn't the place to ask questions about a database API unrelated to the Illustrator SDK. You're far more like to find people familliar with your problem on a forum that is dedicated to answering those kinds of questions instead.
-
Copying string value from the main file to a thread!
i.e. I have a string like this in the main file:
private static String a = new String("1");
and the value from "a" shuld be copied so that a variable "a" in thread.java gets the same value!
how to do this?
thanks
.leonard1) If main has access to a in thread, have main copy it over.
2) Add a getA() function to main and have thread use that.
3) Design the program better from the ground up.
Maybe you are looking for
-
Mail for Exchange Missing Functions E71 v E72
Hi All, So I have been using an E71 with Mail for Exhcange for some time now and find it is very good. However I have an E72 with Mail for Exhcange already installed on the device BUT it clearly has missing functions whihc I had on the previous versi
-
Downloading of file[SocketException]
hi... im encountering an exception whenever i click the cancel button on downloading of file but when i click open the program runs good... here's the stackTrace [5/23/07 14:47:20:859 CST] 17dd17dd SystemErr R java.net.SocketException: Connection res
-
Help M4868 21" Apple Studio Display software needed
Hi all. I know this post is a little out of category but I need to find out where I can get a Manual and any software required to use an M4868 21" Apple Studio Display with my G5 Powermac. Can anyone help me on this one please... Cheers. Derek.
-
Don't install 6.0 just to access Store; easier way...
I was going to upgrade from 4.7.1.3 to 6.0.1, but kept reading about all the install nightmares. The main reason I was going to do the install was to be able to play and purchase music in the iTunes Music Store (which had stopped working with the rel
-
I tried to display po history report it dislpay both header changes and item changes .Please tell me how to display po history only according to item change. Rupali