will that be fixed?
here is the code u need to add to create such a plugin urself. follow
the plugin example of andres for more questions.
Sub FIX_PROPS()
For Each obj As CslaObjectInfo In Unit.CslaObjects
For Each vProp As ValueProperty In obj.ValueProperties
vProp.Name = vProp.Name.Replace(" ", "_").Replace("-",
"_").Replace("(", "_").Replace(")", "_")
vProp.FriendlyName = vProp.Name
Next
Next
End Sub
Public Sub New()
AddCommand("FIX PROPERTIES", AddressOf FIX_PROPS)
End Sub
--
http://groups.google.com/group/CslaGenerator
Post to: CslaGe...@googlegroups.com
Unsuscribe: CslaGenerato...@googlegroups.com
Join us on #CslaGenerator @ irc.freenode.net
--
http://groups.google.com/group/CslaGenerator
Post to: CslaGe...@googlegroups.com
Unsuscribe: CslaGenerato...@googlegroups.com
Join us on #CslaGenerator @ irc.freenode.net
If you can't change the names, just change the templates to place the
offending (or all) column names in square brackets, rather than replacing
their spaces. So you would have code like "Select [text 1] from myTable"
which is perfectly acceptable SQL.
Won't these fairly pedestrian suggestions work in your case?
"Q" Johnson
--
These are not databases i can control, else i wouldnt have any
problem. But still with my plugin i eliminate most of the trouble.
Just refering the issue and giving a partial solution to any1 who
might have the same one.