Function HF_FileControl V0.01 29/09/93 ====================================== Extracted from Anglopean Ltd Project ref #0203.1 Public Release #0.03 *unsupported* Voice +44 71 404 2227 Anglopean Ltd is a British company specialising in information at the desktop. If you would like more information on our services, mail me, Darren Reynolds, at 100277.2270@COMPUSERVE.COM To use the function in your own database, use Edit/Copy and Edit/Paste and paste the function into one of your own modules. You are free to use the code for any purpose, without making a payment of any kind. However, no guarantee is made as to the performance of the code. I would be most interested to hear from anyone who does incorporate this, or any other functions by Anglopean Ltd in their code. Syntax: Function HF_FileControl(FileName) as String Parameters: Filename - the name of the file you want displayed Typical Usage: ------------- A DOS application may produce a log file, or may have had its standard output piped to a file. This blindingly simple function would allow a report to include the log file or the results of the DOS command. Example: ------- Create a form or report, and place a large text box control on it. Set the Control Source property of the control to read: =HF_FileControl("C:\AUTOEXEC.BAT") Notes: ------- The maximum file size which can be displayed is approximately 65,000 characters. Best of luck with your developments! Darren Reynolds