var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Get Path (Directory)
In MS Access,
DoCmd.OutputTo acOutputReport, "Appr", acFormatRTF, "P:\Appr.rtf", False
I want output the file in the current directory,
the above code is specific the path,
how can I edit the current path, so whereever the the database is either drive, they still can work.
The concept is like that
DoCmd.OutputTo acOutputReport, "Appr", acFormatRTF, currentdirectory:\"Appr.rtg", False
Please let me know, thanks.
Or if you are using Access 97, then you will have to extract it from the full path and filename that is returned by Application.Name.