I did some tests and found out that it gives an error only if I try to use
bind variables. I i insert literals it works fine.
for example if I use code like this it works
$sth = $dbh->do(" Insert into ofas values ('a','a','a','a',1,1,'1')");
### $sth->bind_param(1,$company);
### $sth->bind_param(1,$year);
### $sth->bind_param(1,$region);
### $sth->bind_param(1,$lineitem);
### $sth->bind_param(1,$actual);
### $sth->bind_param(1,$actualus);
Anurag
-----Original Message-----
From: Anurag Minocha
Sent: Friday, August 03, 2001 1:12 PM
To: 'Wilson, Doug'; [EMAIL PROTECTED]
Subject: RE: Perl.exe generating errors when used on Win 2K
where do I find the error log
Anurag
-----Original Message-----
From: Wilson, Doug [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 03, 2001 1:02 PM
To: Anurag Minocha; [EMAIL PROTECTED]
Subject: RE: Perl.exe generating errors when used on Win 2K
> Here is the error
> Perl.exe has generated errors and will be closed by windows.
> You will need
> to restart the program. An error log is being created.
Why don't you look at the error log? Or write the program such
that you keep your own error log?
The error you describe is so vague, I don't think you'll get much
help until you can narrow down and describe the problem better.
-Douglas Wilson