GLOBAL() Function - Replace Global ValuesSyntaxGLOBAL (string) DescriptionThe GLOBAL() function takes a string argument and returns a string. The GLOBAL() function will translate the contents of the string and replace global values that are defined in the config.tpm file. For example, suppose the config.tpm file looked like: DATA=c:/mydata/ This is a data file that contains certain information on employees in the EMPLOYEE fields:
The contents of the first record are:
The following query can be used to translate the BITMAPS into global operations. For example: Select NAME, HIRE_DATE, GLOBAL(picture) from employees This would result in: Bob Worker 12/02/96 c:/mybitmaps/BobWorker.bmp ______________________________________________________________________________________ Copyright BASIS International Ltd. BBj®, Visual PRO/5®, PRO/5®, and BBx® are registered trademarks. |