some advice again
- From: Tom <Tom@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Jun 2005 08:20:04 -0700
again thank you for all you help on previous items. again, i have hit the
WALL!!
in your eyes i am not doing anything tough, i just cant seem to think past it.
please advise.
ok, I open a table, get data from it and place it into a new one.
Now I will open the New table, add to fields to it…(2 fields manually) no
big deal..
Open a third table…scan it for the 2 fields, I need and place them in the
proper place. My code is below.
It keeps telling me I have no table open but I do (I thought)
clear all
set default to f:
USE f:\foxpro25\lagers\dbases\lagchk.dbf IN 0 shared
copy to f:\foxpro25\lagers\dbases\forauditors.dbf for checkdte >=
ctod('06/01/04') and checkdte <= ctod('06/01/05')
use f:\foxpro25\lagers\dbases\forauditors.dbf shared
use f:\foxpro25\lagers\dbases\fulagmas.dbf in 0 shared
select 0
set order to PADL(agency,6,"0")+PADL(dpt,3,"0")+PADL(employee,6,"0")
go top
scan
if !eof()
if fulagmas.agency = forauditors.agency and
fulagmas.dpt = forauditors and fulagmas.employee = forauditors.employee
replace forauditors.brthdt with
fulagmas.brthdt, forauditors.benprgflg with fulagmas.benprgflg
endif
endif
endscan
.
- Follow-Ups:
- Re: some advice again
- From: Andrew Howell
- Re: some advice again
- From: Paul Pedersen
- Re: some advice again
- Prev by Date: Re: TEXTMERGE problem
- Next by Date: Re: some advice again
- Previous by thread: Re: Wanted: Genifer for FoxBASE+
- Next by thread: Re: some advice again
- Index(es):
Relevant Pages
|