PDA

Click to See Complete Forum and Search --> : Data Control


...:::Circle:::...
Sep 19th, 2000, 08:04 AM
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

bar
Sep 19th, 2000, 09:38 AM
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.