Nov 24, 2001 #1 sohjai Programmer Nov 23, 2001 8 HK Can anyone tell me how to check whether the recordset is set to nothing or not??? Please help me~~~~
Nov 26, 2001 #2 balves Programmer Oct 24, 2000 983 US if (rs is nothing) then ... where rs is your recordset variable Upvote 0 Downvote
Nov 27, 2001 #3 Fursten Programmer Dec 27, 2000 403 PT Hi, Is like balves saied, however for that to work you will need to declare the recordset variable without the "new" keyword. If you make, for instance, dim rs as NEW Adodb.recordset I think you will not be able to control if the variable is nothing or not. Sergio Olveira Upvote 0 Downvote
Hi, Is like balves saied, however for that to work you will need to declare the recordset variable without the "new" keyword. If you make, for instance, dim rs as NEW Adodb.recordset I think you will not be able to control if the variable is nothing or not. Sergio Olveira