I have a working Access 2010 database. There is a line of code used to export data.
DoCmd.TransferText acExportDelim, tExport, qry.Name, tPath & "\" & tFileName & ".csv"
tExport resolves to ExportChina. I cannot find it in the Saved Exports panel. That panel is empty.
In the MSysIMEXSpecs table there is an entry for ExportChina. In the MsysIMEXColumns there are rows that refer to the ID for ExportCHina.
I have added 4 new fields to the table being exported. But the export only gives me the original fields, not the new ones.
I suppose I can edit the MsysIMEXColumns table to include the new fields but I assume there is a better way.
I have seen a suggestion to just go thru the Export Text FIle process and save it as the same name as the current one. I do that but it does not say a current export exists. It creates one that then shows up in the Saved Exports panel but MsysIMEXColumns is not changed.
DoCmd.TransferText acExportDelim, Chr$(34) & tExport & Chr$(34), Chr$(34) & qry.Name & Chr$(34), tPath & "\" & tFileName & ".csv"