[V4MD] Missing field
Ruslan Zasukhin
sunshine at public.kherson.ua
Thu Nov 20 23:36:07 CST 2003
on 11/20/03 11:02 PM, Scott Runkel at srunkel at hypix.com wrote:
> This may be more appropriate for the Studio list, but I'm not sure. A similar
> thing affected me in Director.
>
> In Studio, I added 3 fields to my database: two varbinary and one TEXT. When I
> went back to Director to add text into the TEXT field, which appeared to be
> successful (no errors), the text didn't "take." Opening the db in Studio again
> showed the field was there, but no data in it for any records. Back in
> Director,
> open the db, dump the db, and look at the XML -- the field was defined in the
> BaseObject section correctly, but then none of the records in the database had
> that field at all, although they all should have. And all of them DID have the
> 2
> varbinary fields, which were still blank.
>
> I had a similar problem earlier when I added fields to the db, then did a
> dump,
> and the XML didn't show the fields because they had no data in them (they were
> TEXT fields set to ""). When I did the whole thing over and created the fields
> with "0" instead of "", they did show up in the XML. The problem with this is
> that loading the XML results in the fields not being there at all in the db.
XML dump probably not show NULL value.
When field is missing in XML, Valentina consider this as NULL value.
If for example String field contains not NULL, but EMPTY string, then it
will be added to XML as
<field></field>
So I think XML is okay.,
Question is why you can't store text?
You simply have add TEXT field to EXISTED db with EXISTED records?
Then all right.
Or you have try do AddRecord, UpdateRecord() into TEXT field?
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
More information about the Valentina
mailing list