Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorToXML()
Message
From
30/04/2002 10:00:19
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00650814
Message ID:
00650825
Views:
17
>I have the following cursor.
>
> CREATE CURSOR csSettings ( ;
> Name C(25), ;
> Value C(10), ;
> Type C(1), ;
> Width N(5), ;
> Precision N(15) ;
> )
>
>The cursor gets populated and saved as an XML doc. The resulting DOC looks like the following.
>
>
>
>
>
>

>
>When I turn this back into a cursor with XMLTCursor() the width and precision fields come in as logical data types with a value of .F. instead of numerical data types with a value of 0.
>
>Enlightenment would be appreciated.

Add 6th parameter to produce a schema ("1"). Otherwise it assumes 1,0 stand for logical.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform