All of the ID fields were not filled, please reenter

Other discussions about CSPro
nimbona
Posts: 8
Joined: June 2nd, 2018, 2:43 pm

All of the ID fields were not filled, please reenter

Postby nimbona » June 2nd, 2018, 2:58 pm

Hello everyone,
I need help please. When i run my data entry application i get this message"All of the ID fields were not filled, please reenter".

Thank you in advance

josh
Posts: 1552
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: All of the ID fields were not filled, please reenter

Postby josh » June 2nd, 2018, 3:21 pm

In order to have a complete case in CSPro you must enter values for all the id variables from the dictionary (the variables in the id-items section). You probably have one or more of the id-items from your dictionary that you did not drag onto the form and are therefore not getting filled in.

nimbona
Posts: 8
Joined: June 2nd, 2018, 2:43 pm

Re: All of the ID fields were not filled, please reenter

Postby nimbona » June 4th, 2018, 2:13 am

thank you Josh,
But i see that there is no item not drug into form. That error comes when i try to put an external dictionnary on an other dictionnary in order to put the two dictionnary as one

nimbona
Posts: 8
Joined: June 2nd, 2018, 2:43 pm

Re: All of the ID fields were not filled, please reenter

Postby nimbona » June 4th, 2018, 3:24 am

Thank very much Josh,
I see that i have not drop item from internal dictionnary. The problem that i have for the moment is to drop item from external dictionnary. When i finish to write on the internal dictionnary, the cursur return one that internal dictionnary, but i want to continue to the external dictionnary.

josh
Posts: 1552
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: All of the ID fields were not filled, please reenter

Postby josh » June 4th, 2018, 8:38 am

You cannot drop fields from an external dictionary onto a form with fields from the main dictionary. It is not common to need to key fields from an external dictionary. External dictionaries are generally used to lookup or save auxiliary data. You may want to consider using multiple records in your main dictionary instead. That way you have different data records but all in the same data file. It is generally simpler to have all your data in one data file, otherwise it can be tricky to link the data from the external file back to the main data file.

If you really want to save the data using the external dictionary you have two options:

1) Make copies of the variables from your external dictionary and add them to your main dictionary. Put the copied fields from the main dictionary onto your form and after they are entered assign the values of the variables in the main dictionary to the variables in the external dictionary and then call writecase on your external dictionary.

2) Use an external form file. External forms can have fields from an external dictionary. Take a look at the "Using External Files & Forms" example in the CSPro examples directory.

External forms require a pretty advanced understanding of CSPro so I would probably go with option 1.


Return to “Other”