Hi,
I'm using Delphi 2005 and MySQL 4.1. I can not modify a date field:
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, DBTables, StdCtrls, Mask, DBCtrls;
type
TForm1 = class(TForm)
Database1: TDatabase...
Hi,
My program is ok at last. This is the code that works:
procedure TFormPhonesFormat.ButtonBeginClick(Sender: TObject);
var
Phone, FieldName, WhereFieldName, WhereFieldValue, TableName: String;
begin
FieldName := EditFieldName.Text;
WhereFieldName := EditWhereFieldName.Text...
Hi,
Thanks for your concern.
I don't have any control to disable. The program is very simple. It just have a form with 3 components: Database1 (TDatabase), Table1 (TTable) and ButtonBegin (TButton), and as code the following procedure:
procedure TFormPhonesFormat.ButtonBeginClick(Sender...
Hi,
I changed my code like following your suggestion, but I had "Couldn't perform the edit because another user changed the record" executing "Database1.ApplyUpdates([Table1]);". I tried checking "Table1.UpdatesPending" in the original code and I realized that was not any update pending, I...
Hi,
I have a very simple code that works ok, but the ApplyUpdates don't have effect. This is the code:
procedure TFormPhonesFormat.ButtonBeginClick(Sender: TObject);
var
Phone: String;
FieldName: String;
begin
FieldName := 'Phone';
Table1.First;
while not Table1.Eof do
begin
if...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.