Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I determine field names via XLMadapter
Message
From
16/09/2005 15:28:37
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
How do I determine field names via XLMadapter
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01050475
Message ID:
01050475
Views:
54
I'm reading an XML file (with accompanying XSD) using the XMLAdapter. If I loop thru the fields in a table, I can get to each field's DataType and MaxLength properties. I'd like to determine the field's name. The following always returns an empty string:
oXMLAdapter.Tables.Item(lnTable).fields.Item(lnField).Name
What am I doing wrong? If I substitute DataType or MaxLength I get those values.

Regards,

Mike
Next
Reply
Map
View

Click here to load this message in the networking platform