Page 1 of 1

dataviewer does not show the save as... menu entry

Posted: November 18th, 2020, 4:11 pm
by AriSilva
I have an original .csdb file that I want to use just a piece of it.
My technique is:
1. open it in Dataviewer
2. save as .dat file
3. edit this dat file in a text editor, deleting the records I do not want
4. open this .dat file in dataviewer
5. when it asks for the dictionary, point to the same dictionary that was used to create the original .csdb file
6. save as a new .csdb file.
This works every time but with those attached files, after opening the .dat in the dataviewer and pointing the dictionary, it does not enable the save as menu entry.
And when trying to execute a frequency it asks for the data file, and then executes the frequency.
My alternative is to write a batch utility just to read and write the cases, doing nothing.
Unfortunately I cannot send you the original .csdb file from where I created the .dat file, it is too big to be accepted as an attachement.

Re: dataviewer does not show the save as... menu entry

Posted: November 18th, 2020, 4:33 pm
by AriSilva
I´m not sure, but I think it has something related with utf-8 and special characters.
By looking at the very first record, the original file is written as Macapá position 194 of the .dat file), field VN30 in the csdb file.
When executing the do-nothing utility just to read and write the .dat to .csdb, it "converts" to MacapÃi,.

Re: dataviewer does not show the save as... menu entry

Posted: November 18th, 2020, 4:57 pm
by AriSilva
This .csdb file also seems to work fine in batch programs, but when opening it in dataviewer it does not show the save as menu.

Re: dataviewer does not show the save as... menu entry

Posted: November 20th, 2020, 10:38 am
by Gregory Martin
That is controlled by your dictionary security options: https://www.csprousers.org/help/CSPro/d ... tions.html

When I open your dictionary, "Allow exporting data to other formats" is not checked. If you change that setting in your dictionary, you will be able to use Save As options.

Re: dataviewer does not show the save as... menu entry

Posted: November 22nd, 2020, 5:13 pm
by AriSilva
Thanks, Greg.