Can someone provide an example or otherwise explain how the find() function works. I have an old form, I did not develop, I'm trying to modify which uses it. I looked through the help file and found that it talked about getting a value out of an object. Also:
"Objects and their fields are described in text files named MLDEFS*.TXT in the EMR directory."
I didn't find an EMR directory in the CPS 12 installation. Does someone know the path?
Thanks
I used the Find() function early in my programming efforts for Centricity. It is based on using Objects in the MELDEFS*.txt files. Nothing is documented. This requires examining all of the objects to determine if there is one that will retrieve data from tables you are interested in. I stopped using Find(), aside from simply the frustration of locating at appropriate object, when after an upgrade, the Find() stopped functioning.
We thus developed a much more flexible approach to data extraction. A SQL string is constructed to retrieve data from Centricity. The routine is called via RUNTEXTPROCESS() which executes the string against the database, with the results returned as a text string. The SQL string can be as complicated as you want to make it. I presented this at Fall CHUG. If you want more information, contact me.
John W. Fitzgerald, MD
Thank you for the information. I will avoid using it myself. The functionality that was developed in the form I have to modify can be redeveloped using other techniques.