Export CSV Problem

A place for users and developers of the Xataface to discuss and receive support.

Export CSV Problem

Postby fauners » Fri Nov 07, 2008 4:12 am

Hi all,

I'm having a bit of a problem with my csv export and was wondering if anyone can help.
I have 2 tables, employees and events, and a join table employeeevents all are working fine and certain employees are designated to certain events and in the list view of each event you can see which employees are part of that event. So everything is working just as i want it.
But when I am looking at the list of employees for a certain event and export to csv, all employees from all events are exported. Which as you can imagine is not what i want to happen.

Any help would be great thanks.

Adam
fauners
 
Posts: 10
Joined: Fri Oct 31, 2008 6:37 am

Postby Jean » Fri Nov 07, 2008 8:31 am

Hi Adam,

This is because what is loaded is the table you point to or the default table.

In csv.php you have this code :
Code: Select all
$table =& Dataface_Table::loadTable($query['-table']);


I had this problem with a custom action, I gave up and asked to the user to just do a copy/paste of the result into an excel table.

May be Steve will do another suggestion for your case...

Cheers
Jean
Jean
 
Posts: 259
Joined: Wed Nov 07, 2007 1:30 am
Location: Pau, France

Postby shannah » Fri Nov 07, 2008 9:21 am

I can't seem to reproduce this behavior with my installations. Any chance I can get access to your app to check it out?
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

I have a similar issue

Postby chapin » Sat Nov 08, 2008 9:32 am

I have a similar issue but the difference is that my export-list contains a completely different list from what I expected. I also asked to the user to just do a copy/paste of the result into an excel table.
chapin
 
Posts: 12
Joined: Mon Aug 25, 2008 2:18 am

Postby shannah » Sat Nov 08, 2008 5:32 pm

Any chance I can get access to that application to take a look?
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby chapin » Mon Nov 10, 2008 5:44 am

shannah wrote:Any chance I can get access to that application to take a look?


How can we arrange that? Shall I send you the zipped files off-line?

cheers
Giovanni
chapin
 
Posts: 12
Joined: Mon Aug 25, 2008 2:18 am


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 25 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved