Customize the table fields on runtime


Author
Message
Jimmy Lam
Jimmy Lam
StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)
Group: Forum Members
Posts: 4, Visits: 9
Hi Strataframe experts,

Does StrataFrame allow of customize the database table's field during runtime? For example changing the datatype, Something which is similar to the Database Development Toolkit. The purpose of these, is to allow our customer to customize the fields themeselve without re-coding and re-compilation of the codes. Therefore we developers could save up plenty of time for the customization.

Kindly advise and welcome for any kind of comments
Thank You.

Reply
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
If someone makes a change to the data structure from a string to an integer...you have problems.  Since your application is expecting a string, once this is changed to an integer your application (as well as the BOs) will be expecting a string and in essence be trying to cast an integer as a string.  If there were any characters other than numbers, then an expection would be thrown.

I am not sure what type of application you are developing, but aside from creating a query tool or report writing engine, I do not see how this would work (but I have been narrow minded more than once in my life...and I am sure that my wife would testify to that for me BigGrin).

So in short, if you make a change to a data structure to a data type outside of what the application expects, then yes, your app is going to have some problems.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search