[Openroad-users] is there a compiler setting I am missing?

Laverty, Danny Danny.Laverty at falkirk.gov.uk
Wed May 7 01:11:56 EST 2008


Hi Allan,
This is an error I have seen a number of times in older frames in one of our applications.  Like Martin, I use OpenROAD 4.1/0302 and it is more forgiving - the trace window shows similar errors to yours when compiling but, when making an image, the image compiles the component cleanly.

The message itself is clear - you have 2 fields with the same name.  This usually happens because an object has been copied and pasted back into the same frame but the pasted object has not been renamed, or it is because one of the objects is accidentally given the same name as an existing object in the frame.

Our problem frames had lots of groups and sub-groups and the duplicated item appeared in one of the sub-groups.  Sometimes the object had been resized so small that it was hard to detect, on other occasions the sub-groups had been hidden by another group that was placed on top of it (very hard to get to the bottom of this without de-composing the groups and sub-groups layer by layer).

In your case, you have a buttonfield named cores_tf[*].on_date_hdr which should be easy to spot.  The other field with the same on_date_hdr name in the frame also appears to be a buttonfield.  Once you find the duplicate item you can rename/delete/whatever as appropriate and do a fresh image.  Watch out though, judging by the number of times you are told about the redeclaration there may actually be 4 buttonfields all with the same name.  You may also find that the duplicate field is also in cores_tf.

Danny


________________________________
From: openroad-users-bounces at peerlessit.com [mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Bloomfield, Martin (PSD)
Sent: 06 May 2008 15:43
To: International OpenROAD Users
Subject: Re: [Openroad-users] is there a compiler setting I am missing?

Allan,

I have seen similar messages when building an image of the application I'm currently working on.  I have two label fields called "row_count".  These are within differently named sub-forms on a tab page.  When compiling from the editor I get no errors.  Also when I do a force compile at the application level of workbench I get no messages.  However, when I build an image (including force compile), I get similar messages to you.  However, for me the component does get included in the image and it behaves as expected.

I'm using OpenROAD 4.1 SP2.
Martin Bloomfield.
_________________________________________________
Application Developer & Database Administrator
IT Branch,
Pesticides Safety Directorate
YORK
Email: martin.bloomfield at psd.hse.gsi.gov.uk<mailto:martin.bloomfield at psd.hse.gsi.gov.uk>
Website: www.pesticides.gov.uk<http://www.pesticides.gov.uk/>
P Save a tree... please don't print this e-mail unless you really need to

From: openroad-users-bounces at peerlessit.com [mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Allan Biggs
Sent: Tuesday, May 06, 2008 3:07 PM
To: International OpenROAD Users
Subject: [Openroad-users] is there a compiler setting I am missing?


We are using OpenROAD 4.1 0403

For the first time I have noticed a difference in the compiler when creating an image and creating an application.
The error below goes unnoticed from the workbench but shows up when creating an image.

I haven't noticed this before - is there a setting we are missing ?
Thanks
Allan

Fetching corefeng from database . . .. done.
E_PW0004 Redeclaration of 'on_date_hdr'.
    Two fields have both been declared with the name 'on_date_hdr'.  This
    was caught while adding a variable declaration for the buttonfield
    'cores_tf[*].on_date_hdr'.  The other field with the same name is a
    buttonfield.

E_SM000F Redeclaration of 'on_date_hdr'.
    The name 'on_date_hdr' is being redeclared.  There is already a
    FieldObject in this scope named 'on_date_hdr'.

E_PW0004 Redeclaration of 'on_date_hdr'.
    Two fields have both been declared with the name 'on_date_hdr'.  This
    was caught while adding a variable declaration for the buttonfield
    'cores_tf[*].on_date_hdr'.  The other field with the same name is a
    buttonfield.

E_SM000F Redeclaration of 'on_date_hdr'.
    The name 'on_date_hdr' is being redeclared.  There is already a
    FieldObject in this scope named 'on_date_hdr'.

E_PW0004 Redeclaration of 'on_date_hdr'.
    Two fields have both been declared with the name 'on_date_hdr'.  This
    was caught while adding a variable declaration for the buttonfield
    'cores_tf[*].on_date_hdr'.  The other field with the same name is a
    buttonfield.

E_SM000F Redeclaration of 'on_date_hdr'.
    The name 'on_date_hdr' is being redeclared.  There is already a
    FieldObject in this scope named 'on_date_hdr'.

E_DO0016 There was a compilation error.


E_DO0038 The image file does not contain all application components.
    The image file C:\packing_engine.img encountered a problem
    while attempting to load component corefeng, and therefore does not
    contain it.  If the problem cannot be addressed, caution should be used
    when executing the image.



This communication is for use by the intended recipient and contains

information that may be Privileged, confidential or copyrighted under

applicable law. If you are not the intended recipient, you are hereby

formally notified that any use, copying or distribution of this e-mail,

in whole or in part, is strictly prohibited. Please notify the sender by

return e-mail and delete this e-mail from your system. Unless explicitly

and conspicuously designated as "E-Contract Intended", this e-mail does

not constitute a contract offer, a contract amendment, or an acceptance

of a contract offer. This e-mail does not constitute a consent to the

use of sender's contact information for direct marketing purposes or for

transfers of data to third parties.



Francais Deutsch Italiano  Espanol  Portugues  Japanese  Chinese  Korean



           http://www.DuPont.com/corp/email_disclaimer.html

This email was received from the INTERNET and scanned by the Government Secure Intranet anti-virus service supplied by Cable&Wireless in partnership with MessageLabs. (CCTM Certificate Number 2007/11/0032.) In case of problems, please call your organisation's IT Helpdesk.
Communications via the GSi may be automatically logged, monitored and/or recorded for legal purposes.
PSD joined the Health and Safety Executive on 1st April 2008. All email addresses changed to firstname.surname at psd.hse.gsi.gov.uk<mailto:firstname.surname at psd.hse.gsi.gov.uk> from that date.  Email sent to the previous addresses will continue to be delivered until at least September 2008, but please update your mailing lists or contacts as soon as you can to reflect the change.
__________________________________________________________________


**********************************************************************************************
Please Note: Incoming and Outgoing E-mail messages are routinely monitored for compliance with our policy on the use of electronic communications.

Interested in Occupational Health & Safety information?
Please visit the HSE website at the following address to keep yourself up to date

www.hse.gov.uk

Or contact HSE Infoline on 0845 345 0055 or email hse.infoline at natbrit.com

**********************************************************************************************

The original of this email was scanned for viruses by the Government Secure Intranet virus scanning service supplied by Cable&Wireless in partnership with MessageLabs. (CCTM Certificate Number 2007/11/0032.) On leaving the GSi this email was certified virus free.
Communications via the GSi may be automatically logged, monitored and/or recorded for legal purposes.

________________________________


*********************************************************************************************
The information contained in this e-mail is confidential and is intended only for the named recipient(s). If you are not the intended recipient, you must not copy, distribute or take any action or reliance on it. If you have received this e-mail in error, please notify the sender. Any unauthorised disclosure of the information contained in this e-mail is strictly prohibited.

The views and opinions expressed in this e-mail are the senders own and do not necessarily represent the views and opinions of Falkirk Council.
*********************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20080506/cb9bc73f/attachment.html 


More information about the Openroad-users mailing list