DDieterich / DTGen

DTGEN Code Generation Tool for Relational Designers (See Wiki Branch)
http://dtgen.org
3 stars 0 forks source link

TAB_COL Name Conflict with Generated GUI Field Names #104

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What will the enhancement do?

 -) Prevent TAB_COL names from starting with a "P" and 3 digits

How is this currently done or handled?

 -) No check in in place

What version of the product are you using? On what operating system?

-)

Please provide any additional information below.

 -) A column name starting with a "P" and 3 digits will conflict with the form field names in the generated GUI maintenance forms.

Original issue reported on code.google.com by Duane.Di...@gmail.com on 25 Oct 2012 at 1:19

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
New Rules:
 -) Can only contain alphanumeric and under_score
 -) 1st character can't be a number
 -) If 5th character is an under_score, then 2nd, 3rd, and 4th characters can't be numbers

Original comment by Duane.Di...@gmail.com on 25 Oct 2012 at 1:41

GoogleCodeExporter commented 9 years ago

 -) Don't find these Regular Expressions
    -) "^[^:alpha:]"
    -) "^.[0-9][0-9][0-9][_]"
    -) ".....[^_:alpha:]"

Original comment by Duane.Di...@gmail.com on 25 Oct 2012 at 4:12