[comp.databases] Question on DBASE 3+

roger@batcomputer.tn.cornell.edu (Roger Boissonnas) (07/12/90)

In article <36888@shemp.CS.UCLA.EDU> cslui@oahu.cs.ucla.edu (Chi Shing (John) Lui) writes:
>I have a question in DBASE 3+...
>
>I know that if I have to access a database file (ex: test.dbf) I have
>to issue a command :  USE TEST.DBF
>
>But what happens if I want to have the user specify the database file they
>want to open?  I store the user input in a memory variable.  Now, how can
>I open that databse file ?

use &variable

& is the "macro" function, discussed in your manual at the beginning of the
section that describes all of dBase's functions.


Roger Boissonnas                                    roger@tcgould.tn.cornell.edu
Cornell Theory Center                                             (607) 254-8686