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...
Working With TEdit...
Using TDBEdit is more preferable but if you want to use TEdit you can use something like this
You can read details in Delphi help
Code: Select all
MSQuery1.Edit;
MSQuery1.Fields[0].AsString := Edit1.Text;
MSQuery1.Post