Insert a record into a table ???
Luiz Gustavo Sarubi Macchi <[email protected]> 05 Sep 2002 18:14:23 -0300
| Newsgroups | gmane.comp.lang.delphi.kylix |
|---|---|
| Message-ID | <[email protected]> |
hi for all I'm using Kylix 3 with IB 6 so i have a Stored Procedure in IB, so how to use the component SQLStoredProc ? Should I use this component ? In my Unit i have this SQLStoredProc1.Params[0].AsString := trim(self.EditNomeCliente.Text); SQLStoredProc1.Params[1].AsString := trim(self.MaskEditTelefone.Text); SQLStoredProc1.Params[2].AsString := trim(editCidade.text); SQLStoredProc1.Params[3].AsString := trim(cbVendedor.Text); SQLStoredProc1.Params[4].AsString := trim(cbRegiao.Text); SQLStoredProc1.Params[5].AsFloat := 1; //NumEditLimite.Valor; SQLStoredProc1.Params[6].AsString := trim(EditSabendo.Text); SQLStoredProc1.Params[7].AsString := trim(OBS.Text); so when i run a raised exception occur like: Unable to determine field names for %s In help on-line there is nothing about using SQLStoredProc Any help will be good regards -- Atenciosamente, Luiz Gustavo Sarubi Macchi Gerente de Informatica EMAR Plásticos www.emar.com.br [email protected] [email protected]