Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xmltocursor function
Message
From
27/12/2006 09:36:05
 
 
To
27/12/2006 09:28:02
Stephen Hunt
Admit Computer Services Inc.
Farmingdale, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01180466
Message ID:
01180467
Views:
12
>I am using the VFP XMLTOCURSOR function to return an xml file to a cursor.
>one of the fields in the file is defined as Numeric 8 and has a value of
>'00112255' in the XML file when I open it with IE. when I use
>XMLTOCURSOR(m.file,"cursor",512+1024) or
>XMLTOCURSOR(m.file,"notescursor",512) the value in the cursor is '112255'. Is there anyway to get this numeric value returned into the cursor with the leading '0' 's ?
>
>Thanks For Your Help !
>Stephen J. Hunt

Define the field as c(8) instead of n(8)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform