Here is some code that does what you want. This is production code
being used in a multi-user environment by one of my customers:
copy structure extended to stru_dda
insert into stru_dda ;
create stru_wrk from stru_dda
wait window nowait 'Appending from transaction table into stru_dda.'
append from (fm_trandbf)
delete && get rid of date header row
wait window nowait 'Establishing bipcc values in struc_wrk.'
replace sdda_bipcc with f_bipcc(sdda_actyp) ;
*--- more code deleted here for brevity
> I'm using FPRO 2.6 on the Mac. I would like to be able to modify the
> structure of a .dbf file in a program. Specifically, I would like to add
> a field to the structure of the file. Is there a way to do this? What
> would the command(s) be? I know I could do it with Copy Stru Extended,
> but I was wondering if there was an easier way.
> Sally Vegso