Viva Clipper !

SP_SLS_QUERY

Advertisements
SLS_QUERY()

  Short:
  ------
 SLS_QUERY() Sets SuperLib global query string

 Returns
 <cSetting> => Current value of the setting

 Syntax
 SLS_QUERY([cNew])

 Function                   Setting                     Default
 --------------------------------------------------------------
 SLS_QUERY([cNew])          Query string                ''
                            set by QUERY()

 [cNew] sets the setting to a new setting
 If [cNew] is passed, the setting is changed and the
 new setting is returned.

 THIS IS MAINLY FOR INTERNAL USE BY SUPERLIB

 Examples

  SLS_QUERY({||"R"$lname})

 When using SLS_QUERY(), be sure to reset it to ""
 when changing DBFs.

 Source: S_GLOBAL.PRG

 

Advertisements

Advertisements