Tempsql: = 'select * from info where (teama =' ' cond.teama ' '' or team = '' cond.teama '') and Date = '' ' OldDate ' '';
IF graph3query.active damh3query.close;
Graph3query.sql.clear;
Graph3query.sql.add (tempsql);
Graph3query.open;
Edit1.text: = graph3query.fieldbyName ('teama'). asstring;
Edit2.text: = graph3query.fieldbyName ('teameb'). asstring;
Edit3.Text: = graph3query.fieldbyName ('Home'). asstring; // INTOSTR (Graph3Query.fieldbyName ('gradeb'). Asinteger;
// edit4.text: = graph3query.fieldbyname ('Pankoua'). asstring;
Graph3query.close;
This code is no problem, but if // edit4.text: = graph3Query.fieldbyName ('Pankoua'). Asstring; not comment, all read and write fields have failed. This can only read 3 fields. More than 4 No, and there is no error message. {Other tables do not have this problem,}
Not a restricted issue. I would like to ask the masters to guess what is the reason.