Connecting Tech Pros Worldwide Forums | Help | Site Map

Create/Edit Batch Files from Access

ScoobyDoo
Guest
 
Posts: n/a
#1: Nov 13 '05
Anyone know how I can create and edit batch files from MS Access 2002?


Bas Cost Budde
Guest
 
Posts: n/a
#2: Nov 13 '05

re: Create/Edit Batch Files from Access


ScoobyDoo wrote:[color=blue]
> Anyone know how I can create and edit batch files from MS Access 2002?
>[/color]
as any other text file. See help on file functions like Open, Input #,
Print #

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea
Larry Linson
Guest
 
Posts: n/a
#3: Nov 13 '05

re: Create/Edit Batch Files from Access


"ScoobyDoo" wrote
[color=blue]
> Anyone know how I can create and
> edit batch files from MS Access 2002?[/color]

A batch file is nothing but a text file. There are File I/O statements that
you can use to write a text file. The Open, Close, and Print # statements
are three to look up in Help as a start. _What_ you need to put in the batch
file is up to you.

If there was more to this question than met the eye... post back to clarify
and perhaps someone can be more specific.

Larry Linson
Microsoft Access MVP


ScoobyDoo
Guest
 
Posts: n/a
#4: Nov 13 '05

re: Create/Edit Batch Files from Access



Larry Linson wrote:[color=blue]
> "ScoobyDoo" wrote
>[color=green]
> > Anyone know how I can create and
> > edit batch files from MS Access 2002?[/color]
>
> A batch file is nothing but a text file. There are File I/O[/color]
statements that[color=blue]
> you can use to write a text file. The Open, Close, and Print #[/color]
statements[color=blue]
> are three to look up in Help as a start. _What_ you need to put in[/color]
the batch[color=blue]
> file is up to you.
>
> If there was more to this question than met the eye... post back to[/color]
clarify[color=blue]
> and perhaps someone can be more specific.
>
> Larry Linson
> Microsoft Access MVP[/color]

Thanks Bas Cost Budde and Larry Linson for your quick responses. I
have investigate the Input/Output methods and now am left wondering how
to write the file without the dreaded quotation marks at the beginning
and end of every line in the file? Any thoughts?

Bas Cost Budde
Guest
 
Posts: n/a
#5: Nov 13 '05

re: Create/Edit Batch Files from Access


ScoobyDoo wrote:
[color=blue]
> Thanks Bas Cost Budde and Larry Linson for your quick responses. I
> have investigate the Input/Output methods and now am left wondering how
> to write the file without the dreaded quotation marks at the beginning
> and end of every line in the file? Any thoughts?[/color]

Tell me how you get those *in* and I'll tell you how to not have them.
:-) but seriously, I assume you have coded something? Show it!

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea
Closed Thread


Similar Microsoft Access / VBA bytes