tengo este error al realizar la copia de seguridad de mi BD...
que opinan ?
tengo este código en el boton:
delphi
procedure TForm1.CopiadeSeguridad1Click(Sender: TObject); //REALIZA UNA COPIA DE SEGURIDAD DE LA BD DE FORMA MANUAL var bi: TBrowseInfo; idl: PItemIDList; PathName: array [0 .. MAX_PATH] of Char; begin FillChar(bi, SizeOf(bi), 0); bi.hwndOwner := Handle; idl := SHBrowseForFolder(bi); if not Assigned(idl) then Exit; SHGetPathFromIDList(idl, @PathName); CoTaskMemFree(idl); try Datamodule1.ADOConnection1.Execute('backup database Mibase to disk = ''' + PathName + '\Mibase_' + FormatDateTime('yyymmdd', Now) + '.bak'''); ShowMessage('Copia de seguridad exitosa'); except ShowMessage ('Ocurrió un error y no se pudo completar la copia de seguridad'); raise end; end;