Results 1 to 5 of 5

Thread: Problem populating data combo

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2000
    Location
    calcutta,india
    Posts
    48

    Question Problem populating data combo

    Hello All

    When ever i populate data combo with recordset during run time.Following error occured -

    "Object variable or with variable not set"

    Command which generate this error is -

    dccombo1.rowsource = rsCompany

    Recordset type is openstatic and lock type is read only.
    Rcordset is properly declared and open with some record.

    Any one can help me in this regard.

  2. #2
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    VB Code:
    1. set dccombo1.rowsource = rsCompany
    -= a peet post =-

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 2000
    Location
    calcutta,india
    Posts
    48
    Even after using set command i am geting same error

  4. #4
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    have u checked that rsCompany actually has been sat to a valid object?
    -= a peet post =-

  5. #5
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    peet

    could you answer this for me

    http://www.vbforums.com/showthread.p...hreadid=112878

    thanks in advance
    -----------------------------------------------
    "The hall is rented,"
    "the orchestra is engaged,"
    "its now time to see if you can dance!"
    Q, Q-Who, Star Trek The Next Generation
    -----------------------------------------------
    General Work day

    -----------------------------------------------
    DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width