Home » Developer & Programmer » Forms » Error while generating FMX (Forms 6i)
Error while generating FMX [message #301310] Wed, 20 February 2008 00:44 Go to next message
catchme_lenin
Messages: 35
Registered: January 2008
Location: Dubai
Member
Hi guruji,
When I compile a Form, it is not giving any error. But, when I generate a FMX, it throws the following error.

FRM-30438: Warning: WHEN-VALIDATE-ITEM trigger ignored for subordinate mirror item T_SMS_TOW_JOB.TXT_FLTNO2.
FRM-30438: Warning: WHEN-VALIDATE-ITEM trigger ignored for subordinate mirror item T_SMS_TOW_JOB.TXT_DATE02.

Kindly give a suggetion to overcome.


thank you in advance.
-Lenin.
Re: Error while generating FMX [message #301317 is a reply to message #301310] Wed, 20 February 2008 00:53 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Remove the WVI from the mirror item.

David
Re: Error while generating FMX [message #301320 is a reply to message #301310] Wed, 20 February 2008 01:02 Go to previous messageGo to next message
azamkhan
Messages: 557
Registered: August 2005
Senior Member
what is WVI?
Re: Error while generating FMX [message #301321 is a reply to message #301317] Wed, 20 February 2008 01:06 Go to previous messageGo to next message
catchme_lenin
Messages: 35
Registered: January 2008
Location: Dubai
Member
thank you for the suggestion.

Well. I have some doubts as follows

1. The trigger WVI in the original Item will take care of Mirror item's data too?
2. If anyone enter wrong data in the mirror item and If I remove the WVI trigger from the mirror item, how to validate the mirror item's data?

Kindly explain me, since I am new to Forms.


thank you and Regds,
Lenin.
Re: Error while generating FMX [message #301327 is a reply to message #301321] Wed, 20 February 2008 01:19 Go to previous messageGo to next message
azamkhan
Messages: 557
Registered: August 2005
Senior Member
I think there is a property that says COPY FROM ITEM. If you use this property you mirror item can be updated...
Re: Error while generating FMX [message #301495 is a reply to message #301321] Wed, 20 February 2008 19:39 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
If you are going to permit the updating of the 'mirror' item then remove the 'Copy Value from Item' and populate the second field in the WVI of the first value. Then you can have a validation trigger on the second item without receiving this warning.

David
Re: Error while generating FMX [message #301581 is a reply to message #301495] Thu, 21 February 2008 01:23 Go to previous messageGo to next message
catchme_lenin
Messages: 35
Registered: January 2008
Location: Dubai
Member
Dear djmartin,
thank you for suggestion.
I would like to get clarification on the following:
1. The main item name not mentioned in secondary item's 'Copy Value From Item' property. It has been mentioned in the property of 'Synchronize with item'. But still the W V I trigger raises the message. What can be done?

2. I could not understand the following, which is in your reply:
'....and populate the second field in the WVI of the first value....'. Kindly explain me further.

3. FRM-30438: Warning: WHEN-VALIDATE-ITEM trigger ignored for subordinate mirror item T_SMS_TOW_JOB.TXT_FLTNO2.
The above message is only warning message. FMX is getting generated. If I continue to use the FMX, will be there any functionality error????

Friendly,
Lenin.
Re: Error while generating FMX [message #301679 is a reply to message #301310] Thu, 21 February 2008 05:55 Go to previous messageGo to next message
rajy_salim
Messages: 204
Registered: January 2008
Location: Beirut - Lebanon
Senior Member
The FMX is generated , but the WVI trigger is ignored, so you may not have the mirroring process. In other terms, the mirror will not be populated.
Re: Error while generating FMX [message #301680 is a reply to message #301310] Thu, 21 February 2008 05:57 Go to previous messageGo to next message
rajy_salim
Messages: 204
Registered: January 2008
Location: Beirut - Lebanon
Senior Member
Try not to use the name of the first field in the 'Synchronize with item' property of the second and put it in the WVI of the first.
Re: Error while generating FMX [message #301814 is a reply to message #301581] Thu, 21 February 2008 18:08 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
1. If you intend changing the value stored in the second field then do not populate the 'Synchronize with item' or 'Copy Value From Item' properties.

2. '....and populate the second field in the WVI of the first value....' means code like the following exists in the When-Validate-Item of the first field:
:blk.item_2 := :blk.item_1;


3. I don't know, but I do know that I don't want this message to appear, so lets just change the form so that it isn't generated.

David
Previous Topic: How to change the background color in List of Values (LOV) ?
Next Topic: Unable to run reports
Goto Forum:
  


Current Time: Fri Sep 27 10:32:17 CDT 2024