Field sizes


Author
Message
Ben Kim
Ben Kim
StrataFrame User (133 reputation)StrataFrame User (133 reputation)StrataFrame User (133 reputation)StrataFrame User (133 reputation)StrataFrame User (133 reputation)StrataFrame User (133 reputation)StrataFrame User (133 reputation)StrataFrame User (133 reputation)StrataFrame User (133 reputation)
Group: Forum Members
Posts: 99, Visits: 253
This is more out of curiosity but also lends itself to efficiency.  When creating the BO's using the Business Object Mapper, shouldn't there be some way of creating a property with MaximumSize?  This way when creating the UI, I do not have to keep referring to our SQL Schema to find out the size of each field.  We have over 540 tables in our schema, more tables and fields being added by the DBA frequently so I cannot keep track of the sizes in my head.

So whether the field should accept 1 character or 5,000, it would be easier to type:

MyTextField.MaximumSize = Me.MyBO1.Field.MaximumSize - or if you look at my enhancement idea for an automatic screen builder wizard, this metadata could be used to set the property automagically.

You have the data in the DDT and even if you directly import into the BOM, all you need is an additional MaxSize field listed here to support this feature. 

So, out of curiosity, is this something that "might" be supported in the future?

Ben

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Ben Kim - 17 Years Ago
StrataFrame Team - 17 Years Ago
Ben Kim - 17 Years Ago
Ben Kim - 17 Years Ago
StrataFrame Team - 17 Years Ago
                         Thanks Ben. However, when I copy this code into my tools module, I get...
Ben Kim - 17 Years Ago
                             I assumed that your code was going to be in a class... therefore...
StrataFrame Team - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search