More Help with Forms and output file path

M

Michael

I got this to work great thanks to you guys:

="c:\" & [Forms]![frm_rebate_vendor]![vendor_name] & [Forms]![frm_rebate_main]![combo5].[column](1) & " Rebate Report" & ".xls"

Now what I would like to do is use a form value to select the directory for the file as well. Such as:

="c:\" &forms!frm_rebate_vendor!vendor_name &"\" &[Forms]![frm_rebate_vendor]![vendor_name] & [Forms]![frm_rebate_main]![combo5].[column](1) & " Rebate Report" & ".xls"

I guess I would really like to go ahead and put it a couple of levels down such as ="c:\my documents\rebates\" & forms!frm_rebate_vendor!vendor_name &"\" &[Forms]![frm_rebate_vendor]![vendor_name] & [Forms]![frm_rebate_main]![combo5].[column](1) & " Rebate Report" & ".xls"

Is this even possible?
 
N

Nikos Yannacopoulos

Michael,

It's definitely possible, but wouldn't it be simpler and faster to try it
straight away than post the question and wait for an answer?

Nikos

Michael said:
I got this to work great thanks to you guys:

="c:\" & [Forms]![frm_rebate_vendor]![vendor_name] &
[Forms]![frm_rebate_main]![combo5].[column](1) & " Rebate Report" & ".xls"
Now what I would like to do is use a form value to select the directory
for the file as well. Such as:
="c:\" &forms!frm_rebate_vendor!vendor_name &"\"
&[Forms]![frm_rebate_vendor]![vendor_name] &
[Forms]![frm_rebate_main]![combo5].[column](1) & " Rebate Report" & ".xls"
I guess I would really like to go ahead and put it a couple of levels down
such as ="c:\my documents\rebates\" & forms!frm_rebate_vendor!vendor_name
&"\" &[Forms]![frm_rebate_vendor]![vendor_name] &
[Forms]![frm_rebate_main]![combo5].[column](1) & " Rebate Report" & ".xls"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top