Has resultset some data?

I have to push data from Notes to a Microsoft SQL-database.Only when a row does not exist, a new row has to be added with data from Notes. So, I first have to select a row with the qry.sql=“SELECT From table WHERE column-name=”. Only when this returns no (or an empty) resultset, the row should be added. How can I detemine if ths statement QRY.SQL="SELECT . . ."etc. returns no row?

Koos van Harmelen

Subject: Has resultset some data?

Sorry,Found the answer in the DesignerHelp: IsResultSetAvailable.

Koos

Subject: Has resultset some data?

try something like:

'If there is no resultset

If result Is Nothing Or Not result.IsResultSetAvailable Then

Messagebox result.GetExtendedErrorMessage, result.GetErrorMessage

Exit Sub

End If

You can find help here → http://www-12.lotus.com/ldd/doc/tools/lsdo/lsdohlp.nsf

Hope that helps.