Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursortoxml
Message
De
18/08/2008 15:11:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
01339608
Message ID:
01339640
Vues:
17
There is no a single DELETE in the whole project, so I am sure.

>Are you sure all records in that cursor are not deleted and SET DELETED is ON?
>
>>Are there any know issues CURSORTOXML command?
>>
>>I am running this command:
>>CURSORTOXML('curTestCursor', 'lcXmlData', 2, 0, 0, '1')
>>which would create an xml string with an inline schema.
>>
>>Then down the program I have this code:
>>IF RECCOUNT('curTestCursor') # 0
>> STRTOFILE(lcXmlData, 'c:\data.txt')
>>ENDIF
>>Sometimes (not often at all) I would have data.txt with just a schema, without actual data part:
>>
>><?xml version = "1.0" encoding="Windows-1252" standalone="yes"?>
>><VFPData>
>>	<xsd:schema id="VFPData" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
>>		<xsd:element name="VFPData" msdata:IsDataSet="true">
>>			<xsd:complexType>
>>				<xsd:choice maxOccurs="unbounded">
>>					<xsd:element name="currunningjobforserver" minOccurs="0" maxOccurs="unbounded">
>>						<xsd:complexType>
>>							<xsd:attribute name="id" use="required">
>>								<xsd:simpleType>
>>									<xsd:restriction base="xsd:decimal">
>>										<xsd:totalDigits value="11"/>
>>										<xsd:fractionDigits value="0"/>
>>									</xsd:restriction>
>>								</xsd:simpleType>
>>							</xsd:attribute>
>>							<xsd:attribute name="job" use="optional">
>>								<xsd:simpleType>
>>									<xsd:restriction base="xsd:string">
>>										<xsd:maxLength value="10"/>
>>									</xsd:restriction>
>>								</xsd:simpleType>
>>							</xsd:attribute>
>>							<xsd:attribute name="sku" use="optional">
>>								<xsd:simpleType>
>>									<xsd:restriction base="xsd:string">
>>										<xsd:maxLength value="20"/>
>>									</xsd:restriction>
>>								</xsd:simpleType>
>>							</xsd:attribute>
>>							<xsd:attribute name="name" use="optional">
>>								<xsd:simpleType>
>>									<xsd:restriction base="xsd:string">
>>										<xsd:maxLength value="30"/>
>>									</xsd:restriction>
>>								</xsd:simpleType>
>>							</xsd:attribute>
>>							<xsd:attribute name="pack" use="optional">
>>								<xsd:simpleType>
>>									<xsd:restriction base="xsd:decimal">
>>										<xsd:totalDigits value="11"/>
>>										<xsd:fractionDigits value="0"/>
>>									</xsd:restriction>
>>								</xsd:simpleType>
>>							</xsd:attribute>
>>							<xsd:attribute name="nneedqty" use="optional">
>>								<xsd:simpleType>
>>									<xsd:restriction base="xsd:decimal">
>>										<xsd:totalDigits value="19"/>
>>										<xsd:fractionDigits value="2"/>
>>									</xsd:restriction>
>>								</xsd:simpleType>
>>							</xsd:attribute>
>>							<xsd:attribute name="line_id" use="required">
>>								<xsd:simpleType>
>>									<xsd:restriction base="xsd:decimal">
>>										<xsd:totalDigits value="11"/>
>>										<xsd:fractionDigits value="0"/>
>>									</xsd:restriction>
>>								</xsd:simpleType>
>>							</xsd:attribute>
>>						</xsd:complexType>
>>					</xsd:element>
>>				</xsd:choice>
>>				<xsd:anyAttribute namespace="http://www.w3.org/XML/1998/namespace" processContents="lax"/>
>>			</xsd:complexType>
>>		</xsd:element>
>>	</xsd:schema>
>></VFPData>
>>
>>What am I missing here?
>>
>>Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform