Ask a Question related to Microsoft Access, Design and Development.
-
MUHAMAMD SALIM SHAHZAD #1
dynamic creation folder while preview report
dear sir
i wanted to create the folder of today date by default in c driver
under c:\reports folder..i hve tried mkdir, dir with vbdirectory but
did not success
Private Sub cmdReport_Click()
docmd.openreport "myreport",acpreview
DoCmd.OutputTo acOutputReport, "myreport", _
acFormatRTF, "c:\reports\myReport.rtf", False
End Sub
can anyone help me
thks and rgds bye
MUHAMAMD SALIM SHAHZAD Guest
-
Preview creation
I noticed that with smaller files, 200KB or so, a preview is automatically created, whereas with larger files, 600 KB or more, no preview is created.... -
one-click creation of low resolution copy for preview purposes
Hi, I work in prepress and we quite often have to create lores-copies of the high res-pdfs to email to customers. Now I wonder if there is some... -
Folder creation
Is it possible to create a folder on the server through the Contribute 3 interface? -
New Folder Creation
Can someone point me in the right direction to find a simple script that will automate the creation of folders as needed? I've looked but can't... -
Folder creation up to an invalid path
Hi This might be a strange problem...One of my folder has been recreated several times in to depth of its path and now i am unable to delete the... -
peter walker #2
Re: dynamic creation folder while preview report
MkDir works. You are probably trying to create a folder using the date
format. This would contain illegal characters in the file / folder name.
Try something like...
MkDir "c:\reports\temp" & Format$(Date, "ddmmyy")
--
peter walker MVP
Please post replies to the news group so everyone can benefit.
[url]www.papwalker.com[/url]
"MUHAMAMD SALIM SHAHZAD" <msssd786@yahoo.ca> wrote in message
news:5a7850d5.0307012230.70349520@posting.google.c om...> dear sir
>
> i wanted to create the folder of today date by default in c driver
> under c:\reports folder..i hve tried mkdir, dir with vbdirectory but
> did not success
>
> Private Sub cmdReport_Click()
>
> docmd.openreport "myreport",acpreview
>
> DoCmd.OutputTo acOutputReport, "myreport", _
> acFormatRTF, "c:\reports\myReport.rtf", False
>
> End Sub
>
> can anyone help me
>
> thks and rgds bye
peter walker Guest



Reply With Quote

