I think you have your parameters out of order. The documentation shows: Sub Open_(filename As String, filetype As enumFileType, Optional ConfigurationModel as String)
Example: D.Open_ "C:\file_samples\Delimited.txt", ftDelimited 'Opens and parses the delimited text file Delimited.txt Bill Palmer Financial Coordinator, Information Sys Mid-Columbia Medical Center The Dalles, OR 97058 541-296-7417 >>> [EMAIL PROTECTED] 04/28/05 01:53PM >>> I'm thinking that the .bds file should reference the .txt file. Should the script file be separate from the .txt file? Just a thought. Chase Rodgers Financial Reporting Manager Medical Center of Plano *214-473-7490 [EMAIL PROTECTED] _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of White, Scott A Sent: Thursday, April 28, 2005 03:27 PM To: [email protected] Subject: [Talk] bds configuration file missing Hello, I'm attempting to access a simple *.txt file to perform a basic script. I had an example of a configuration file used in a project back in 2004; but it just doesn't cut the mustard here. In my current project I have this call set up to utilize the .bds file I believed was the configuration file the script wanted. D.Open_ myfile, ftDelimited, "c:\ARRAY\DRUGMNEM.TXT.bds" But when I run the script it errors out stating " No configurationFile: c:\ARRAY\DRUGMNEM.TXT.bds" The file does exist; but I fear it is not set up correctly. The bds file looks like this: [mnem] Mnemon=0 [general] filetime=4/28/2005 2:58:30 PM takelabels=0 [names] [fields] [report] The actual data file has entries like this: NIAC50 *ROCE1S ROCE1MBP MVI MVIT etc.... no header or labels, just raw data. I have another bds file that does work with another script; but no documentation to explain each line's purpose. It looks like this: [general] filetime=6/18/2004 4:16:07 PM [names] Mnemon=1 AttPhys=2 MriEntry=3 [fields] [report] Any suggestions? Does someone have a document or the ability to explain what each line of the .bds file means and does? Thanks in advance, Scott _____ CONFIDENTIALITY NOTICE: This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify Saratoga Hospital immediately by e-mail at [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> and destroy all copies of this communication and any attachments.
