Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

Ability to specify validation on fields

 Post Reply Post Reply
Author
Peck Sally View Drop Down
New Member
New Member
Avatar

Joined: 14 Dec 2018
Posts: 30
Post Options Post Options   Quote Peck Sally Quote  Post ReplyReply Direct Link To This Post Topic: Ability to specify validation on fields
    Posted: 14 Dec 2018 at 11:26pm
Can you add the possibility to add validation constraints in TMS Data Modeller?

Like:

1. Field must be more than 10 characters (minimum).

2. Field must not be negative.

3. Field must be between 50 and 100.

4. Field is not null.
[TColumnProp.Required] <-- how to check this constraint in code and popup a friendly user message?

If this data is emitted to the field, and can be parsed via RTTI, it would greatly reduce the amount of code required for data validation.

Back to Top
Wagner R. Landgraf View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 2393
Post Options Post Options   Quote Wagner R. Landgraf Quote  Post ReplyReply Direct Link To This Post Posted: 16 Dec 2018 at 1:26pm
There is no such built-in mechanism for client-side validation. When you mention TMS Data Modeler I believe you are referring to the Aurelius export?
Back to Top
Peck Sally View Drop Down
New Member
New Member
Avatar

Joined: 14 Dec 2018
Posts: 30
Post Options Post Options   Quote Peck Sally Quote  Post ReplyReply Direct Link To This Post Posted: 16 Dec 2018 at 1:39pm
yes.

Can you add that as a feature to TMS Data Modeller?

Back to Top
Wagner R. Landgraf View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 2393
Post Options Post Options   Quote Wagner R. Landgraf Quote  Post ReplyReply Direct Link To This Post Posted: 17 Dec 2018 at 4:05pm
It makes no sense to add that in TMS Data Modeler, because Aurelius itself doesn't have such validation mechanism. 
Back to Top
Peck Sally View Drop Down
New Member
New Member
Avatar

Joined: 14 Dec 2018
Posts: 30
Post Options Post Options   Quote Peck Sally Quote  Post ReplyReply Direct Link To This Post Posted: 20 Dec 2018 at 12:07am
I think you can close this issue now. It's resolved here.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down