Dear Cspro Developer Team,
I would like to know how to delete a case in an external dictionary/data file under conditions, by example where ID items = a specific number.
In the future, when we'll be able to use sqlquery on items, this will be very easy!
Thanks in advance for your incredible support to the CsproUsers Community!
Delete case under conditions
Delete case under conditions
G.VOLNY, a CSProuser from Haiti, since 2004
-
- Posts: 1801
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Delete case under conditions
This is very easy even now. For example, if you only had one ID item, you could do this:
ID_ITEM = 10;
if loadcase(MY_DICT, ID_ITEM) then
delcase(MY_DICT);
endif;
if loadcase(MY_DICT, ID_ITEM) then
delcase(MY_DICT);
endif;
Re: Delete case under conditions
Thank you Greg. It's very easy.
Best Regards,
Best Regards,
G.VOLNY, a CSProuser from Haiti, since 2004