P POM Registered User. Local time Tomorrow, 02:05 Joined Dec 27, 2013 Messages 39 Jan 11, 2014 #1 Hi all I will best for all thanks for help me I have a report I want using for tow query by change record source like this code Report_Qqtykam.Report.RecordSource = "Qqtykam" but is not working please help me
Hi all I will best for all thanks for help me I have a report I want using for tow query by change record source like this code Report_Qqtykam.Report.RecordSource = "Qqtykam" but is not working please help me
J JHB Have been here a while Local time Tomorrow, 00:05 Joined Jun 17, 2012 Messages 7,732 Jan 11, 2014 #2 If you open the report by DoCmd object, then you can use the OpenArgs parameter to transfer the recordsource name to the report. And then in the report's open event set the reports record source. Open the report by the DoCmd: Code: DoCmd.OpenReport "YourReportName", acViewReport, , , , "YourReportsRecordSource" Set the recordsource: Code: Private Sub Report_Open(Cancel As Integer) Me.RecordSource = Me.OpenArgs End Sub
If you open the report by DoCmd object, then you can use the OpenArgs parameter to transfer the recordsource name to the report. And then in the report's open event set the reports record source. Open the report by the DoCmd: Code: DoCmd.OpenReport "YourReportName", acViewReport, , , , "YourReportsRecordSource" Set the recordsource: Code: Private Sub Report_Open(Cancel As Integer) Me.RecordSource = Me.OpenArgs End Sub
P POM Registered User. Local time Tomorrow, 02:05 Joined Dec 27, 2013 Messages 39 Jan 11, 2014 #3 Hello my friend very very very Thanks for you is was working I'm very haply I wish the beast for you
J JHB Have been here a while Local time Tomorrow, 00:05 Joined Jun 17, 2012 Messages 7,732 Jan 11, 2014 #4 POM said: Hello my friend very very very Thanks for you is was working I'm very haply Click to expand... You're welcome. POM said: I wish the beast for you Click to expand... You too! Beast = animal, creature etc.
POM said: Hello my friend very very very Thanks for you is was working I'm very haply Click to expand... You're welcome. POM said: I wish the beast for you Click to expand... You too! Beast = animal, creature etc.
P POM Registered User. Local time Tomorrow, 02:05 Joined Dec 27, 2013 Messages 39 Jan 12, 2014 #5 I'm so sorry my bro ,please forgive me I wish best for you ,sorry again