Easy enough to figure which are correct records.

First row of VCX ignore it.

2nd row on:

First row of class identified as:

        Not empty -     class, classloc, baseclass, objname 
        Empty -         parent

        Resevred2 will have a numeric value which is number of rows that go
to make up the class definition.

Last row of class definition will have empty - class, classloc, baseclass
and parent.  The objname of last record for class will be same as objname
for first record.

 Rows between first and last will have the Parent value populated with the
Objname of the parent which of course should be within the group of records
for the class definition.

Based on that you should be able to find any rogue records.
        



-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Richard
Kaye
Sent: Tuesday, 26 July 2016 12:03 AM
To: [email protected]
Subject: RE: FoxBin2Prg conversion error question

Thanks, Darren. I figure the cure will be to delete some rows manually from
the VCX but knowing which ones should be deleted is the key.

--

rk
-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Darren
Sent: Monday, July 25, 2016 10:00 AM
To: [email protected]
Subject: RE: FoxBin2Prg conversion error question

I have occasionally seen duplicate class definitions in a VCX - in all cases
I've noted the last definition is the correct one. If such a condition
exists then the earlier instances need to be deleted. 

When saving changes to a class seems VFP writes the changes as a complete
new entry and deletes the prior entries in the VCX.

Maybe something along those lines. 

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Richard
Kaye
Sent: Monday, 25 July 2016 11:33 PM
To: [email protected]
Subject: FoxBin2Prg conversion error question

Hi Fernando,

Since I know you've been hanging around here in ProFox I thought I'd post my
question here. If there's a better place, please let me know. :)

I've got a VCX that is generating errors when I run it through FB2P. It's
indicating there are duplicate objects in the VCX and does not generate the
VC2 file. (See log example below.) I have used the cleanup option in the
class browser but it hasn't helped. I've also USEd the VCX and run both PACK
and PACK MEMO. Can you advise on the best way to get past this error?

* Duplicated Object "gridiron.invgrid.invgrid" @Recno 139, (1st.Recno:17)

--

rk


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to