Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

id

  • delarammahdaviii
  • delarammahdaviii's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 1 month 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 ?
The topic has been locked.
  • delarammahdaviii
  • delarammahdaviii's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 1 month ago #131615 by delarammahdaviii
Replied by delarammahdaviii on topic id
Can anybody help me to fix it ?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 1 month 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.
The topic has been locked.
  • delarammahdaviii
  • delarammahdaviii's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 1 month ago #131621 by delarammahdaviii
Replied by delarammahdaviii on topic id
i import in another system and DB
but both id most be same
The topic has been locked.
  • delarammahdaviii
  • delarammahdaviii's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 1 month ago - 8 years 1 month 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: 8 years 1 month ago by delarammahdaviii.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 1 month 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 , plugin development .
I don't answer to private message.
The topic has been locked.
  • delarammahdaviii
  • delarammahdaviii's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 1 month 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 .
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 1 month 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 , plugin development .
I don't answer to private message.
The following user(s) said Thank You: delarammahdaviii
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose