too many occurrences for record or group

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
manishcspro
Posts: 67
Joined: June 26th, 2017, 2:15 pm

too many occurrences for record or group

Post 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.
Attachments
error_msg.jpg
error_msg.jpg (17.63 KiB) Viewed 1330 times
Last edited by manishcspro on August 30th, 2020, 5:06 am, edited 1 time in total.
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: editing csdb data using batch edit

Post 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
Post Reply