Portada arrow Soporte arrow Forums
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Incompletes in data base but data recorded (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Re:Incompletes in data base but data recorded
#15309
paulalford (User)
Expert Lime
Posts: 86
graphgraph
User Offline Click here to see the profile of this user
[done] Incompletes in data base but data recorded 4 Months, 3 Weeks ago Karma: 5  
Hi,

I have found a couple of threads in the forum along this theme but they don't seem to answer my query fully.

I made a survey live today with about 40 questions and my token table contained just over 4000 participant details. I started sending out the invites and have been tracking the study since about 1pm. Between that time and now we have had 116 respondents come to the survey and start. It looks, from the data, that all have completed and I have received 116 emails telling me that those surveys have been submitted.

But, here's the puzzling thing. An 'N' registered in the completed field. When I look at the tokens table I only see about 47 records where the Complete field is set to 'Y'.

As you can imagine this makes it difficult to administer reminder emails or give my client reliable feedback.

I do have access to the dB, so is there a way I can edit the records with a bit of SQL to update the completed field to 'Y'. Is the token Complete field different to the Complete field displayed on the Statistics screen? And finally, is there a fix for this so I don't have to manually update the records?

Thanks in advance
Paul
 
Logged Logged  
 
Last Edit: 2008/07/01 11:34 By Mazi.
  The administrator has disabled public write access.
#15325
c_schmitz (Admin)
Moderator Lime
Posts: 1353
graphgraph
User Online Now Click here to see the profile of this user
Re:Incompletes in data base but data recorded 4 Months, 3 Weeks ago Karma: 39  
Hi Paul


I do have access to the dB, so is there a way I can edit the records with a bit of SQL to update the completed field to 'Y'
.


Sure, just issue an update command on the table.

update xy_table set completed='Y'

(will set all records to completed = y)


Is the token Complete field different to the Complete field displayed on the Statistics screen? And finally, is there a fix for this so I don't have to manually update the records?

Depends what version you are using? If you are using the latest version please report this to the bugtracker.

Thank you!
 
Logged Logged  
 
Best regards

Carsten Schmitz
LimeSurvey Project Leader
  The administrator has disabled public write access.
#15328
Joe (User)
Platinum Lime
Posts: 362
graphgraph
User Offline Click here to see the profile of this user
Re:Incompletes in data base but data recorded 4 Months, 3 Weeks ago Karma: 19  
Hi Paul,

I have a similar problem. As it seems until now no one could reproduce this (although I can). Maybe you can contribute to the bug report or create a new one.
http://bugs.limesurvey.org/view.php?id=2193

Ciao
Joe
 
Logged Logged  
  The administrator has disabled public write access.
#15329
c_schmitz (Admin)
Moderator Lime
Posts: 1353
graphgraph
User Online Now Click here to see the profile of this user
Re:Incompletes in data base but data recorded 4 Months, 3 Weeks ago Karma: 39  
I have added a supposed fix. Please test and feed back.
 
Logged Logged  
 
Best regards

Carsten Schmitz
LimeSurvey Project Leader
  The administrator has disabled public write access.
#15495
paulalford (User)
Expert Lime
Posts: 86
graphgraph
User Offline Click here to see the profile of this user
Re:Incompletes in data base but data recorded 4 Months, 3 Weeks ago Karma: 5  
The fix is the latest SVN Carsten, yes?

Cheers
Paul
 
Logged Logged  
  The administrator has disabled public write access.
#15497
paulalford (User)
Expert Lime
Posts: 86
graphgraph
User Offline Click here to see the profile of this user
Re:Incompletes in data base but data recorded 4 Months, 3 Weeks ago Karma: 5  
c_schmitz wrote:
Hi Paul

Sure, just issue an update command on the table.

update xy_table set completed='Y'

(will set all records to completed = y)


Hi Carsten,

Just had a look at the survey_surveynumber table and there is no field called completed that I can set to "Y". Am I looking at the wrong dB table? There is a date submitted field. Does the software look for a date and then just display a "Y" on the statistics screen if a date is recorded? If so, would just setting a date prior to today work?

Cheers
Paul
 
Logged Logged  
  The administrator has disabled public write access.
#15506
Mazi (Moderator)
Moderator Lime
Posts: 3225
graph
User Offline Click here to see the profile of this user
Re:Incompletes in data base but data recorded 4 Months, 3 Weeks ago Karma: 25  
The completed field can be found at the lime_tokens_12345 table (depending on your survey settings).
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
#15520
paulalford (User)
Expert Lime
Posts: 86
graphgraph
User Offline Click here to see the profile of this user
Re:Incompletes in data base but data recorded 4 Months, 3 Weeks ago Karma: 5  
Mazi,

That isn't any good. From the look of Carstens post it sounds like there should be a field in the completed results table (survey_xxxxx). The tokens table contains all tokens, in my case, over 4000. So if I issue an update completed field set to "Y" SQL command ALL 4000+ records are set to "Y". Not good as we then won't be able to send any reminder emails.

Somewhere there must be a field that flags the respondent as a complete. If it is the tokens table then that isn't what Carsten mentioned and also if you can link the tokens table to the responses table then you have blown all anonymity. All of a sudden I can check who said what = BAD.

Cheers
Paul
 
Logged Logged  
 
Last Edit: 2008/07/02 15:41 By paulalford.
  The administrator has disabled public write access.
#15523
c_schmitz (Admin)
Moderator Lime
Posts: 1353
graphgraph
User Online Now Click here to see the profile of this user
Re:Incompletes in data base but data recorded 4 Months, 3 Weeks ago Karma: 39  
Hello Paul,

I am sorry. I meant the submitdate field, of course.
That is what submitted results separates from incomplete results.
 
Logged Logged  
 
Best regards

Carsten Schmitz
LimeSurvey Project Leader
  The administrator has disabled public write access.
#15525
paulalford (User)
Expert Lime
Posts: 86
graphgraph
User Offline Click here to see the profile of this user
Re:Incompletes in data base but data recorded 4 Months, 3 Weeks ago Karma: 5  
Brilliant. Cheers Carsten.
 
Logged Logged  
  The administrator has disabled public write access.
Go to top