T
tec-goblin
I have a report that takes an argument "OrderId". When the user opens it from
the access client file, he is prompted for it. That's ok
When I open it from my C# program with the DoCmd.OpenReport command, I can
already know the OrderId. I want to pass it as an argument.
The problem is that a solution with OpenArgs I saw assumes that the user
will never directly open the report from the database. I want to keep the
current behaviour when I open it from the database, but be able to give an
(optional) argument otherwise.
Any suggestion? (I am very new to programming reports)
Thanks in advance!
the access client file, he is prompted for it. That's ok
When I open it from my C# program with the DoCmd.OpenReport command, I can
already know the OrderId. I want to pass it as an argument.
The problem is that a solution with OpenArgs I saw assumes that the user
will never directly open the report from the database. I want to keep the
current behaviour when I open it from the database, but be able to give an
(optional) argument otherwise.
Any suggestion? (I am very new to programming reports)
Thanks in advance!