I'm trying to make it easy for internal users to filter and export data fom our database.
I've written a query that uses the same "post" values as the displaying query and added a button to first export that data to a file in my image folder and then including a goto link to open that file for quick dounload
I can see that the proper filtered values are sent to the query but the file never changes?? It does not seem to overwrite. Am I dooing this wrong?
Hi hi... the best is to "change the filename" all the time on download.. as we find the temp file does not always update...
So what we did...
On filedownload ..... we passed a random number to the end of the filename.. when downloading the file... eg file-12345.csv
so that everytime you click on download... it creates a "new file" and then wont get stuck on the "temp" file and will always update... and it work eveytime..