Datadictionary at runtime
Hi!
I have problem with DataDIctionary on runtime.
I have implemented "Tech Tip: Using the DataDictionary Builder at Run-time"
in my application. When I fill some values in form (created like in
mentioned tip) all seems OK.
But when I tried to use that new table and some new fields (previously
added) they are not in list.
So, I closed app and reopen it but still there is no new table in query
designer. I have checked rbTable as well as rbField and the entries are in!
When I recompile app then these entries become available.
What to do to make them available at run time (without recompiling)? What am
I doing wrong ?
THX
Benjamin
The difference between theory and practice is that in theory there is no
difference between theory and practice, but in practice there is....
I have problem with DataDIctionary on runtime.
I have implemented "Tech Tip: Using the DataDictionary Builder at Run-time"
in my application. When I fill some values in form (created like in
mentioned tip) all seems OK.
But when I tried to use that new table and some new fields (previously
added) they are not in list.
So, I closed app and reopen it but still there is no new table in query
designer. I have checked rbTable as well as rbField and the entries are in!
When I recompile app then these entries become available.
What to do to make them available at run time (without recompiling)? What am
I doing wrong ?
THX
Benjamin
The difference between theory and practice is that in theory there is no
difference between theory and practice, but in practice there is....
This discussion has been closed.
Comments
Try
1. Closing the datasets and datapipelines after you use the data dictionary
2. Clearing the meta data manager:
uses
daMetaDataManager;
begin
gMetaDataManager.Clear;
end;
3. Reopenign the datasets and datapipelines prior to using the query tools.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com