I've tried this in the transfertext action but it exports the string, "format(date(),mmdd)", in the filename. I'm trying to get the current date populated in the middle of a filename. Example; pps932rpm & format(date(),mmdd) & a.upl output as pps932rpm0823a.upl?
If you want the community to look at the additional details (e.g. how you are setting up the TransferText command, we will need to see the entire 'command' as you are executing it. Also, if there are parameters in the command whic are developed prior to the command, we need to know what the value(s) of tose parameters are at the execution point of the command.
MichaelRed
There is never time to do it right but there is always time to so it over
You must define a string to be the filename BEFORE you use TransferText. i.e.
dim str as string
str = "pps932rpm" & format(date(),"mmdd" & "a.upl"
docmd.transfertext str (whatever the syntax is)
Chris
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.