Buy Now
Sign in

Download CSV file according to the filtered date

joaoparao , November 23 2020, 10:33
J
joaoparao 26
November 23 2020, 10:33 #395000
Hi. I created a form that extracts data from a database with the ability to select data for the field content:
example date or author or date and author.
I created the export CSV function which, instead of exporting what is displayed, exports all the contents of the database.
Is it possible to export only what is displayed?
thanks a lot
Joao
admin 33
November 23 2020, 13:28 #395005
Then create a data source which loads the same set of displayed records, or add selectors to the list, then when the user selects, get the ids and read them then export!
And you better start using v7 for this!
J
joaoparao 26
December 16 2020, 15:07 #395351
Thanks Max!
But CF v7 doesn't need CC? I only found CC v6
Joao
admin 33
December 17 2020, 15:44 #395371
 Answer
For this you can use v7 only, CF7 has a Connectivity mode already!
J
joaoparao 26
February 26 2021, 11:38 #396063
Hi Max, before starting to use CFv7 (it takes time to redo the module as it is still not possible to import from CF & CCv6 to CFv7) I should solve the problem of exporting selected lines to a CSV file. I followed the directions in the post https://www.chronoengine.com/forums/posts/t105142/export-selected-rows-to-csv but I can't export anything: it keeps giving me an empty file. Do you have any example?
Joao