Question : File Increasing in Size

Seems like everytime we get back into the VBA code, the file size increases dramatically...  sometimes by 1MB... and we didn;t realy do anything... we are still using 2003 for various reasons...  other than opening and repairing which seems to shrink it a bit, are there any simple tricks to getting the file back down to a managable size?

Answer : File Increasing in Size

call post method of dataset after assigning file path:

procedure TForm1.cxImage1PropertiesCustomClick(Sender: TObject);
begin
     if OpenPictureDialog1.Execute then
     begin
           YourDataSet.FieldByName('PicPath').AsString:= OpenPictureDialog1.FileName;
           YourDataSet.Post;
           cxImage1.Picture.LoadFromFile(OpenPictureDialog1.FileName);
   end;
end
Random Solutions  
 
programming4us programming4us