Search found 47 matches

by thierryt
May 4th, 2017, 3:21 pm
Forum: Entry
Topic: How to detect duplicates cases ?
Replies: 9
Views: 7538

Re: How to detect duplicates cases ?

Hi Josh, for now i use cspro 6.3, thanks !
by thierryt
May 4th, 2017, 5:13 am
Forum: Entry
Topic: How to detect duplicates cases ?
Replies: 9
Views: 7538

How to detect duplicates cases ?

Hi all, please, i want to know if there is a function whom can indicates that i have a duplicate case when i fill the last question of id-items . i know that when it is a duplicate case there is a message system 'Case Ids 0001001 duplicate an existing case..' , but i want to program it before receiv...
by thierryt
April 30th, 2017, 8:42 am
Forum: Entry
Topic: how to use the name of an item in a function
Replies: 3
Views: 3114

Re: how to use the name of an item in a function

Thanks a lot Martin, it is the solution. There is just one line to add in the code, the complete code is : function string edit1( string varname,maxsize) maxsize = length ( maketext ( "%d" ,maxsize)); string formatter = maketext ( "%s0%dd" , '%' ,maxsize); edit1 = maketext (forma...
by thierryt
April 28th, 2017, 2:59 pm
Forum: Entry
Topic: how to use the name of an item in a function
Replies: 3
Views: 3114

how to use the name of an item in a function

Please i want to write a function named edit1, who return for a variable X the result of edit("99….9",X), where the number of 9 is corresponding to the length of item X that is specify in the dictionnary. function string edit1(string varname) string a = '"' + maketext("%d",m...
by thierryt
April 27th, 2017, 1:32 pm
Forum: Entry
Topic: function who return the length of an numeric item from the dictionnary
Replies: 6
Views: 5480

Re: function who return the length of an numeric item from the dictionnary

Hi Martin,
It is exactly what i wanted,
Thanks a lot.
Please can i have the function who return the number of cases of a data file ?
by thierryt
April 26th, 2017, 4:10 pm
Forum: Entry
Topic: function who return the length of an numeric item from the dictionnary
Replies: 6
Views: 5480

Re: function who return the length of an numeric item from the dictionnary

Hi Josh,
i need the max length allowed for the dictionnary variable
by thierryt
April 26th, 2017, 12:21 pm
Forum: Entry
Topic: function who return the length of an numeric item from the dictionnary
Replies: 6
Views: 5480

function who return the length of an numeric item from the dictionnary

Good morning,
please i need the function who return the length of an numeric item from the dictionnary. i know that the length of alpha item is return by the function LENGTH, but what about numeric item ?
Thanks