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.
dataviewer does not show the save as... menu entry
dataviewer does not show the save as... menu entry
- Attachments
-
- DataViewer.zip
- (66.92 KiB) Downloaded 192 times
Best
Ari
Ari
Re: dataviewer does not show the save as... menu entry
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,.
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,.
Best
Ari
Ari
Re: dataviewer does not show the save as... menu entry
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.
- Attachments
-
- VACINAL_00_Cadastro_Criancas_Treinamento_Original.zip
- (564.59 KiB) Downloaded 184 times
Best
Ari
Ari
-
- Posts: 1801
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: dataviewer does not show the save as... menu entry
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.
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.