I want to retrive data from an excel files. However, I don't want to used a fixed DSN in order to retrive data from this excel file. Can anyone give me some tips?
Thx for your reply.
According to your suggestion, do I need to add a data source in Coldfusion Administrator? I don't want to add a data source name manually. I want to generate a data source name from my program so that I can retrive my data by using the DSN that generated before.
if you want to automatize adding database source name to coldfusion administrator, you can use CF_AutoAddMDB; it is a custom tag (unencrypted plain CFML) that will scan a folder and all it's sub-folders, etc looking for MS Access database files (*.mdb). When it finds them it will automatically add a datasource for them using their filename for their datasource name.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.