-- 带子表的窗体怎样保存
此主题相关图片如下:360截图20201202181214383.jpg

我用的代码如下,但是只能保存选定行。我想在保存本张单据的同时,保存本张单据内的子表。不保存本本张单据外的子表数据With Tables("销售单")
If .Current IsNot Nothing Then
.Current.Save()
End If
End With
With Tables("销售单.销售单明细")
If .Current IsNot Nothing Then
.Current.Save()
End If
End With