avpatil
22nd September 2008, 18:04
Hi,
I have a type 2 session which copies the sales order from my custom tables to standard Baan tables. And while doing so it deletes the record from my custom table. I have a button in session that user will click and then it will copy the sales order and then execute the choice mark.delete. If I do so I get a standard Baan question "Delete records?". Is there a way to supress this question or change the question?

Also, if I don't use choice mark.delete and delete it separately, then I have issue in refreshing the records.

Thanks

Arvind Patil

mark_h
22nd September 2008, 20:41
Well - typically I let it ask the question. Or in the other cases I just execute a find data to refresh the screen. What kind of problems are you having with refresh the records?

avpatil
22nd September 2008, 20:50
In this session I mark a sales order and then when the "Copy Sales Order" is pressed it will copy the order to Baan sales tables and then delete the mark record. When I do refresh and display.all() I still see a check sign in left most side remaining from marking the line. Even if I maually do refresh it still remain. While if I use mark.delete then this issue is not present, but then it ask a message, that may confuse the user.

Arvind

mark_h
22nd September 2008, 22:38
Rather than a refresh and display all - have you tried execute(find) using the same key fields for the table? I do not seem to recall any of the check mark remaining.

mark_h
23rd September 2008, 00:13
I also forgot about remove.mark(). You could try that also.

avpatil
23rd September 2008, 16:40
George,
Thanks for the info. It worked.
I need to do remove.mark() and then execute(find.data)

Arvind

avpatil
23rd September 2008, 17:55
sorry, I erred your name. Thanks for your help Mark