On Sep 3, 2012, at 3:59 AM, Jacek Kałucki wrote:
> I'm bound to say that working with text database fields, especially if their
> properties changes
> across database version, isn't enough comfortable to me.
> The way backends treats text exceeding field size differs, one silently
> discard excess other raises
> exceptions.
So if I understand correctly, the problem that you're having is that an
existing database field is being modified by someone other than the application
author, and as a result the application can lose data? In my experience I've
seen table columns modified to be wider, but never reduced in size in an
established database.
> I have an idea, what if we use DataStructure scale field to pass information
> about text field
> display size?
> Then we could implement that information in our data controls easily.
> What do you think?
If a column were to be changed from, say, varchar(100) to a full text
field, would the control change from a textbox to an edit control? If the
column were to be removed from the database entirely, would that mean that the
control would not be created?
I guess I'm not clear on what exactly the problem is, and what you're
proposing as a solution.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]