scid / srid

More
4 years 5 months ago #94548 by mimi
mimi created the topic: scid / srid
Hi...

May i know what is 'srid' and 'scid' code in the database?
It is the name of column in tr_saved_control table.
Where is that code refer to?

TQ.

Please Log in to join the conversation.

More
4 years 5 months ago #94585 by DenisChenu
DenisChenu replied the topic: scid / srid
srid : lime_survey_XXXX.id
scid : UNIQUE KEY for lime_saved_control

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 5 months ago #94684 by mimi
mimi replied the topic: scid / srid
I am sorry denisChenu..
i didnt mean to cross the topic.
for this topic, when i post, i didnt see my post, so then im trying to post at the other topic.
thats why...

Anyway.. thank u so much for answering.

But may i know,, the unique key for lime _saved_control are auto generated?
or can we generate it manually?
same thing for srid.

Thank u..

Please Log in to join the conversation.

More
4 years 5 months ago #94685 by DenisChenu
DenisChenu replied the topic: scid / srid
Hello,

No not really, and it's a bad idea. The 2 id is in "AUTO_INCREMENT" then whe n you don't force, you're sure it will be unique.

You can do your own php script to set srid or scid, but need some php competence to do a good script.
And what for ? Maybe there are some best way to have another identification number.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 5 months ago #94689 by mimi
mimi replied the topic: scid / srid
can i just put any number into it?

bcause i have a big problem here where my system not go to the page where it should go.

the system is about updating. when student want to update their status, they will proceed to the page where it should b. and i have find out that the student data not save to the tr_saved_control table. that's why they cant proceed to the page where it should b.

so i were thinking that i can make the srid and scid code by myself...

Please Log in to join the conversation.

More
4 years 5 months ago #94694 by DenisChenu
DenisChenu replied the topic: scid / srid
Think best is to use "token" with "Allow editing responses after completion?" to Yes.

The student need to only know is token, he can update his answers when needed.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now