6 6thDAY Member Local time Today, 13:20 Joined Oct 10, 2021 Messages 36 Oct 13, 2021 #21 theDBguy said: That was in my comment earlier. Did you miss it? Or, maybe I wasn't clear. Click to expand... Apologies, I must have missed it. Thanks! And thanks @arnelgp for providing me with the foundation to guide me forward.
theDBguy said: That was in my comment earlier. Did you miss it? Or, maybe I wasn't clear. Click to expand... Apologies, I must have missed it. Thanks! And thanks @arnelgp for providing me with the foundation to guide me forward.
6 6thDAY Member Local time Today, 13:20 Joined Oct 10, 2021 Messages 36 Oct 13, 2021 #22 On a side note, I'm facing another issue that is related to this, so I hope it's ok I just post in here. How can I access the filter criteria of the report based on the LinkMasterFields and LinkChildFields linkage? I tried to do the following, but str returns an empty string: Code: With Me.subreport_TestReport .LinkMasterFields = "" .LinkChildFields = "" str = .Report.Filter End With I want to be able to print the report based on the filter criteria, but I cant seem to access the filter string in the report.
On a side note, I'm facing another issue that is related to this, so I hope it's ok I just post in here. How can I access the filter criteria of the report based on the LinkMasterFields and LinkChildFields linkage? I tried to do the following, but str returns an empty string: Code: With Me.subreport_TestReport .LinkMasterFields = "" .LinkChildFields = "" str = .Report.Filter End With I want to be able to print the report based on the filter criteria, but I cant seem to access the filter string in the report.
theDBguy I’m here to help Staff member Local time Today, 13:20 Joined Oct 29, 2018 Messages 22,704 Oct 13, 2021 #23 6thDAY said: On a side note, I'm facing another issue that is related to this, so I hope it's ok I just post in here. How can I access the filter criteria of the report based on the LinkMasterFields and LinkChildFields linkage? I tried to do the following, but str returns an empty string: Code: With Me.subreport_TestReport .LinkMasterFields = "" .LinkChildFields = "" str = .Report.Filter End With I want to be able to print the report based on the filter criteria, but I cant seem to access the filter string in the report. Click to expand... How did you apply the filter in the first place?
6thDAY said: On a side note, I'm facing another issue that is related to this, so I hope it's ok I just post in here. How can I access the filter criteria of the report based on the LinkMasterFields and LinkChildFields linkage? I tried to do the following, but str returns an empty string: Code: With Me.subreport_TestReport .LinkMasterFields = "" .LinkChildFields = "" str = .Report.Filter End With I want to be able to print the report based on the filter criteria, but I cant seem to access the filter string in the report. Click to expand... How did you apply the filter in the first place?
6 6thDAY Member Local time Today, 13:20 Joined Oct 10, 2021 Messages 36 Oct 13, 2021 #24 theDBguy said: How did you apply the filter in the first place? Click to expand... the filtering is done using code in AfterUpdate, linking Master Fields (combo boxes) and Child Fields (column names in report) together.
theDBguy said: How did you apply the filter in the first place? Click to expand... the filtering is done using code in AfterUpdate, linking Master Fields (combo boxes) and Child Fields (column names in report) together.
theDBguy I’m here to help Staff member Local time Today, 13:20 Joined Oct 29, 2018 Messages 22,704 Oct 13, 2021 #25 6thDAY said: the filtering is done using code in AfterUpdate, linking Master Fields (combo boxes) and Child Fields (column names in report) together. Click to expand... Ah, that's not applying a filter to the form. The linked fields are a separate functionality.
6thDAY said: the filtering is done using code in AfterUpdate, linking Master Fields (combo boxes) and Child Fields (column names in report) together. Click to expand... Ah, that's not applying a filter to the form. The linked fields are a separate functionality.
6 6thDAY Member Local time Today, 13:20 Joined Oct 10, 2021 Messages 36 Oct 13, 2021 #26 theDBguy said: Ah, that's not applying a filter to the form. The linked fields are a separate functionality. Click to expand... In that case, is there a way to access the state of the report when the fields are linked? Filtering the report leads to the original issue of this thread.
theDBguy said: Ah, that's not applying a filter to the form. The linked fields are a separate functionality. Click to expand... In that case, is there a way to access the state of the report when the fields are linked? Filtering the report leads to the original issue of this thread.
theDBguy I’m here to help Staff member Local time Today, 13:20 Joined Oct 29, 2018 Messages 22,704 Oct 13, 2021 #27 6thDAY said: In that case, is there a way to access the state of the report when the fields are linked? Filtering the report leads to the original issue of this thread. Click to expand... Not sure about that. Have you checked maybe the report's recordset? I thought you said in post #9 that the filter problem was already solved by Arnel's demo?
6thDAY said: In that case, is there a way to access the state of the report when the fields are linked? Filtering the report leads to the original issue of this thread. Click to expand... Not sure about that. Have you checked maybe the report's recordset? I thought you said in post #9 that the filter problem was already solved by Arnel's demo?