[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
VS_DictVar()         Set the environment variable that VS_OpenDbf() uses  NEW

Description:

  VS_OpenDbf() normally looks for the data dictionary in the default
  directory unless you have an environment variable DATADICT (ex: SET
  DATADICT=D:\DATAPATH\) declared.  VS_DictVar() allows you to
  change/read the environment variable that VS_OpenDbf() will use.

Syntax:     

  c_CurrentVar = VS_DictVar( [c_NewVariable] )

Pass:       

  c_NewVariable is an optional character expression that should
  contain the name of the environment variable you want VS_OpenDbf() to
  use.

Return:     

  c_CurrentVar is a character expression that will contain the name
  of the current environment variable that VS_OpenDbf() uses for
  determining the location of your data dictionary.

Notes:      


Example:    

  c_OldVar = VS_DictVar( "MYDICT" )
     ...
     VS_OpenDbf( "MYFILE" )
     ...
  VS_DictVar( c_OldVar )
  ...

Usage:      

  VS_DictVar() allows you to set a different environment variable for
  each seperate application that you use.

See Also: VS_OpenDbf()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson