best code for
Posted: Tue Dec 17, 2019 8:39 pm
hi,
I need a suggestion, what's the best solution for interactive ADODB I/O app ?
I'd like a app that by dialog manages data of SQL server:
is this (oCn:Execute) a good way ?
are there others ways for manage I/O data by ADO connection?
thanks
I need a suggestion, what's the best solution for interactive ADODB I/O app ?
I'd like a app that by dialog manages data of SQL server:
Code: Select all
...
// connection
oCn := FW_OpenAdoConnection( ConnectString, .t.)
...
// HERE DIALOG...
cExecute := "INSERT INTO TABLE (CODE, DESC) VALUES (cCode, cDescr)"
try
oCn:Execute( cExecute)
msginfo("insert ok")
Catch
msginfo("insert error")
End Try
...
are there others ways for manage I/O data by ADO connection?
thanks