Xref: utzoo comp.databases:10638 comp.sys.mac.apps:6936 Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!mintaka!olivea!uunet!europa.asd.contel.com!gatech!taco!ccvr1.ncsu.edu!dcc From: dcc@ccvr1.ncsu.edu (Daniel Carr) Newsgroups: comp.databases,comp.sys.mac.apps Subject: foxbase/dbase Message-ID: <1991Jun19.152025.14890@ncsu.edu> Date: 19 Jun 91 15:20:25 GMT Sender: news@ncsu.edu (USENET News System) Reply-To: dcc@ccvr1.ncsu.edu (Daniel Carr) Organization: NCSU Computing Center Lines: 62 in a previous post i said: i'm trying to set up a database so that we don't have to use foxbase mac's report generator. i would like to use MS Word's Print Merge feature, but i can't seem to get output from the database to be in a file that Word expects (i.e. a line with the field names, separated by tabs, and then each line being a record, with each field separated by tabs. i can do one or the other, but not both in the same file. if you know anyone doing this, please ask them to give me pointers. i'm about it give up. i had already known about SET ALTERNATE and COPY TO, but i didn't realize that i could use TYPE to achieve what i wanted. so here is what i have so far: COPY TO temp.txt NEXT 5 DELIMITED WITH TAB STORE FCOUNT() TO n STORE 1 TO x SET ALTERNATE TO printmerge.txt SET ALTERNATE ON DO WHILE x