Problem with row variable

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
eddalil
Posts: 9
Joined: April 5th, 2022, 6:32 pm

Problem with row variable

Post by eddalil »

Hello, I have a problem in my project with the cspro
I have any bord to do with this software. These tables are with double entries (column variables + row variables)
The question: how to write the name of each row variable in the corresponding box, also knowing that I use 2 languages ​​in the executable.

Exemple in attachment

Rmq : i use 7.5.1 version
Attachments
IMG_20220419_130530.jpg
IMG_20220419_130530.jpg (175.3 KiB) Viewed 1868 times
etuser
Posts: 85
Joined: September 3rd, 2019, 5:57 am

Re: Problem with row variable

Post by etuser »

I think you need to define your dictionary in to two languages first by opening the dictionary and go to edit and choose language to define the languages, since the questionnaire is a roster type open dictionary and go to "occurrence label" under the edit menu and copy and past the appropriate labels for that particular language which is currently active.
eddalil
Posts: 9
Joined: April 5th, 2022, 6:32 pm

Re: Problem with row variable

Post by eddalil »

Thanks my friend for the reply.
But I think my big problem is that for my example in the attached photo I will declare 3 column variables, the problem that for the first column it will give me empty boxes while I want in these boxes to write the names of row variables. So how can I do it?

I am a beginner
and i am stuck with this serious problem
aaronw
Posts: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: Problem with row variable

Post by aaronw »

I've created a simple demo project for you. It has a multiply-occurring record that has just two columns, but I added occurrence labels. The occurrence labels are then localized using the language functionality.
roster.PNG
roster.PNG (2.92 KiB) Viewed 1855 times
  • Create a multiply-occurring record (size 4)
  • Add an occurrence label to the record
  • Add the four labels
  • Add a second language
  • Select the second language and translate the four labels
Occurrence labels: https://www.csprousers.org/help/CSPro/o ... abels.html
Multiple language dictionaries: https://www.csprousers.org/help/CSPro/m ... aries.html
Attachments
contract.zip
(2.59 KiB) Downloaded 78 times
eddalil
Posts: 9
Joined: April 5th, 2022, 6:32 pm

Re: Problem with row variable

Post by eddalil »

Thank you dear friend, I will follow your directions and I will let you know the result
Thanks very much :D
eddalil
Posts: 9
Joined: April 5th, 2022, 6:32 pm

Re: Problem with row variable

Post by eddalil »

First I thank my two friends (etuser) and (aaronw) for the clarification it was the same orientations but a little more details by mr aaronw

Thank you
I was able to follow the steps and I got very Nice result
I'm a beginner I find difficult to manage two languages ​​at the same time

For this I have a second problem for the label items As I have 2 languages ​​I want to have two labels, one for each language
The problem is that I add the value set labels and I save and I quit but once I return to my project everything disappears... I can't find these labels created on the screen
Attachments
Capture111.PNG
Capture111.PNG (22.69 KiB) Viewed 1824 times
Capture222.PNG
Capture222.PNG (18.34 KiB) Viewed 1824 times
aaronw
Posts: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: Problem with row variable

Post by aaronw »

You've created two value sets with no values. Since they have no values they're removed. Try adding a value then saving.
eddalil
Posts: 9
Joined: April 5th, 2022, 6:32 pm

Re: Problem with row variable

Post by eddalil »

Thanks
OK my dear friend, I understand.
I have no value to add but I would like to add two labels one for each language only
so how can i do this please :?:
aaronw
Posts: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: Problem with row variable

Post by aaronw »

Looking at the screenshot above you would:
  • Add a value set
  • Add the two labels in French
  • Switch the language
  • Translate the two labels
eddalil
Posts: 9
Joined: April 5th, 2022, 6:32 pm

Re: Problem with row variable

Post by eddalil »

Thank you very much Mr Aaronw,
I ask these questions there because when I create the values ​​in the dictionary I always think of their display in 2 languages ​​in the executable.
Mr aaronw i have two type of variables numeric and string(alpha)

when I add a valueset with values ​​below it's like I have modalities., while I have no modalities but I only want to display a label (the name of the variable) in the executable in two languages, switching from one language to another
That's what I want
Post Reply