
How do I access an unbound field in my report from vb
Hi
I have an unlinked subreport in my Main report's footer, which needs to be
printed after my Main Report's data. The reason for not linking them, is
because the have nothing obvious in common, be are related somehow through
the ShippingLine.
In my VB code with a Crystal custom control present, pointing to the main
report, I specify the selectionformula:
CrystalReport1.SelectionFormula = {Orders.ShippingLine} = "ABC"
(with "ABC" selected by the user from a Combobox)
My problem is that I also want to filter my subreport with a certain
Selectionformula through VB.
What is the VB Code do to this?
Another problem I have is that if my main report is BLANK (no orders for
ShippingLine "ABC"), then suddenly my subreport is also blank, even though
there should be data.
Can somebody please assist a desperate beginner!!
Kind Regards
Maryka Swartz
Programmer
South Africa