access function 'Replace' in delphi
From: Vincent Choy (vincent_at_exodus-tech.com)
Date: 10/28/03
- Next message: Brian Bushay TeamB: "Re: SQL Server extended procedures (xp_sendmail, etc)"
- Previous message: Glynn Owen: "TAdoDataSet for Excel"
- Next in thread: Brian Bushay TeamB: "Re: access function 'Replace' in delphi"
- Reply: Brian Bushay TeamB: "Re: access function 'Replace' in delphi"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 28 Oct 2003 10:33:56 +0800
Hi all,
i try to create a view with the replace function in access 2000, i find
that there is no problem. however, when i run it at delphi, there is an
error (undefine replace function). Does anyone know why.
//no problem in access view
e.g. select replace(a.id,'1','*') as newid from a;
//has problem with get the record set
var
conn:TAdoconnection;
rs:_recordset;
begin
..
strSQL:='select replace(a.id,''1'',''*'') as newid from a';
rs:=conn.Execute(strSQL);
..
end;
- Next message: Brian Bushay TeamB: "Re: SQL Server extended procedures (xp_sendmail, etc)"
- Previous message: Glynn Owen: "TAdoDataSet for Excel"
- Next in thread: Brian Bushay TeamB: "Re: access function 'Replace' in delphi"
- Reply: Brian Bushay TeamB: "Re: access function 'Replace' in delphi"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|