K
Karen
Hi, I guess you know dBase and Access since you are reading this post 
I have some small command files (.prg) that I've written in dBase and now am
looking how to do the same procedures in Access 2002. Below is a sample of
one of these command files. If you could help me get started with getting
Access to do this function, I'd be ever so grateful.
------------
use c:\dbase\sales\hist05 exclu
replace all market with 'A1' for (territ>='13'.and.territ<='18').and.
(commcode='0062' or commcode='0066')
replace all market with 'A2' for (territ>='13'.and.territ<='18').and.
(commcode='0063' or commcode='0044)
replace all market with 'A3' for (territ>='13'.and.territ<='18').and.
(commcode='0034' or commcode='0037')
replace all market with 'A4' for (territ>='13'.and.territ<='18').and.
(commcode='0020' or commcode='0021')

I have some small command files (.prg) that I've written in dBase and now am
looking how to do the same procedures in Access 2002. Below is a sample of
one of these command files. If you could help me get started with getting
Access to do this function, I'd be ever so grateful.
------------
use c:\dbase\sales\hist05 exclu
replace all market with 'A1' for (territ>='13'.and.territ<='18').and.
(commcode='0062' or commcode='0066')
replace all market with 'A2' for (territ>='13'.and.territ<='18').and.
(commcode='0063' or commcode='0044)
replace all market with 'A3' for (territ>='13'.and.territ<='18').and.
(commcode='0034' or commcode='0037')
replace all market with 'A4' for (territ>='13'.and.territ<='18').and.
(commcode='0020' or commcode='0021')