Search found 1802 matches

by Gregory Martin
September 29th, 2023, 5:09 pm
Forum: Entry
Topic: ValueSet.Randomize Function
Replies: 4
Views: 3104

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: 2290

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: 3104

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: 12796

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: 2918

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: 13787

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: 3194

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...
by Gregory Martin
September 20th, 2023, 2:18 pm
Forum: Android
Topic: Set update server programmatically
Replies: 1
Views: 3813

Re: Set update server programmatically

Our current API for inter-Android application communication doesn't allow you to update the application via parameters from an Intent, though we'll keep this in mind for future development. You can use syncapp to update the application programmatically: https://www.csprousers.org/help/CSPro/syncapp_...
by Gregory Martin
September 20th, 2023, 2:15 pm
Forum: News
Topic: New Version of CSPro
Replies: 3
Views: 4738

Re: New Version of CSPro

We're hoping to get the beta out this week; if not this week, definitely next week. The main features include: Binary dictionary items (making it easier to sync binary data without needing to use syncfile) A questionnaire viewer that displays case data in a nice format The Action Invoker, a new fram...
by Gregory Martin
September 19th, 2023, 12:41 pm
Forum: Synchronization
Topic: Synchronize code probem
Replies: 5
Views: 7103

Re: Synchronize code probem

Add ".csdb" to the file extension. Usually CSPro will do it automatically if you type the filename and then change the Source Type, but if you type the filename last, CSPro will use the extension of the filename (which in your case is ".Brinjal_Sample"), which will default to a t...