Library code snippets

Referring to a DE Command's recordset in VB 6.0

Each Command object in Visual Basic 6.0's new Data Environment
also has an associated recordset. In code, you refer to this
object by preceding the Command object's name with rs. So, for
example, if your Data Environment contains a Command named
cmdSomeQuery, then to refer to the resulting recordset, you'd
use something like this:

Set rst = DataEnvironment1.rscmdSomeQuery

Comments

  1. 01 Jan 1999 at 00:00

    This thread is for discussions of Referring to a DE Command's recordset in VB 6.0.

Leave a comment

Sign in or Join us (it's free).

AddThis

Related discussion