
IF oRS1:eof
Msginfo( "not found" )
RETURN(NIL)
ENDIF
Rick Lipkin wrote:Why when I try to open a recordset and the sql statement does not find any results .. can I not try to trap a 'no find' situation ..
Code: Select all | Expand
IF oRs:EOF
// no records
ENDIF
Code: Select all | Expand
IF oRs:RecordCount = 0
// no records
ENDIF
Rick Lipkin wrote:Any feelings on ADO vs ( perhaps ) the sqlrdd ?? ... what has to be on the client to make the connection ?? .. for ms sql that is ??
Rick Lipkin wrote:I am using your :filter suggestion for locate records .. is there a :find() or :locate() method in ADO .. I just want to 'seek' a record in a recordset and move the pointer to that record ..
Code: Select all | Expand
oRs:Find( "Cliente LIKE 'A%'" )
Rick Lipkin wrote:Also .. it appears that a recordset is ( like ) a 'local cursor' .. what are the visability of updates from one workstation recordset to another workstation ( recordset ) that may have the same table open .. does the UPDATE clause on the listbox allow the recordsets to be refreshed from the table .. or is it once the recorset is created .. it never goes back to the origional table for refreshes ??
Code: Select all | Expand
"Provider=sqloledb;Data Source=ipaddress;User Id=userid;Password=password"