|
Debbie, You wrote: >I am trying to define fields in 2 different Data Structures for the same file. >From your example I deduce that you're trying to name fields in one datastructure the same as another. This is not allowed unfortunately as you have found. I can only think of one reason to do what you're doing, and that is you want to fill in the second datastructure from a non-complete source with one command which will then fill in the appropriate file fields. My initial reaction is that pointers might do it, but you'd have to define each of the second datastructure's fields with basing pointers and I don't think that's allowed either. If my assumptions are correct, I would think the simplest would be to just code a subroutine to move the values into the file fields.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.