×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Yeah, there's nothing I'd like better than changing this in all programs
Fmyfile ...
chain key myfile;

to:
// define all fields separately because I am not supposed to know the
table
// containing this information and therefore cannot use an externally
// defined data structure
D itemdesc S ...
D itemClass S ...
D OnHand S ...
D ...
D rc=setPointerToItemData(key);
itemDesc=getItemData("IDESC");
itemClass=getItemData("ICLAS");
OnHand=getItemData("ONHAND");
// Nope, can't use a data structure like
// ItemDataDS=getItemData();
// because that would limit the usefulness of data externalization because
// how would you change sizes of a column in the middle of the data?

I can see how this would REALLY help my productivity <SARCASM INTENDED>

And changing the properties of columns does happen, even in the packaged
ERP world. Like changing the key to the item master from 15 to 35
characters.
Old version:
Field Start End Attrib Text
IID 1 2 A2 Record ID; IM/IZ
IPROD 3 17 A15 Item Number
IDESC 18 47 A30 Item Description
...
New version:
Field Start End Attrib Text
IID 1 2 A2 Record ID (IM/IZ)
IPROD 3 37 O35 Item Number
IDESC 38 87 O50 Item Description
...

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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