Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

X<LAdapter, String Fields:

Status
Not open for further replies.

FoxLearner

Programmer
Aug 29, 2002
93
US
Hi All
I am new to use XMLAdapter. I just started to paly with it, as we are going to use it in the next version of my project.
I see that whenever I use toCursor() method, the "string" fields in the schema are converted to "memo" fields in the cursor. Datetime, boolean and int fields are doing fine.
Here is what the schema is like:

<xs:element name=&quot;GroupInformation&quot;>
<xs:complexType>
<xs:sequence>
<xs:element name=&quot;Application&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; />
<xs:element name=&quot;UserName&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; />
<xs:element name=&quot;UserType&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; />
........
.........
Here is what the code is like:

FOR EACH xx IN oadapter.tables
xx.tocursor()
ENDFOR

Am I doing some thing wrong or are there some attributes of the XMLAdapter that need to be set before doing it?

Thanks and Regards
FoxLearner
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top