Re-2: [development-axapta] Transactions with multiple forms

2004-02-05 Thread jesper.joergensen




HI,

It is no Problem having interaction before the transaction. I use the class RecordInsertList to avoid using temp tables. 

/Jesper

 Original Message 
Subject: RE: [development-axapta] Transactions with multiple forms (05-Feb-2004 12:06)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

 You cannot have user interaction in the course of a long running 
 transaction.
 If you really want to do it in one transaction, you should do the mass 
 insert all at the end.
 If necessary, you can in the meantime store the records temporary (see eg. 
 the old item wizard)
 
 Gert Neetesonne
 
 
 
 
 
 
 From: flygirltweety [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: [development-axapta] Transactions with multiple forms
 Date: Thu, 05 Feb 2004 09:50:41 -
 
 Hi,
 
 I want to write a procedure where I want to call 2-3 forms,
 in a certain order. When a user closes the first form,
 I should open a second, after that a third, 
 
 The inserts of all these records should be done in 1 transaction.
 
 Does anyone has a clue if this is possible to do this in 1
 transactions. And how do I know when a user has closed the
 first form, so I can open the second form ...
 
 Thanks!
 
 Greets Vanessa.
 
 
 _
 Online gamen ? http://www.msn.be/games/online/
 
 
 
 
 Yahoo! Groups Links
 
 
 
 
 
 To: [EMAIL PROTECTED]










Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: Re-2: [development-axapta] Transactions with multiple forms

2004-02-05 Thread flygirltweety




Thanks for the information, but I still have a few problems ...

How can I do this with mupliple forms. If I get it
right, I have to collect information of the several records in the 
RecordInsertList, and do the transaction in 1 go.

I know how I can call a form from whitin a procedure, but how can
I collect the information of the record created, and how do I know 
when the form has been closed, so I can call the next form ...

Greets Vanessa.

--- In [EMAIL PROTECTED], [EMAIL PROTECTED] 
wrote:
 HI,
 
 It is no Problem having interaction before the transaction. I use 
the class RecordInsertList to avoid using temp tables. 
 
 /Jesper
 
  Original Message 
 Subject: RE: [development-axapta] Transactions with multiple forms 
(05-Feb-2004 12:06)
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 
  You cannot have user interaction in the course of a long running 
  transaction.
  If you really want to do it in one transaction, you should do the 
mass 
  insert all at the end.
  If necessary, you can in the meantime store the records temporary 
(see eg. 
  the old item wizard)
  
  Gert Neetesonne
  
  
  
  
  
  
  From: flygirltweety [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: [development-axapta] Transactions with multiple forms
  Date: Thu, 05 Feb 2004 09:50:41 -
  
  Hi,
  
  I want to write a procedure where I want to call 2-3 forms,
  in a certain order. When a user closes the first form,
  I should open a second, after that a third, 
  
  The inserts of all these records should be done in 1 transaction.
  
  Does anyone has a clue if this is possible to do this in 1
  transactions. And how do I know when a user has closed the
  first form, so I can open the second form ...
  
  Thanks!
  
  Greets Vanessa.
  
  
  _
  Online gamen ? http://www.msn.be/games/online/
  
  
  
  
  Yahoo! Groups Links
  
  
  
  
  
  To: [EMAIL PROTECTED]










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE : Re-2: [development-axapta] Transactions with multiple forms

2004-02-05 Thread Steeve Gilbert




... and how do I know 
when the form has been closed, so I can call the next form ...

You can override closed method or one of the many others close
methods of the Form.

Steeve...









Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.