You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there are no records then MoveFirst throw an exception.
@@ -704,12 +704,14 @@ Private Sub ExportTable(tbl_name As String, obj_path As String)
If C <> 0 Then OutFile.write vbTab
C = C + 1
OutFile.write fieldObj.Name
Next
OutFile.write vbCrLf
-
- rs.MoveFirst
+
+ If rs.RecordCount > 0 Then
+ rs.MoveFirst
+ End If
Do Until rs.EOF
C = 0
For Each fieldObj In rs.fields
If C <> 0 Then OutFile.write vbTab
C = C + 1
The text was updated successfully, but these errors were encountered:
If there are no records then MoveFirst throw an exception.
The text was updated successfully, but these errors were encountered: