|
Hi,
I've spent 3 full days fighting with API QDFRTVFD (Retrieve Display File Description).
People say that it is one of the most (if not the most) complicated APIs to use.
So far so ALMOST good.
My goal is to retrieve output, both and hidden fields from all formats together with their names, types and sizes.
I cannot use much simplier QUSLFLD, as there is no information about the field "attribute" - output/hidden/both - and I need it.
I've got ALMOST everything I needed.
The only thing that I cannot find is field length!
For example if my DSPF's DDS contains row
VERSION 3A O 1 11TEXT('Program version')
then I would like to get "3" from somewhere.
All the rest (field name, data type, field type, position on screen) I found, but not the length.
The only thing that looks similar is field offset in the buffer, but it would be stupid to sort and subtract.
Does anyone know what structure of this API keeps field data length?
Thanks in advance,
Jevgeni
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.