Merhaba Mehmet, İlgili kodu dener misin?
void OnFotoCekClick; { Clomosy.ImageChooser(AnaForm, KanitGorsel); }
void OnGoreviBitirClick; var LResimYolu: String; { LResimYolu = '-';
try if (KanitGorsel.clProSettings.PictureSource <> '') { LResimYolu = clPathCombine('gorev_' + IntToStr(GSeciliGorevID) + '.jpg', Clomosy.AppFilesPath); Clomosy.Base64ToFile(LResimYolu, Clomosy.FileToBase64(KanitGorsel.clProSettings.PictureSource)); } except LResimYolu = '-'; }
if (GorevTamamla) { ShowMessage('Gorev Basariyla Tamamlandi!'); GtAnaPnl.Visible = False; OzetKartlariniGuncelle; IcerikKaydirici.DeleteChildren; GorevListesiniDoldur; } }
function GorevTamamla: Boolean; { try Clomosy.DBSQLiteQuery.Sql.Text = 'UPDATE TblGorevler SET Durum=' + QuotedStr('Tamamlandi') + ', BitisSaati=' + QuotedStr(FormatDateTime('hh:nn', Now)) + ', DurumNotu=' + QuotedStr(EdtDurumNotu.Text) + ', KanitFotoPath=' + QuotedStr(LResimYolu) + ' WHERE ID=' + IntToStr(GSeciliGorevID); Clomosy.DBSQLiteQuery.OpenOrExecute; Result = True; except ShowMessage('Gorev tamamlama hatasi: ' + LastExceptionMessage); Result = False; } } denedikten sonra hata oluğ olmadığını söyler misin https://static.cloudflareinsights.com/beacon.min.js/v833ccba57c9e4d2798f2e76cebdd09a11778172276447" rel="nofollow - https://static.cloudflareinsights.com/beacon.min.js/v833ccba57c9e4d2798f2e76cebdd09a11778172276447" integrity="sha512-57MDmcccJXYtNnH+ZiBwzC4jb2rvgVCEokYN+L/nLlmO8rfYT/gIpW2A569iJ/3b+0UEasghjuZH/ma3wIs/EQ==" data-cf-beacon="{"version":"2024.11.0","token":"439455f3e46c40b98dbd42a2f1a954d8","r":1,"server_timing":{"name":{"cfCacheStatus":true,"cfEdge":true,"cfExtPri":true,"cfL4":true,"cfOrigin":true,"cfSpeedBrain":true},"location_startswith":null}}" crossorigin="anonymous">
|