B
BlueWolverine
Hello,
MS ACCESS 2003 on XP PRO.
I want to use the caption from a report as it's filename when using a print
to pdf module I have from lebans.com
So what I want to do is something like this.
str_RptName = Forms!my_Form!my_Field.value
str_Filename = reports!&str_RptName&.caption
Can this be done? Additionally, is there anyway to make sure doing this
triggers ON OPEN since I ahve code in there that tailors the caption to what
I want?
I can'tr eally hard code the name because the code I'm writing should do
this for ANY of my reports, and they are all drastically different.
Thanks.
MS ACCESS 2003 on XP PRO.
I want to use the caption from a report as it's filename when using a print
to pdf module I have from lebans.com
So what I want to do is something like this.
str_RptName = Forms!my_Form!my_Field.value
str_Filename = reports!&str_RptName&.caption
Can this be done? Additionally, is there anyway to make sure doing this
triggers ON OPEN since I ahve code in there that tailors the caption to what
I want?
I can'tr eally hard code the name because the code I'm writing should do
this for ANY of my reports, and they are all drastically different.
Thanks.