[V4MD] 2.0 b36 MAC - TEXT field problem

Hans-Joerg Bibiko bibiko at eva.mpg.de
Tue Jan 11 13:21:59 CST 2005


HI Igor,

your code is working fine !

but I guess I found the problem.

The problem is I rebuilt my DB via XML LoadDump.

In my XML file which is coded with ISO-8859-1 is written:
....
		<BaseObjectDesc Name="wdata">
			<FieldCount>2</FieldCount>
			<FieldDesc Name="name">
				<Type>VarChar</Type>
				<Indexed>1</Indexed>
				<Unique>0</Unique>
				<Nullable>0</Nullable>
				<IndexByWords>0</IndexByWords>
				<Compressed>0</Compressed>
				<MaxLength>20</MaxLength>
				<Language>ASCII</Language>
			</FieldDesc>
			<FieldDesc Name="data">
				<Type>Text</Type>
				<Indexed>0</Indexed>
				<Unique>0</Unique>
				<Nullable>1</Nullable>
				<IndexByWords>0</IndexByWords>
				<Compressed>0</Compressed>
				<Language>ASCII</Language>
				<SegmentSize>128</SegmentSize>
			</FieldDesc>
		</BaseObjectDesc>

...

		<BaseObjectData Name="wdata">
			<RecordCount>7</RecordCount>
			<Record>
				<f n="RecID">1</f>
				<f n="name">wsize</f>
				<f n="data">
					31 34
				</f>
			</Record>
			<Record>
				<f n="RecID">2</f>
				<f n="name">wface</f>
				<f n="data">
					41 72 69 61 6C
				</f>
			</Record>
			<Record>
				<f n="RecID">3</f>
				<f n="name">li_lang</f>
				<f n="data">
					5B 5B 23 74 69 74 6C 65 3A 20 22 6D 6F 76 65 20
					61 6C 6C 20 6C 61 6E 67 75 61 67 65 73 20 74 6F
					20 74 68 65 20 53 65 6C 65 63 74 69 6F 6E 20 57
...

As you can see above the VCursor routine get the right data but there are saved in a wrong way.

I will rebuild my DB without using loadDump later if I have a bit more time.

Thank you

and I found a lot of good stuff within the tutorials ;)

You all did and are doing a great job!

Hans


More information about the Valentina-beta mailing list