Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: ADODC Control - Linked to a MS DataGrid Control


Message #1 by micube@b... on Tue, 15 May 2001 14:06:01
	Find the event that is generating the error message, drill down to that
line, and before it put:

On Error Resume Next

? Chuck

> -----Original Message-----
> From: micube@b... [mailto:micube@b...]
> Sent: Tuesday, May 15, 2001 2:06 PM
> To: professional vb
> Subject: [pro_vb] ADODC Control - Linked to a MS DataGrid Control
>
>
> At design time connection string used in ADODC control is hard coded - at
> runtime I amend the connection string in form1 load event.  However prior
> to executing the load event a error message is called saying the database
> which is hard coded at design time does not exist - the form load event
> then fires and the amended connection string takes effect and form1 and
> the datagrid control load and are shown linked to the correct database.
>
> I need to suppress the ADODC error message I thibk through and
> infomessage
> event - can any one help!
>
> Thanks
>
> Andrew Lawrence



  Return to Index