Get Datadictionary object from File Number: Difference between revisions
Get Datadictionary object from File Number (view source)
Revision as of 12:44, 25 March 2020
, 25 March 2020Added to Tutorials category
m (Changed function name to better describe what it does) |
Hsymington (talk | contribs) m (Added to Tutorials category) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
If you have nothing except the table number, you can find the table name, construct the data dictionary class name from that, and use Eval to get the class id: | If you have nothing except the table number, you can find the table name, construct the data dictionary class name from that, and use Eval to get the class id: | ||
<source lang="dataflex"> | |||
Function Create_DDO_From_TableName String sTableName Returns Handle | Function Create_DDO_From_TableName String sTableName Returns Handle | ||
String sClassID | String sClassID | ||
Line 25: | Line 26: | ||
Function_Return hoDD | Function_Return hoDD | ||
End_Function // Create_DDO_From_TableName | End_Function // Create_DDO_From_TableName | ||
</source> | |||
This assumes your DD's are called TableName_DataDictionary, like the pre 14.1 standard was. | This assumes your DD's are called TableName_DataDictionary, like the pre 14.1 standard was. | ||
Line 32: | Line 34: | ||
[http://support.dataaccess.com/Forums/showthread.php?40381-Get-DataDictionary-Object-from-File-Number Get DataDictionary Object from File Number]] | [http://support.dataaccess.com/Forums/showthread.php?40381-Get-DataDictionary-Object-from-File-Number Get DataDictionary Object from File Number]] | ||
[[Category:How To]] | |||
[[Category:Tutorials]] |