powerprinting
MIS
my problem...
*tank1 has 80,000 and has field dr1 (a date field) populated with no date.
*tank2 has 10 records and the exact record exists in table tank2 but field dr1 has no date populated.
*for some reason.... this has me stumped.. it is cause its a date field? or is it cause I dont have a where clause or something?
CLOSE ALL
SELE 1
USE tank1 alias master
&&master file with 80,000 recored
SELE 2
USE tank2 alias newfile
&&temp file with 10 records
SET SAFETY OFF
INDEX ON id TAG idd
SET SAFETY ON
Clear
SELE 1
SET RELATION TO idd INTO B
replace all a.dr1 with b.dr1
&&dr1 is a date fields that must be transfered to tank1, the larger file
My goal is to have tank1 date field dr1 replaced with tank2 dr1 field.
This seems to work for text fields.. not date fields.. do I need to convert to dtoc() or something?
Thanks in Advance for any help.. you guys are always great for us wannabe geeks.....
*tank1 has 80,000 and has field dr1 (a date field) populated with no date.
*tank2 has 10 records and the exact record exists in table tank2 but field dr1 has no date populated.
*for some reason.... this has me stumped.. it is cause its a date field? or is it cause I dont have a where clause or something?
CLOSE ALL
SELE 1
USE tank1 alias master
&&master file with 80,000 recored
SELE 2
USE tank2 alias newfile
&&temp file with 10 records
SET SAFETY OFF
INDEX ON id TAG idd
SET SAFETY ON
Clear
SELE 1
SET RELATION TO idd INTO B
replace all a.dr1 with b.dr1
&&dr1 is a date fields that must be transfered to tank1, the larger file
My goal is to have tank1 date field dr1 replaced with tank2 dr1 field.
This seems to work for text fields.. not date fields.. do I need to convert to dtoc() or something?
Thanks in Advance for any help.. you guys are always great for us wannabe geeks.....