You would probably need two data structures to accomplish this, assuming
it's possible to overlay a date field on a character field.  The first would
contain the eight digit date and subfields for year, month, and day.  The
second would contain subfields for year, month, and day in addition to
fields for the "-" character.

I'm reasonably certain what you want cannot be accomplished using a single
data structure.  Besides, the MOVE method is, to me anyway, easier to
understand since almost everything one needs to know is contained in a
single statement.

Donald R. Fisher, III
Project Manager
The Roomstore Furniture Company
(804) 784-7600 extension 2124
DFisher@roomstoreeast.com

<clip>
No I don't have to use a data structure, I was just trying to get a DS to do
the work and eliminate all of the moves...
i.e.
D                             DS
D Character_Date                                1      8
D Date_Field                                   D
Overlay(Character_Date) ??????????(or something like this)
<clip>


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 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.