SELECT yourTable lcx = "" &&initial SCAN FOR [expression that filters out record b] TEXT to lcx TEXTMERGE NOSHOW ADDITIVE <<field1>>,sometconstant <<fieldn>> ENDTEXT ENDSCAN STRTOFILE(lcx,YourFileName) *or within the scan anything else that will build the string, we had examples yesterday.other version
SELECT yourTable COPY TO YourFileName FOR [expression that filters out record b] TYPE SDF *or COPY TO YourFileName FOR [expression that filters out record b] TYPE CSValso look for TYPE DELIMITED in the help
SELECT; Cur1.*; FROM YoruTable AS Cur1; TO FILE YourFileName; WHERE [expression that filters out record b]thats not all possible, but it's a start.
*could be replaced for SQL Server w/o changing te cursor SELECT; Cur1.*; FROM YoruTable AS Cur1; INTO CurOutPut; WHERE [expression that filters out record b] *this might be in some function that itself coud be replaced and be generic or what ever lcx = "" &&initial SCAN FOR [expression that filters out record b] TEXT to lcx TEXTMERGE NOSHOW ADDITIVE <<field1>>,sometconstant <<fieldn>> ENDTEXT ENDSCAN *or something similar *final write STRTOFILE(lcx,YourFileName)This gives fine control over the output.