Send parameters to modal dialog forms

Posted by Admin on 06-Oct-2009 08:15

Hi there!

I'm trying to make a complex dialog form. For it I need some records that are stored into temp-tables.

I'm calling ShowDialog method from a ShowModalDialog public method of the dialog class, so that I can pass the temp-tables as parameters for dialog. Anyway, I think this is not the most correct way to do it, because sometimes when I close the dialog form (setting the Dialog Result corresponding to user selection ) I recive "No records available (91)" error message.

Can anyone tell me if there is some other way, and which one, for sending parameters for the dialog form (temp-tables or dataset) ?

Thanks!

P.S. I don't have a general method from which to start all the operations in the form, cause everything is based on GUI events.

All Replies

This thread is closed