Page 1 of 1

too many occurrences for record or group

Posted: June 14th, 2020, 6:34 am
by manishcspro
I created a data file with write case function in batch application using to edit data.
I use another dictionary which loads the above data and dictionary file to edit the data file.
After editing a case when i move to another case to edit is displays a message
"too many occurrences for record or group for Dictionary Name (Case:xxxxxxxxxx) "
I found "~" symbol before record type value in external data file. If I manually delete records having "~" symbol , the above message does not appears.
But when another case is written the message again appears. Please guide me.

Re: editing csdb data using batch edit

Posted: June 16th, 2020, 4:33 pm
by Gregory Martin
The main input dictionary of a batch edit application gets associated with an input and output file. Any changes you make to cases (in logic) will be reflected in the output file.

If you want to change the actual file, rather than having an output file, you have to attach the dictionary to the batch edit application as an external dictionary. Then you can functions like:
loadcase(DICT_NAME, "case you want to look up");

// make changes in logic

writecase(DICT_NAME); // save changes