Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!rutgers!super.upenn.edu!eecae!upba!authorplaceholder From: marla@upba.UUCP Newsgroups: comp.databases Subject: Re: dBASE III+ problem Message-ID: <50500001@upba> Date: Fri, 6-Nov-87 15:06:00 EST Article-I.D.: upba.50500001 Posted: Fri Nov 6 15:06:00 1987 Date-Received: Sun, 8-Nov-87 20:04:06 EST References: <190@brl-tbd.ARPA> Lines: 32 Nf-ID: #R:brl-tbd.ARPA:-19000:upba:50500001:000:638 Nf-From: upba.UUCP!marla Nov 6 14:06:00 1987 I tried to mail directly, but you weren't in our path alias file. > I would like to prompt a user in a .prg file with a sequence similar to > this: > datab='test.dbf' > @ 2,2 say 'What database do you wish to access' get datab > read > use 'datab' > The sequence above does not work. The file test.dbf is assumed to exist. > Clifton B. Sothoron Jr. I've used this solution: MNAME='test' USE &MNAME I haven't ever tried the prompt, but I assume this would work: datab='test' @ 2,2 say 'What database do you wish to access' get datab read use &datab UUCP: ...!ihnp4!upba!marla Marla Conway