Search found 23 matches

by mosbi
January 19th, 2022, 11:26 am
Forum: Entry
Topic: How to use DELCASE function to delete many cases in the csdb file ?
Replies: 10
Views: 4068

Re: How to use DELCASE function to delete many cases in the csdb file ?

Wow, this is getting complicated. Because my application is very complex with connections to servers, syncdata etc... Even if I send you this, the configuration that must follow even can take time. I can not understand, what can block the operation of a simple DELCASE. My function is however very si...
by mosbi
January 18th, 2022, 8:12 am
Forum: Entry
Topic: How to use DELCASE function to delete many cases in the csdb file ?
Replies: 10
Views: 4068

Re: How to use DELCASE function to delete many cases in the csdb file ?

Unfortunately this solution does not work. Here is my code, forcase CAISSE_VILLAGEOISE WHERE C24=codeLogin do numeric rep; rep = delcase(CAISSE_VILLAGEOISE); errmsg("%v",rep); endfor; I even tried to see if the forcase loop executes well, and I see that it executes well because the ERRMSG ...
by mosbi
January 18th, 2022, 4:39 am
Forum: Entry
Topic: How to use DELCASE function to delete many cases in the csdb file ?
Replies: 10
Views: 4068

How to use DELCASE function to delete many cases in the csdb file ?

Hello TML, I'm having trouble with the DELCASE function. I try to delete several questionnaires from a FORCASE loop, but unfortunately the questionnaires are not deleted. I really don't know where the problem is? Here is an excerpt from my script: forcase DICT_NAME WHERE C24=codeLogin do delcase(DIC...
by mosbi
December 8th, 2021, 5:43 pm
Forum: Entry
Topic: How to update the value of an ID in the case identification chain ?
Replies: 1
Views: 873

How to update the value of an ID in the case identification chain ?

I would like to modify the value of a parameter of the identification string of an already existing case, by replacing it with another value. But when I do it with the WRITECASE function, the case in question is duplicate with the new value to be changed. How can I manage to modify an ID in the iden...
by mosbi
December 8th, 2021, 4:30 pm
Forum: Entry
Topic: How to Add some data in external file in using the writecase function
Replies: 7
Views: 2155

Re: How to Add some data in external file in using the writecase function

Hello, that was indeed the problem. I had a dictionary that only had identification variables with no secondary variable. as soon as i add some secondary variable in another record, adding information to the external file worked fine. I still have another problem with the WRITECASE, but I would do a...
by mosbi
December 7th, 2021, 9:21 am
Forum: Entry
Topic: How to Add some data in external file in using the writecase function
Replies: 7
Views: 2155

Re: How to Add some data in external file in using the writecase function

To keep it simple, I'm sending you a simplified version of what I want to do: so I want to save the content of the second variable of the questionnaire in my external file. I wrote the code as written in the second variable but it doesn't work. How can I save the contents of the CODE_BON variable in...
by mosbi
December 6th, 2021, 9:29 am
Forum: Entry
Topic: How to Add some data in external file in using the writecase function
Replies: 7
Views: 2155

Re: How to Add some data in external file in using the writecase function

Good morning ! Related to your question: did you use loadcase to load the desired case into memory? I answer NO. My last line of code to save information in the external file is: writecase (CODEBON_SAVED_DICT); Do I have to use a loadcase to do the recording as well? How do I write the syntax for th...
by mosbi
December 4th, 2021, 9:23 am
Forum: Entry
Topic: How to Add some data in external file in using the writecase function
Replies: 7
Views: 2155

How to Add some data in external file in using the writecase function

Hello everyone,
what I want to do with CSPro is write to an external file during an investigation.
I used the WRITECASE (DICTIONARY_NAME_DICT) function but all the code is not saved please attach the screenshots
I would like how I can reach my goal?
by mosbi
November 9th, 2021, 7:26 am
Forum: Editing
Topic: what is the equivalent of operator LIKE in CSPro ?
Replies: 10
Views: 110145

Re: what is the equivalent of operator LIKE in CSPro ?

Hello, Like I said, I tried the "pos" function but it doesn't seem to work well with the "forcase" function. In my current situation, I need to loop through data in a table. and in this case I use a "forcase" in the "forcase", when I add the function "pos...
by mosbi
October 22nd, 2021, 1:35 pm
Forum: Editing
Topic: what is the equivalent of operator LIKE in CSPro ?
Replies: 10
Views: 110145

Re: what is the equivalent of operator LIKE in CSPro ?

Hello, Really happy for the quick reaction from you, it's motivating. Now I will try the Documents \ CSPro \ Examples 7.6 \ 1 - Data Entry \ Selecting Cases application, while waiting for the arrival of Javascript which will really revolutionize CSPro! I do the tests and I will come back to you !!! ...