v_chandra
20th March 2006, 06:34
Hi

I call in particular single occurence session to delete current record (BAAN IV), and i do this in before.program: section. I have used mark.delete to do this particular action so that it will go as per standard BAAN.

When this choice is executed it ask for Standard Delete Yes / No question, As this is an automated session we don't want any user interaction, and the record should get deleted directly.

Did any one faced such situation or have any idea how this could be done ?

Thanks in advance for suggestions.

Regards

V_CHANDRA

mark_h
20th March 2006, 15:24
Why not just use the standard select for update and db.delete statements? Since your doing this in the before.program section I see no reason that this should not meet your needs.

NPRao
20th March 2006, 18:30
Chandra,

Please user search options to refer to the already discussed topics.

Refer to the links -

mark.delete (http://www.baanboard.com/baanboard/showthread.php?t=24545&highlight=mark.delete)

choice.mark.delete problem (http://www.baanboard.com/baanboard/showthread.php?t=25124&highlight=mark.delete)

If you are on BaaN-V version, you can also call the dal.destoy() or dal.destroy.object().