Home > Back-end >  Leaders help me to look at how to solve this problem
Leaders help me to look at how to solve this problem

Time:11-04

SQL数据库链接检查过都是正常的,问题出在哪里

CodePudding user response:

Bosses and see what is going wrong for me

CodePudding user response:

Classmate classmate, aa defined yet

CodePudding user response:

refer to the second floor Dichen2020 response:
classmate classmate, aa didn't define
aa don't need to define is used to get two characters from inside

CodePudding user response:

ADOQuery2 control. The Parameters to add two Parameters of aa, bb, and then you can use,

CodePudding user response:

The problem solved: should be changed to==: aa

CodePudding user response:

The AA is not defined, you put the SQL statements when pas grammar in use,
: aa is defined parameters

CodePudding user response:

CodePudding user response:

Adoquery2. The parameters. The Clear;
ADOQuery2. The Parameters. The AddParameter. Name:='aa';
ADOQuery2. The Parameters. ParamByName (' aa '). The DataType:=ftString;
ADOQuery2. The Parameters. ParamByName (' aa '). Direction:=pdInput;
ADOQuery2. The Parameters. ParamByName (' aa '). The Value:=edit6. Text;

CodePudding user response:

Right, the above said is very right! Also with parameters. Parameters in a=: aa
  • Related