I have some Clarion file structures I want to import into a DCT.
I know I can point to TPS file and the DCT will import the structure that way, but I will loose all the naming standards (Case) - it imports as all upper case.
I tried to create a TXD file but I get this message.
“the txd file is a report writer only format”
This is just a sample of what I am talking about putting into a TXD
MyFileName FILE,DRIVER(‘TOPSPEED’),PRE(MFN),CREATE
MyKeyName KEY(MFN:MyFieldName),DUP,NOCASE
record RECORD
FieldName STRING(20)
END
END
Do they exist in any DCT? Direct copy paste keeps things consistent.
No, I only have the source structures
Afraid you’ve run into a wall. Internally the field and key names are all uppercase.
Open a TPS file using an ASCII editor and you’ll see what’s there. Only the DCT retains mixed case.
I was afraid of that, but back in my mind I thought there was a tricky way to setup a skeleton TXD and copy/paste your structures into it and it would import.
I figured it out only have these lines in your TXD w/o the number and dash
Works perfectly…
1- [DICTIONARY]
2-
3- [FILES]
4-
5-MyFile etc…
1 Like
I was getting ready to say that a valid TXD retains the information… guess this is a redundant reply! 
1 Like