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 - dbf() return the name of the current database file http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 dbf()               Return the name of the current database file
------------------------------------------------------------------------------
 Declaration
   database.hdr

 Syntax
   func char dbf extern

 Arguments
   None.

 Return
   The file name of the database in the selected workarea.

 Description
   The dbf() function returns the filename of the currently selected database
   file.

 Example
   #define EXAMPLE_DATABASE
   #include example.hdr

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

   proc main
   Test_dbf()
   endproc

See Also: adbf() afdx()

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