Displaying 2 results from an estimated 2 matches for "member_company_name".
2007 Oct 16
11
how to arrange the field in excel by using to_csv
...rt_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
''Company'' ,
`department` as ''Department'',`title` as ''Job Title'', `addr1` as
''Business Street'',....")
respond_to do |wants|
wants.csv do
render :text => @report_data.to_csv
response.headers[''Cont...
2007 Oct 11
0
display problem with to_csv
...rt_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
''Company'' ,
`department` as ''Department'',`title` as ''Job Title'', `addr1` as
''Business Street'',
`addr2` as ''Business Street1'',`addr3` as ''Business Street2'',`addr4` as
''Business...