× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I tend to go with the suggested SQL function. Then you could imbed that
into a view.

Then again, I would repeatedly question why it must remain a program
described file.

Order of preference:
- Try to figure out why someone says it must remain a program described
file and determine if the reason is still valid.
- Create the suggested function to convert the packed to a string, and
imbed that into a view. This will allow better editing and create
reusable code than converting multiple packed fields with view logic
itself.
- Use IDDU.

The one I would leave out of the realm of possibility is trying to use DDS
in a logical file to create a view. The conversion and lack of error
trapping is lacking. For example, what if the packed data is invalid?
After all it is a program described file and it's not out of the realm of
possibility. With a function, if it fails the edit you can always return
a null or a replacement value.


Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

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.