Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 11 to 14 of 14 total |
Problem with DataType |
Wed, Feb 22 2012 9:02 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Colin
When you finally finish using your head as a battering ram and the wall falls down its quite pleasant Roy Lambert |
Wed, Feb 22 2012 5:26 PM | Permanent Link |
Colin Wood VirtualTec P/L | Life seemed simpler when if not exists existed
|
Wed, Feb 22 2012 8:08 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Colin,
<< In my app I want to include a feature where my clients can customise the text captions for the various edit fields, as well as customising Hint descriptions and the like. As part of that feature I want to tell them what type of data can be entered into each field and what the maximum field length is. I also want to be able to add a utility function for myself that looks at all the fields of various tables and ensures that I haven’t created fields that are a certain size in a table and a completely different size(or data type) in another. >> As Roy indicated, using the system information tables is the way to go. They already contain nice descriptive names for the column types, and are easily retrieved with a query. You can find out about all of the system information tables here in the SQL manual: http://www.elevatesoft.com/manual?action=topics&id=edb2sql§ion=system_information Specifically, here's the TableColumns table: http://www.elevatesoft.com/manual?action=viewtopic&id=edb2sql&topic=TableColumns_Table As for generating a table that can be edited, you can use something like this: CREATE TEMPORARY TABLE MyEditableStructureInfo AS SELECT <Desired Columns> FROM Information.TableColumns WHERE <Where Clause> -- Tim Young Elevate Software www.elevatesoft.com |
Thu, Feb 23 2012 3:00 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Colin
Don't forget my other long time favourite NULL = '' Some bits of DBISAM I still miss, and will continue to do so. Roy Lambert |
« Previous Page | Page 2 of 2 | |
Jump to Page: 1 2 |
This web page was last updated on Sunday, May 5, 2024 at 10:18 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |