id

More
3 years 6 months ago #131595 by delarammahdaviii
id was created by delarammahdaviii
HI
can i freeze all ID ?
when i export and reimport the survey , all id like survey id , question group id and question id is not change ! :(
how can i stop the renumber of id ?

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
3 years 6 months ago #131615 by delarammahdaviii
Replied by delarammahdaviii on topic id
Can anybody help me to fix it ?

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #131618 by tpartner
Replied by tpartner on topic id
You can't do anything about the group or question IDs. These are sequential in the database so are assigned accordingly.

If the survey ID already exists, a new random ID is assigned. (you cannot have two surveys with the same ID)

If the survey ID does not already exist, it will not be changed on import.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #131621 by delarammahdaviii
Replied by delarammahdaviii on topic id
i import in another system and DB
but both id most be same

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago - 3 years 6 months ago #131822 by delarammahdaviii
Replied by delarammahdaviii on topic id
we use smart phone ,and AndroPHP to transfer data with server ,
all ID most fix to correct sync , but in my server have one id , AndroPHP have another id


Any ideas to try would be greatly appreciated . :) :) :)
Last edit: 3 years 6 months ago by delarammahdaviii.

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #131850 by DenisChenu
Replied by DenisChenu on topic id
If you use VV export => VV import , you can move response from androPHP to Server without same id.

All the question code are different ? Because work only with vv V2 version : manual.limesurvey.org/Exporting_results#...e_.28New_in_2.05_.29

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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #131863 by delarammahdaviii
Replied by delarammahdaviii on topic id

Denis Chenu wrote: All the question code are different ?

unfortunately , YES

when i export from first server and import in tablet everything is good and work , but i want to sync with androPHP and second server and ALL code must be same .
because application use SGQA .

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #131866 by DenisChenu
Replied by DenisChenu on topic id
Question code are different : it's good : because you can use VV

Here :
- I think you can use api.limesurvey.org/classes/remotecontrol...hod_export_responses call from server to Phone.

But you're right : the best can be using : api.limesurvey.org/classes/remotecontrol...#method_add_response but here : you need to know the SGQA in the server. Think a feature request can be 'Option to use EM code in add_response'.

Another solution : plugin : export to VV in ftp and load this file in the server.

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 .
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: delarammahdaviii

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!