Guest.Visitor
01-01-1995, 02:00 AM
I'm trying to find a way to incorporate the same functionality that MSGID does for display files into printer files, ie. evaluate output fields at runtime with the corresponding msgid text. The way I'll handle this, to a point, is to define my output fields in my printer file with a naming convention of XXXXXXXZZZ where XXXXXXX corresponds to a msgid and ZZZ is control characters for uniqueness,etc. With the filename I can retrieve the fieldnames and with those I can retrieve the corresponding msgid text, all is good. The problem, however, is how do I get the msg. text pointed back to the outputfield in the prtf? Ideally I will loop through the fieldnames, get valid message text for fields that have an associated msgid and set them to the text.{ What I don't want is to have to reference these fields, by name, in my code}. How can I get a pointer to the storage location of these fields?