I assume that your are using Docmd.TransferText so I have taken this from Access help
You can import, export, or link delimited text files without typing a specification name for this argument. In this case, Microsoft Access uses the defaults from the wizard dialog box.
But if your file format needs a specification then it seems logical that you already know the format of the file, even if you could enter it directly int MSysIMEXSpecs, you would still need to know the format. So if thatis the case then why cant you just import an existing file, and if you dont have one then make one! You could create a table in Access and export to a CSV file or something .....
JEg kender disse alle disse functioner. Jeg synes bare der må være andre måder at specificere sim importspec. på end at skulle foretage en fysisk import af en table eller link for den sags skyld.
Jeg plejer at lave disse som om jeg importerer eller linker men synes det er kejdet at skulle \"lade som om \" bare for at specificere denne. Såfremt jeg ønsker at fejlfinde på en importfejl der bruger en spec. ville det være formålstjenligt at vide hvad der var indeholdt af kolonner i denne spec. Dette fortæller MSysIMEXSpecs umiddelbart ikke noget om.
Når du har Guiden tekstimport oppe og køre kan du klikke på Avanceret og Specifikation. Så kan du hente din specifikation, tilrette den og gemme den igen.
Hi Terry-> I only tried searching in Access 2000. You can find Schema and then there is a topic called: \"Export data or database objects to another database or file format\" where U can find some stuff about Schema.ini
But MSDN is properbly the best place to find this information.
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.