Well, A 'Flurry' of responses

whilst I've been beavering away creating a program to run on MY system.
Thanks for the 'welcome back' MarkMLI - I'm not considering any repairs to even the Win 98 unit. If it can't be made to simply 'work' as is then that will also be consigned to the bin.
Further explanations : The Old Old Old PC is 'deceased' - way beyond recovery, HDD failure. Though it does have a NEW CR2032 battery which can be used to bring new life to the Win 98 PC. The biggest issue I have with that is that I don't have a Com Port Mouse! and the client didn't bring his (he didn't bring the keyboard either but he went back home to fetch it. Long story!!)
He also brought with him two 'Laptops' - a Toshiba Satelite Pro with Win95 and an ACER with Win Vista - - I haven't fired either of them up yet.
It looks as though he hasn't got any version of Office (therefore no Excel) on the Win 98 PC.
The real reason for this 'visit' is that I have a wierd issue with the program. The basic creation of the database from the dBase file is fully operational, displaying each of the 1300+ records with [Next] & [Prev] buttons. Adding a button with an [Event] to create a CSV file I'm getting an 'Error: wrong number of parameters specified in call to "Assign" ' this didn't (and doesn't) happen with the same code for the main file - viz:
procedure Open_NAD_File;
Var
n : QWord;
C : Char;
Rec : Customer;
begin
Assign(NAD_FIle,datapath+'Leek_NAD.DTA');
{$I-} Reset(NAD_file); {$+}
If IOResult = 0
then
begin
Read_NAD_File;
end
[...]
which is accepted and :
procedure TForm1.PrintButClick(Sender: TObject);
Var
i : QWord;
begin
Assign(CSV_File,datapath+'Leek_NAD.CSV');
rewrite(CSV_File);
[...]
This makes no sense to me so I'd be grateful for some explanation from wiser minds
