Fields being recreated
We developed a component that can take a component name (TppDBText,
TppField). We can enter a calculation as "ComponentName + ComponentName".
This works fine for TppDBText components as their names are set at design
time. The problem I have is when I want to use a TppField. The fields are
re-created as I work in design mode which set the names to the standard
names as ppField1. I wanted to name them to something that relates to the
field but when I change the SQL (same query but a few changes in the where
clause) statement the fields are re-created with the standard names which do
not match the names I entered as the calculation. Can the TppField's be
created and keep the names I choose or is it possible to not re-created
them,
TppField). We can enter a calculation as "ComponentName + ComponentName".
This works fine for TppDBText components as their names are set at design
time. The problem I have is when I want to use a TppField. The fields are
re-created as I work in design mode which set the names to the standard
names as ppField1. I wanted to name them to something that relates to the
field but when I change the SQL (same query but a few changes in the where
clause) statement the fields are re-created with the standard names which do
not match the names I entered as the calculation. Can the TppField's be
created and keep the names I choose or is it possible to not re-created
them,
This discussion has been closed.
Comments
Set DBPipeline.AutoCreateFields to False.
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com