Results 1 to 2 of 2

Thread: Anyone can help me check my Activex Control???

  1. #1
    oo7
    Guest

    Anyone can help me check my Activex Control???

    I need someone which is well-verse in Activex Control to check my program.

    When i delete away the UserControl1 and tried to call it back it encounter the " Error 91 " .

    Can anyone help me to solve this problem?

    My attached zip file is right at the bottom
    Attached Files Attached Files

  2. #2
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    VB Code:
    1. Private Sub UserControl_InitProperties()
    2.     If Not (db Is Nothing) Then
    3.         Set rstemp = db.OpenRecordset("Select * from " & Data1.RecordSource & " Where " & Text1.Text & " ='" & Text3.Text & "'", dbOpenDynaset)
    4.         Text4.Text = rstemp(Text2.Text)
    5.     End If
    6. End Sub

    should take care of err91
    -= a peet post =-

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