|
Post by cobian on Oct 28, 2004 6:43:57 GMT -5
When creating a zip file, setting
VCLZip1.ZipComment:='' generates an exception because StrComp cannot compare a nil value.
You may want to break your OR statement to analyze the case when ecrec.ZipComment=nil and theComment=''. Under the mean time I just do
if Comment<>'' then VCLZip1.ZipComment:=Comment
But it can be a good thing to chage the VCLZip method.
Regards
|
|
|
Post by Kevin on Oct 28, 2004 9:40:26 GMT -5
Thank you, I will take a look at that.
|
|