Hi,
I have a data object named dataCounter and a MSFlexGrid named gridCounter.
I am trying to set the gridCounter.datasource to the dataCounter
Dim dbMyDB As Database
Dim rsMyRS As Recordset
Set dbMyDB = OpenDatabase(App.Path & "\Counter.mdb")
Set rsMyRS = dbMyDB.OpenRecordset("CounterTable", dbOpenDynaset)
Set gridCounter.DataSource = dataCounter
I keep getting a Run-time error “91”. Can anyone suggest anything?
Thanks very much!!