DataGrid老是报7004错误是怎么回事?
Past 2002-02-01 09:55:40 错误描述是"the rowset is not bookmarkable".我设置数据源的过程如下:
Dim cnMy As Connection
Dim cmdMy As Command
Dim rsMy As RecordSet
....
Set cmdMy = new Command
Set cmdMy.ActiveConnection = cnMy
cmdMy.commandtext = "Select * From Table1"
Set rsMy = cmdMy.Execute
Set DataGrid1.DataSource = rsMy '在这句出错