Mobsterz,
Take a look at this. I think your difficulty might be in the <cfchartserie>.
<cfquery name="myquery" datasource="dsn" dbtype="ODBC">
Select max(inv_no)as minv_no, max(cust)as mcust, max(style)as mstyle, SUM(units)as munits,
SUM(amount)as mamount...
Rob,
Try this procedure.
**********************
*procedure reccount
************************
procedure reccount
use (filename)
go bott
store recno() to m.reccount
if m.reccount >= 16,382
copy to file (filename).csv &&EXCEL WILL ONLY OPEN 65536 RECORDS
else
copy file to (filename).xls type...
mcoupal,
one suggestion would be the following.
use [filename] order [indexname]
copy to [backup filename].[backup extention] for [fieldname] = [filter information]
then create the report with a file you can zap and replace the information in the file with the following.
use [filename] order...
You could set up a use dsn on the machine and link excel to it that way. I currently use this option for a 300k record file from dbase to excel.
Then I analyze it in a pivot table.
>data>pivot table> external data source.
John
agit72,
**********************
*procedure reccount
************************
procedure reccount
use (filename)
go bott
store recno() to m.reccount
if m.reccount >= 16,382
copy to file (filename).csv &&EXCEL WILL ONLY OPEN 65536 RECORDS
else
copy file to (filename).xls type xl5
endif
end proc
Shangrilla,
The one issue I had with export to excel was the record limit of 16383 records. I overcame this by exporting to file type CSV using the following in my program.
store [filename] to mfile
use &mfile excl
go bott
store recno() to mnum
if mnum < 16383
copy to &mfile type xl5
else...
Mike,
I have used a grid. It works like I want. However, it can still be edited. is there a way to not allow this. is it as simple as deactivating the object?
Thanks
I have a form. It has po top information. I created a list box. of the detailed information. However, the information in the list box displays all the records in the po line information. I want to set a relationship to allow for only the information with the same po number to be reflected in the...
What I am looking for is a way to open a form and select the location say (Dallas, TX). When I close the form I would like a report to run called (sales by location). When the report runs I only want to see the location (Dallas, TX). For some reason I can not get the variable to pass to the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.