Search found 1775 matches

by Gregory Martin
October 16th, 2023, 12:29 pm
Forum: Other
Topic: Data Viewer
Replies: 1
Views: 2426

Re: Data Viewer

You're right that the password is displayed. I'll modify Data Viewer for CSPro 8.0 so that it does not display any attributes specified in the connection string.
by Gregory Martin
October 2nd, 2023, 7:55 am
Forum: Entry
Topic: Prefill roster columns from external files
Replies: 2
Views: 3293

Re: Prefill roster columns from external files

First, you need to attach the external dictionary to your application: File -> Add Files, select code.dcf. When you run your program, you will associate CODE_DICT with external.csdb. Then you can loop over all cases where the province matches: PROC APP_DICT.PROVINCE numeric numSchools; forcase CODE_...
by Gregory Martin
September 29th, 2023, 5:15 pm
Forum: News
Topic: New Version of CSPro
Replies: 3
Views: 3580

Re: New Version of CSPro

We've released the first CSPro 8.0 beta: https://www.csprousers.org/beta A lot of the documentation is not complete, and there are a couple incomplete features that will be finished before the actual release, but it is something that you can play with. You can read more about this version here: http...
by Gregory Martin
September 29th, 2023, 5:09 pm
Forum: Entry
Topic: ValueSet.Randomize Function
Replies: 4
Views: 2707

Re: ValueSet.Randomize Function

You're setting a custom value set for P2A, so it won't be using P2A_VS1. You should randomize r:
PROC P2A
Preproc
ValueSet
r=P2A_VS1;
r.remove(P2);
seed(timestamp());
r.Randomize(Exclude(8,9));
setvalueset(P2A,r);
by Gregory Martin
September 28th, 2023, 8:37 am
Forum: Synchronization
Topic: Synchronization unexpected error (Impossible d'accéder à un objet supprimé. Nom de l'objet : 'Icon'.))
Replies: 2
Views: 1501

Re: Synchronization unexpected error (Impossible d'accéder à un objet supprimé. Nom de l'objet : 'Icon'.))

That error message is related to the UI of Data Viewer, but I've never seen anything like it. Was your data file corrupted, or is it still okay? I would just try to sync again. Does this always happen when you sync now? You can also try updating to the latest CSPro, 7.7.3, as you have the previous v...
by Gregory Martin
September 28th, 2023, 8:35 am
Forum: Entry
Topic: ValueSet.Randomize Function
Replies: 4
Views: 2707

Re: ValueSet.Randomize Function

Random numbers in the computer world are rarely truly random, as an algorithm determines in what order numbers appear. What you need to do to get randomness in the sequence is to call the seed function: https://www.csprousers.org/help/CSPro/seed_function.html A common procedure is to "seed"...
by Gregory Martin
September 26th, 2023, 9:28 am
Forum: Entry
Topic: getvaluelabel
Replies: 6
Views: 11698

Re: getvaluelabel

The getvaluelabel function isn't looking at the capture type (checkbox), so it's not formatting your checked options appropriately. You can do something like this in your question text: ~~GetCheckboxLabel()~~ And then add a user-defined function: function string GetCheckboxLabel() string labels; do ...
by Gregory Martin
September 21st, 2023, 6:29 am
Forum: Other
Topic: CsEntry via Web
Replies: 2
Views: 1910

Re: CsEntry via Web

What you're asking for is computer-assisted web interviewing (CAWI), which we're planning on working on as soon as CSPro 8.0 is released.

We're a small team and have other commitments though, so I don't think it will be ready in the near future, but hopefully in a year or two.
by Gregory Martin
September 21st, 2023, 6:27 am
Forum: Entry
Topic: Language Change
Replies: 5
Views: 12428

Re: Language Change

1) Click on the kebab menu in the top-right. (https://ux.stackexchange.com/questions/ ... -3-lines-h).

2) You'll see an option to change the language.
by Gregory Martin
September 20th, 2023, 2:42 pm
Forum: News
Topic: fichier dans le serveur
Replies: 1
Views: 2265

Re: fichier dans le serveur

There is no automatic way in logic to delete files on a server. However, you can do this from the CSWeb interface: 1) Click on Files (on the menu on the left). 2) You'll see the files that are on the server. 3) You can select directories, or multiple files. 4) Click on the trash can icon. More detai...