I am using the Spss .net library http://spss.codeplex.com to create a .sav file and I cant seem to find how to create cases. I am using C#.
Could someone please point me in the right direction?
merthsoft's answer on the following stackoverflow posting provides a good starting point for getting spss up and running. Using 64-Bit SPSS Libraries in C#
The hangups I personally had were including all of the appropriate dlls like... spssio64.dll icudt32.dll icuin32.dll icuuc32.dll
When exporting your data, all columns need to be unique.
If you followed a similar pattern to merthsoft, a possible solution for creating cases may be wrapping and exposing this method...
[DllImport("spssio64.dll", EntryPoint = "spssCommitCaseRecord"...
I hope by now you got it working, but for those who come across this in the future this may help.