chanege value of external data file

Discussions about CSEntry
Post Reply
amari
Posts: 22
Joined: February 24th, 2024, 11:29 am

chanege value of external data file

Post 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
justinlakier
Posts: 156
Joined: November 21st, 2022, 4:41 pm

Re: chanege value of external data file

Post 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
amari
Posts: 22
Joined: February 24th, 2024, 11:29 am

Re: chanege value of external data file

Post by amari »

Thanks lot
Post Reply