Results 1 to 2 of 2

Thread: Data Control

  1. #1

    Thread Starter
    New Member ...:::Circle:::...'s Avatar
    Join Date
    Sep 2000
    Location
    Norway
    Posts
    4
    I have a small problem with the Data control. When I distribute my application, there is no way I can predict where the user will install my application. So I tried to set the “Data.Databasename” property when my application (at run-time) started (my application doesn’t start with the form where the data control is), and with the Data control property empty. But when I did that, I only got this message when the rest of my code executed: “Run-Time error ‘ 91’, Object variable or With block variable not set.”

    Can someone help me? Please
    ...:::Circle:::... You will always come back to the start.

  2. #2
    Member
    Join Date
    Aug 2000
    Posts
    60
    Try setting the DatabaseName property in the form with the data control's Form_Load event, I've done this numerous times without any problems.
    Barend
    JHB-SA

    Nothing is impossible, except skiing through a revolving door.

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