An error occurred when rating RSDATA for DataGrid

xiaoxiao2021-03-06  79

The DataGrid control in VB6, on the part of the Win98 machine (possibly because of the operating system, such as the SP of VB), in terms of the ADO record set RSDATA, at this point, if the number of records in the record set is zero, and it is The following error occurs when the second query is set dbgrid1.datasource = rsdata

After a tossing, I found a ghost that DataGrid1.Splits.add 1. In the second query, you should first datagrid1.splits.remove 1. However, this error does not appear on the machine, such as Win2000.

转载请注明原文地址:https://www.9cbs.com/read-121998.html

New Post(0)