Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - adbf() return database name for the given alias http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 adbf()              Return database name for the given alias
------------------------------------------------------------------------------
 Declaration
   database.hdr

 Syntax
   func char adbf extern
   param alias sDatabase

 Arguments
   sDatabase is the alias to retrieve information about.

 Return
   The file name of the database.

 Description
   The adbf() function returns the file name of the database file opened with
   the specified alias. The function returns an empty string if the database
   is closed.

 Example
   #define EXAMPLE_DATABASE
   #include example.hdr

   proc Test_adbf
   open "stest.dbf" alias sTest
   ? "adbf() returns", "'" + adbf( sTest ) + "'"
   close sTest
   ? "adbf() returns", "'" + adbf( sTest ) + "'"
   endproc

   proc main
   Test_adbf()
   endproc

See Also: adbfname() afdx() dbf()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson