Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Db with an ado


From   "Tharyan, Rajesh" <R.Tharyan@exeter.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Db with an ado
Date   Wed, 29 Apr 2009 14:21:56 +0100

Hi all,

When I issue a command followed by by a request statement as in something like below..

. db use
 . di "do you want to list: (enter 1 for yes 2 for no) " _request(_answer)
do you want to list: (enter 1 for yes 2 for no) . use "C:\data\results.dta", clear

Stata automatically uses the echo from the db use command as _answer. Is there anyway to prevent this?

Regards
rajesh
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index