1 (edited by v_pozidis 2018-02-27 15:43:18)

Topic: Text files

Can I read and write text files using mvdb.  If yes howe can I do that ?
And second question how can I add header on excel file when creating a button to print table grid?

Re: Text files

Hi V_pozidis,
This is the way that I read and write .txt files into and out of MVDB but there may be other ways too.
In my example, I hard code the name and location of the .txt file but you could also prompt for name and location if that is what you need.
Hope this helps,
Derek.

Post's attachments

Attachment icon pozidis.zip 405.65 kb, 416 downloads since 2018-02-27 

Re: Text files

And second question how can I add header on excel file when creating a button to print table grid?

Please describe in more details, how exactly you print table grid?

Dmitry.

Re: Text files

Thank you for your example. Very helpful.

derek wrote:

Hi V_pozidis,
This is the way that I read and write .txt files into and out of MVDB but there may be other ways too.
In my example, I hard code the name and location of the .txt file but you could also prompt for name and location if that is what you need.
Hope this helps,
Derek.