Working With TEdit...

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Posts: 11
Joined: Tue 17 Jan 2006 11:32

Working With TEdit...

Post by haci » Wed 01 Feb 2006 15:59

Hi, i have a MSQuery1, and MSSql1. If i use with TDBEdit it's ok, it's working. But if i use with TEdit, it can't run. How can i call MSQuery1's update, when i write data to TEdit field, to call MSSql1...

Thank you...

Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Mon 06 Feb 2006 11:59

Using TDBEdit is more preferable but if you want to use TEdit you can use something like this

Code: Select all

MSQuery1.Fields[0].AsString := Edit1.Text;
You can read details in Delphi help

Post Reply