Hi,
the demo works with a table in db_read.
Can I extend the CSV demo if I have 2 or more linked tables in db_read?
This is the data provider in the CSV action: {var: read_data4. [N] .Beob}
How do I now have to extend the CSV action so that the data from the second table and more tables are saved to the CSV file?
Thanx
F.
Try and just leave off the .Beob
I tried that, but it did not work for me.
Only the data from the table with the model "Beob" is stored in the CSV but not the linked data set from the second table "#_user" with the model "User".
In the Fields to retrieve:
Beob.datum
Beob.beobachtung
Beob.teilnehmer
User.name
But "User.name" is not stored in the CSV file
I can only export the contents of a table.
I can not export the contents of 2 linked tables (db_read) with csv-action?
Hi,
I could not solve my export problem with CF and tried CC.
But it is the same problem.
I have a read-data-function with linked tables and different models.
The CSV export works with these data providers:
{var: read_beobachtungen [n] .Beobs.}
How should the data provider be changed if there are multiple table data in the read data in the "Fields to retrieve" ???
For example:
Beobs.datum
Beobs.teilnehmer
Beobs.user_id
Beobs.beobachtung
Marker.title
Marker.lage
Marker.gemeinde
Here is only exported to me:
Beobs.datum
Beobs.teilnehmer
Beobs.user_id
Beobs.beobachtung
In the Views tab, I created a table based on read-data. In the table, all data is displayed to me.
Send me access and tell me exactly where the function is and I'll have a quick look