![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#3
|
||||
|
||||
|
Hola MasterXP gracias por responder.
Al parecer me sale más fácil insertar datos de ésta forma : with Modulo.QryVentas do begin VarBol := strtoint(edtBoleta.Text); VarTotal := strtoint(edtTotal.Text); Close; SQL.Clear; SQL.Add ('INSERT INTO Ventas'); SQL.Add ('Values(:Boleta,:Fecha,:Total)'); Params[0].AsInteger := VarBol; Params[1].AsDatetime := strtodate(edtFecha.Text); Params[2].AsInteger := VarTotal; ExecSQL; end; Ya que no entiendo muy bien el funcionamiento de TUpdateSQL. Me gustaría que fueras un poco más explícito. De antemano gracias. Saludos. Aaron. |
|
|
|