04-19-2007, 07:46 PM
Great responses, thanks! Either of these should enable me to write my entire database to the QM output window, so that I can then copy and paste it into Word, and then save it as plain text that can be read by Excel.
I may be asking too much here, but is there a way for me to write it directly to a .txt file from QM? As I said, representing the entire text file in a single string variable, and then writing it out with setfile, works for a small database. But if it gets large, I'm sure I'll eventually exceed the capacity of the variable. Is there a way to, say, write one line at a time to a .txt file? I'm really longing for fopen(), fprintf(), and fclose() here...
I may be asking too much here, but is there a way for me to write it directly to a .txt file from QM? As I said, representing the entire text file in a single string variable, and then writing it out with setfile, works for a small database. But if it gets large, I'm sure I'll eventually exceed the capacity of the variable. Is there a way to, say, write one line at a time to a .txt file? I'm really longing for fopen(), fprintf(), and fclose() here...
