My search did not produce a thread with the scenario I'm facing. I want to develop a new application that will enable the user to open and view (read only) text files that already are laid out with data in columns on some lines and data in sentences on other lines. There will be thousands of text files with the data in them to be viewed without loosing the columns, etc. The user will select a particular text file based on account number or customer name, and the system will go to that file and open it for viewing. I have an index file that points to the path of the text files. Some text files are in one folder (quantity is over 800,000) and others are in another folder (quantity is over 1,600,000). There are too many files to simply use Access which has a 2 GB limit. I have 12 GB of text files and can't split them up into multiple Access databases. I am fairly proficient with Access and am somewhat familiar with SQL Server, but do not have experience integrating the two.
I plan to use Access (2013 or 2016) as the front end and SQL Server standard (probably 2016) as the back end. Here are my questions:
1. How do I open a selected text file and retain the layout (columns, etc.) There are two basic text file layouts. One has 132 characters across and the other has 83 characters across. I can open these text files with Word, Wordpad, and Notepad++. For the 132 character files I can open with Word and Wordpad but have to change the document to legal size and landscape view to retain the column formatting. Notepad++ seems to retain the column layout or formatting automatically.
2. How do I use Access as the front end to accomplish the above. I just need to be able to pull the files up and view (not edit) them. What is the best connection type to use? Do I use an ODBC connection, an ADODB connection, or what? Can the tables in SQL simply be linked. With so many files to search for, I want a fairly decent response time and be able to pull up a document (text file) within, say, 5-10 seconds or faster).
I hope that gives enough information for you. I appreciate any help you can give. Thank you!
I plan to use Access (2013 or 2016) as the front end and SQL Server standard (probably 2016) as the back end. Here are my questions:
1. How do I open a selected text file and retain the layout (columns, etc.) There are two basic text file layouts. One has 132 characters across and the other has 83 characters across. I can open these text files with Word, Wordpad, and Notepad++. For the 132 character files I can open with Word and Wordpad but have to change the document to legal size and landscape view to retain the column formatting. Notepad++ seems to retain the column layout or formatting automatically.
2. How do I use Access as the front end to accomplish the above. I just need to be able to pull the files up and view (not edit) them. What is the best connection type to use? Do I use an ODBC connection, an ADODB connection, or what? Can the tables in SQL simply be linked. With so many files to search for, I want a fairly decent response time and be able to pull up a document (text file) within, say, 5-10 seconds or faster).
I hope that gives enough information for you. I appreciate any help you can give. Thank you!