Actions

Problems & solutions/da: Difference between revisions

From LimeSurvey Manual

(Created page with "==Rediger .csv med Excel==")
(Created page with "Generelt ''''' anbefaler vi ikke at bruge Excel til at redigere de eksporterede .csv-filer''''', fordi Excel foretager nogle ændringer i den interne datastruktur i csv-filen,...")
Line 19: Line 19:




In general '''''we do not recommend to use Excel to edit the exported .csv files''''' because Excel does some changes to the internal data structure of the csv file which results in a failing import. If you still want to use Excel, you have to set the separator for Excel to a comma in System Control (Windows systems).
Generelt ''''' anbefaler vi ikke at bruge Excel til at redigere de eksporterede .csv-filer''''', fordi Excel foretager nogle ændringer i den interne datastruktur i csv-filen, hvilket resulterer i en mislykket import. Hvis du stadig vil bruge Excel, skal du sætte separatoren for Excel til et komma i Systemkontrol (Windows-systemer).


If you do not know how to do it but you have already edited your document and save it as .csv, try the workaround suggested [[Import responses#Potential_issues_.26_solutions_with_the_VV_file|here]].
Hvis du ikke ved, hvordan du gør det, men du allerede har redigeret dit dokument og gemt det som .csv, kan du prøve den foreslåede løsning [[Importer svar#Potential_issues_.26_solutions_with_the_VV_file|her]].





Revision as of 12:44, 29 December 2023


Template:Bemærk


Excel

Ændring af svar i Excel før import

For at udføre flere ændringer i dit dokument med svar, kan du vælge at eksportere og åbne en fil i Excel. Foretag ændringer i dataene (bortset fra de to øverste linjer!), og gem derefter dokumentet som en .txt-fil. Hvis du gemmer det som .csv, bruger Excel som standard komma-afgrænsninger, som ikke kan importeres tilbage til LimeSurvey. Ved at gemme den som en .txt-fil, gemmer Excel det redigerede dokument som en tabulator-separeret fil, der importeres tilbage til LimeSurvey.


Rediger .csv med Excel

Generelt anbefaler vi ikke at bruge Excel til at redigere de eksporterede .csv-filer, fordi Excel foretager nogle ændringer i den interne datastruktur i csv-filen, hvilket resulterer i en mislykket import. Hvis du stadig vil bruge Excel, skal du sætte separatoren for Excel til et komma i Systemkontrol (Windows-systemer).

Hvis du ikke ved, hvordan du gør det, men du allerede har redigeret dit dokument og gemt det som .csv, kan du prøve den foreslåede løsning her.


Excel - export limited to 255 columns

Due to limitations in Excel (versions lower and equal to 2003), LimeSurvey can export only 255 columns at the same time. Microsoft has proposed a workaround as a VB macro.

Although newer spreadsheets (Excel >= 2007, OpenOffice) can display more than 255 columns, the internal module used by LimeSurvey still cannot export more than 255 columns.

Two workarounds are possible:

  • Either export to CSV and import the file into your spreadsheet software
  • Use multiple exports (selecting at most 250 columns at a time), then merge the exported results


Excel/.csv - export fails

If you are unable to export your data to excel or into a .csv file, please try to clear your browser cache and cookies.


CSV

CSV defaults to 255 columns

When exporting large surveys, LimeSurvey limits the export to the first 255 columns by default. To work around this, simply mark all data sets for export.


SPSS export

Possible error messages in SPSS

ERROR. command name:Get Data

If you receive the error message ERROR. command name:Get Data. 2267 Unexpected Token missing., please edit the forth line of your syntax file so it points to the absolute path of the data file like

C:\spss\Data\limesurvey\SPSS\survey_35276_SPSS_data_file.dat


Error: "Text value unmappable in the current server locale"

This error can happen if you try to open an exported syntax file in SPSS 16. The solution is to force SPSS to interpret the syntax file as unicode.

Open SPSS. Go to Edit > Options > Character encoding for data and syntax. Change the option to "unicode".


Other problems and solutions

Copying responses into a different survey (using tokens)

  1. Create new survey, add a dummy response, export the response file, open in Excel. This creates the format for the new import file.
  2. Export the responses from the old survey, including tokens, open in Excel.
  3. Use this data to create an Excel worksheet for the standard token file import (eg. Firstname, Lastname, Token, Email address, Email status (OK), Language (En)). Save as .csv and import tokens to the new survey in LimeSurvey.
  4. In Excel, copy the response fields from the old survey responses that you want in the new survey (including token) into the appropriate Excel column of the new survey format.
  5. Save as .txt file.
  6. Use VVImport to import the new data into the new survey.
  7. Possible import errors include date format - some system date fields do not allow a NULL value, some do. If the date looks okay but gives an error, use the Excel cell format "2009-12-01".