G
Guest
I have an application that needs to create an interface file with each record
being a fixed length string 508 characters long, the end of which is lot of
hard spaces. I have been able to create this string (perfectly) as part of a
memo field that then needs to be exported to a txt file, which is to be used
as an interface and read by other software.
If I use an "Output to" macro, the following happens:
If the target is a report, because those features are tied to a pageset up
setting, paragraph returns are added that must be manually removed and all
trailing spaces are trimmed off.
If the target is a query, each record is defined by a bars and hyphens,
which must be removed manually.
I need a process that can reliably generate this file without any need for
the end user to do any manipultations. Can I manage this with a module?
My confession: I manage to understand VBA when I read it but seldom manage
to write it.
being a fixed length string 508 characters long, the end of which is lot of
hard spaces. I have been able to create this string (perfectly) as part of a
memo field that then needs to be exported to a txt file, which is to be used
as an interface and read by other software.
If I use an "Output to" macro, the following happens:
If the target is a report, because those features are tied to a pageset up
setting, paragraph returns are added that must be manually removed and all
trailing spaces are trimmed off.
If the target is a query, each record is defined by a bars and hyphens,
which must be removed manually.
I need a process that can reliably generate this file without any need for
the end user to do any manipultations. Can I manage this with a module?
My confession: I manage to understand VBA when I read it but seldom manage
to write it.