Page 1 of 1

chanege value of external data file

Posted: April 19th, 2024, 12:32 pm
by amari
I am managing data entry with Menu and I need set value=1 for a specific item which is already complete collection (complete data entry for that case, suppose it has another value now).
As I do this setting in menu I can consider my original data entry as external.so I need to know, can I just change a value of data file without opening data entry. my purpose is to remove a flag of specific case using menu. I just wanna do that only. so opening large data entry is cumbersome task, just for such simple change.

also please give a solution for my custom API question viewtopic.php?t=5737

Re: chanege value of external data file

Posted: April 22nd, 2024, 4:16 pm
by justinlakier
Hello,

You can use WriteCase to update existing cases of an external data file. See posts on WriteCase hereand here. If you want to use WriteCase() to edit a particular existing case, first load that case into memory with LoadCase() on that case's ID items, modify the item in memory that you want changed, and use WriteCase() after the modification in memory to place the items from memory back into a case in the external dictionary.

Also, your other question has been answered.

Hope this helps,
Justin

Re: chanege value of external data file

Posted: April 22nd, 2024, 9:14 pm
by amari
Thanks lot