Hi there,
I am trying to export a report of my current record of data.
I have set up an output function, but I am not sure of the code of how to set it up so when I hit 'export' on my form, it only exports that one record into the report...
Part of the current code is:
stDocName = "Satellite Work Request"
DoCmd.OutputTo acReport, stDocName
As I am fairly new to coding, if someone could help me with what to change this to, that would be fantastic!
Thank you!
Cheers,
Leah

I am trying to export a report of my current record of data.
I have set up an output function, but I am not sure of the code of how to set it up so when I hit 'export' on my form, it only exports that one record into the report...
Part of the current code is:
stDocName = "Satellite Work Request"
DoCmd.OutputTo acReport, stDocName
As I am fairly new to coding, if someone could help me with what to change this to, that would be fantastic!
Thank you!
Cheers,
Leah