lấy dữ liệu từ form qua report
Godspear > 07-12-17, 06:29 AM
hi mọi người, khi lấy dữ liệu từ subform qua report mình dùng dòng code lệnh như dưới
Private Sub Report_Open(Cancel As Integer)
Me.RecordSource = Forms![AdvancedSearchForm]![tbl_Subform].Form.RecordSource
End Sub
code xài rất ok đối với subform, nhưng khi áp dụng code tương tự cho split form thì code ko hoạt động, mọi người có ai biết cách nên sửa code sao để có thể lấy dữ liệu từ splitform qua report ko vậy, chỉ giáo giúp với
thank mn nhiều