search for: ediausercontact

Displaying 2 results from an estimated 2 matches for "ediausercontact".

2007 Oct 16
11
how to arrange the field in excel by using to_csv
...all, i am exporting the file by using to_csv, but its coming as unordered rather than my expected output, if i check in the database, its working fine, but in the excel sheet it shows in the unordered,so please let me knoe, how to show orderly in the excel sheet by using to_csv. @report_data=EdiaUserContact.find_by_sql( "SELECT '''' as ''Title'', `fname` as ''First Name'','''' as ''Middle Name'', `lname` as ''Last Name'','''' as ''Suffix'',m.member_company_name as...
2007 Oct 11
0
display problem with to_csv
...ll, I need to export the document as csv file, i have exported successfully, but the problem is not displayed as per my format, in csv file the format is suffuled, i want the orderwise as how i have mentioned in my query, please help me to come out in the order wise. My coding is: @report_data=EdiaUserContact.find_by_sql( "SELECT '''' as ''Title'', `fname` as ''First Name'','''' as ''Middle Name'', `lname` as ''Last Name'','''' as ''Suffix'',m.member_company_name as...