any ideas why this is, or what i need to do to correct this
many thanks
Attribute validation error for tag CFREPORT.
The tag does not allow the attribute(s) FORMAT,QUERY. The valid attribute(s)
are DATASOURCE,FORMULA,ORDERBY,PASSWORD,REPORT,TIMEOUT,TYPE,USERNAME.
The error occurred in E:\Inetpub\vs111061\Cart\act_create_labels.cfm: line 69
67 :
68 : <!--- ### CREATE AND DISPLAY LABEL REPORT ### --->
69 : <cfreport query="list_labels"
report="http://www.dpsguide.com.au/Cart/avery_5160.cfr" format="pdf"></cfreport>
70 : </cfif>
--
Kind Regards,
Richard McKenna
"richy2424" <webfor...@macromedia.com> wrote in message
news:e07e8i$r7r$1...@forums.macromedia.com...
<!--- Syntax 1 - Use this syntax with the ColdFusion Report Builder. --->
<cfreport
template = "report definition filename"
format = "PDF or FlashPaper" or "excel"
name = "cf variable"
filename = "output filename"
query = "query variable"
overwrite = "yes" or "no"
encryption = "128-bit" or "40-bit" or "none"
ownerpassword = "password"
userpassword = "password"
permissions = "permission list"
>
cfreportparam tags [optional]
</cfreport>
OR
<!--- Syntax 2 - Use this syntax with Crystal Reports. --->
<cfreport
report = "report_path"
dataSource = "ds_name"
type = "type"
timeout = "number of seconds"
orderBy = "result_order"
username = "username"
password = "password"
formula = "formula">
</cfreport>
--
Kind Regards,
Richard McKenna
"richy2424" <webfor...@macromedia.com> wrote in message
news:e07e8i$r7r$1...@forums.macromedia.com...
<cfreport
template = "report definition filename"
format = "PDF or FlashPaper" or "excel"
name = "cf variable"
filename = "output filename"
query = "query variable"
overwrite = "yes" or "no"
encryption = "128-bit" or "40-bit" or "none"
ownerpassword = "password"
userpassword = "password"
permissions = "permission list"
>
cfreportparam tags [optional]
</cfreport>
Just by looking at your code you should be using the template attribute not
the report attribute like so
<cfreport query="list_labels"
template="http://www.dpsguide.com.au/Cart/avery_5160.cfr" format="pdf">
</cfreport>
I've not had much experience with reports so I might be wrong about some of
this.
--
Kind Regards,
Richard McKenna
"richy2424" <webfor...@macromedia.com> wrote in message
news:e07e8i$r7r$1...@forums.macromedia.com...
this works fine on my local machine, but when i upload it i get this error
Attribute validation error for tag CFREPORT.
The tag does not allow the attribute(s) FORMAT,QUERY. The valid attribute(s)
are DATASOURCE,FORMULA,ORDERBY,PASSWORD,REPORT,TIMEOUT,TYPE,USERNAME.
why would i get this error do i have to install report builder on my testing
server?