안녕하세요! 델파이 초보 입니다. 아래 쿼리좀 봐주세요..잘못된건지
자꾸 ADOQuery2.Parameters.ParamByName('ntc_memo').Value :=Memo1.TExt;
라인에서 에러가 납니다. 어는부분이 틀린건지 답변 부탁드립니다
ADOQuery2.Close;
ADOQuery2.SQL.Add('Update From t_notice set ntc_sect = :new_sect ,');
ADOQuery2.SQL.Add('ntc_title = :ntc_title ');
ADOQuery2.SQL.Add('ntc_content = :ntc_memo');
ADOQuery2.SQL.Add(' where ntc_idx = :ntc_idx');
ADOQuery2.Parameters.ParamByName('ntc_title').Value := Edit1.Text;
ADOQuery2.Parameters.ParamByName('ntc_memo').Value := Memo1.TExt;
ADOQuery2.Parameters.ParamByName('ntc_idx').Value := new_no;
에러 메세지 올려주세요
초보 wrote:
> 안녕하세요! 델파이 초보 입니다. 아래 쿼리좀 봐주세요..잘못된건지
> 자꾸 ADOQuery2.Parameters.ParamByName('ntc_memo').Value :=Memo1.TExt;
> 라인에서 에러가 납니다. 어는부분이 틀린건지 답변 부탁드립니다
>
>
>
> ADOQuery2.Close;
> ADOQuery2.SQL.Add('Update From t_notice set ntc_sect = :new_sect ,');
> ADOQuery2.SQL.Add('ntc_title = :ntc_title ');
> ADOQuery2.SQL.Add('ntc_content = :ntc_memo');
> ADOQuery2.SQL.Add(' where ntc_idx = :ntc_idx');
> ADOQuery2.Parameters.ParamByName('ntc_title').Value := Edit1.Text;
> ADOQuery2.Parameters.ParamByName('ntc_memo').Value := Memo1.TExt;
> ADOQuery2.Parameters.ParamByName('ntc_idx').Value := new_no;
>
>