Hello
Always that I run the following code gives an error to me, of memory when arrives at last serie to delete. Somebody knows which is the problem?
TLineSeries *serie[10];
for(int reg=0;reg<5;reg++){
TLineSeries *ls;
ls = new TLineSeries(DBChart1);
serie[reg]=ls;
DBChart1->View3D...
Hi
I have a program that use TTables to communicate with a mysql table. After I delete the column "test1" in the table, when I star the program appear this error :
[MySQL][ODBC 3.51 Driver][mysqld-4.0.13-nt]Unknown column 'test1' in 'field list'.
In the field List don't appear any...
Hi
I have a program that use TTables to communicate with a mysql table. After I delete the column "test1" in the table, when I star the program appear this error :
[MySQL][ODBC 3.51 Driver][mysqld-4.0.13-nt]Unknown column 'test1' in 'field list'.
someone can help me?
Many thanks
Melo
I have a table like this:
NAME POS_X POS_Y
station1 34 65
station2 64 83
station3 26 61
And I have a image of a map. I want to put jpeg or gif image in the position(pos_x, pos_y), with the name down, of each station.
When I click in a station image, this will open php...
Hello
I have tried with unsucess to make a script to do the follow:
I have a table in mysql with the columns name, pos_x and pos_y. Script will go to insert in the posítion (pos_x, pos_y) an image, with namee=name. I I click in a image, will go to open one link, depending on the image that...
Hi
I tried with dbexpress and YOur code and works. Thanks for YOur patience.
I also tried with this:
Query1.SQL.Append('ALTER TABLE test ADD G1 integer' );
Query1.SQL.Append('INSERT INTO test VALUES(1,"Test1",99)';
Query1.ExecSQL;
and works too.
Which are the differences between...
Hi
I tested YOur code, but belive or not, don't work.
I think the problem is not in the code but maybe in mysql database.
The other strange thing is this. I created other button to insert a record in a field id. This work ok before i create the G4 field. After I manual delete the G4 field and...
Hi
The code that I work to try resolving the problem is this one.
I tried with Table1.active:=false and after created the new_field, with Table1.active:=true, but also don't work.
I tried other thing, I had delete the Table1 and created other Table1 after the creation of the new_field. This is...
Hi
This code is a example code to do what I want. THe original code is very long. I think it is correct because create the new_field. The problem is other. I don´t understand why after do the Table1.Close and Table1.Open, The program send the message error and don´t write to the new_field...
The is this:
Query1.Close();
Query1.SQL.Clear();
Query1.SQL.Add(Format('ALTER TABLE alter_exp, ADD new_field CHAR(25)', ['Deg']));
Query1.ExecSQL();
// new
Table1.close; // close the table
Table1.open; //open the table with the new structure
Table1.Insert...
Hi
The message is "...Table1: Field 'new_field' not found...".
However in my mysql admin, the new_field is created, and when I restart the delphi program I can insert records to the new_field. Only after the creation of the new_field, the error message appear.
Regards
Hi
Not work. I also tried with Table1.Refresh; but nothing. Perhaps it needs to add the new field as a persistent field? If yes, as I will be able to make it?
REgards
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.