Hi,
Hi
I currently have a report that accesses a database newMixdata1.
Now there will be 3 databases, newMixData2, and newMixdata3.
How can I change my report so that it can go to the correct database depending on which login it is passed by VB6?
I don't want to have 3 separate reports.
My login would look like this in VB I think, where gl_Mixer = 1, 2 or 3
the report points to newMixdata1, and fails to login if gl_mixer is 2 or 3
what are the steps in Crystal to make this work?
Is this even the best method in VB?
thanks
mark
Hi
I currently have a report that accesses a database newMixdata1.
Now there will be 3 databases, newMixData2, and newMixdata3.
How can I change my report so that it can go to the correct database depending on which login it is passed by VB6?
I don't want to have 3 separate reports.
My login would look like this in VB I think, where gl_Mixer = 1, 2 or 3
Code:
report1.Database.LogOnServer "p2sodbc.dll", "mixdata" & gl_Mixer, "newMixData1" & gl_Mixer, "user", "password"
the report points to newMixdata1, and fails to login if gl_mixer is 2 or 3
what are the steps in Crystal to make this work?
Is this even the best method in VB?
thanks
mark