I just recently did a script in bws with a datagrid.  I used a Microsoft ado data control to open an access database and set the datasource property of the datagrid control to the name of the ado control.

 

    With Adodc1

        .ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _

        "C:\Program Files\Microsoft Visual Studio\VB98\NWIND.MDB;Persist Security Info=False"

        .CommandType = adCmdTable

        .RecordSource = "Customers"

        .Refresh

    End With

   

    Set DataGrid1.DataSource = Adodc1

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gloria Mallory
Sent: Monday, April 04, 2005 1:10 PM
To: '[email protected]'
Subject: [Talk] Datagrid Control

 

 

When I place a datagrid control on a userform in BWS, it does not include the datasource property so I am using the datamember property instead; however, when I place a datagrid control on a form in Visual Basic, I do see the datasource property.  When I run the VB code, the datagrid is populated with a list of physician mnemonics; however, it will not populate in BWS.

 

Does anyone have any ideas on correcting my problem?

 

Thank you for your assistance.

 

Gloria Mallory

Good Shepherd Medical Center

903 315-5120

 

Reply via email to