Page 2 of 2 < 1 2
Topic Options
Rate This Topic
#135982 - 11/21/06 11:08 PM Re: Delete records in forms [Re: remedybuff]
aravind Offline
Stealth Member

Registered: 08/22/06
Posts: 37
Originally Posted By: anujtuli

Currently how exactly are you linking form A with form B?? (you cannot link them by request ID as form A does not have a request ID until it is saved)

Are you linking them using GUID?



We are using a DB procedure which generates a new ID everytime. We are calling this the moment a user opens up the record in new mode. This is the connecting factor b/w Form A and Form B.

Would like to make these things clear:
* Its out of question to push all fields from Form B to Form A. If this was possible, there would be no need for having a seperate form, we could have as well captured all data in Form A itself.
* We are on 5.1.2. hence Audit feature is not available.

Top
#135985 - 11/22/06 01:46 AM Re: Delete records in forms [Re: aravind]
Vincent_RIEDWEG Offline

Old Hand
****

Registered: 05/24/05
Posts: 1454
Loc: France
If you use DB capabilities, prefer using a sequence than a procedure. This is most efficient.

But using a self made ID or a GUID to make the relationship, the context is the same.

The solution has been done by Mlevy.
_________________________
Vincent.

Top
#135986 - 11/22/06 02:50 AM Re: Delete records in forms [Re: Vincent_RIEDWEG]
Mlevy Offline
Stealth Member

Registered: 07/24/06
Posts: 14
Yes yes dear Vince if we are in release 7 of AR System


Edited by Mlevy (11/22/06 02:53 AM)

Top
#135988 - 11/22/06 03:57 AM Re: Delete records in forms [Re: Mlevy]
Vincent_RIEDWEG Offline

Old Hand
****

Registered: 05/24/05
Posts: 1454
Loc: France
GUID is available since version 5 of AR system, but not the Archive process...
_________________________
Vincent.

Top
#135989 - 11/22/06 07:01 AM Re: Delete records in forms [Re: Vincent_RIEDWEG]
aravind Offline
Stealth Member

Registered: 08/22/06
Posts: 37
I think we are digressing from the topic.

The problem is not in linking Form A and Form B (either using GUID or anything else); the problem is in deleting Form B record if Form A is not saved, without using escalations or Audit (not avlbl in 5.1.2).

Thanks.

Top
#136045 - 11/28/06 08:46 AM Re: Delete records in forms [Re: aravind]
aravind Offline
Stealth Member

Registered: 08/22/06
Posts: 37
Putting this question in another way, is there any way to capture whether the user has clicked on 'Yes' or 'No' in the dialog - 'The changes you've made to XXX form have not been saved. Do you wish to close the window' ??

Top
Page 2 of 2 < 1 2