A
Alp Bekisoglu
Hi Experts,
I hope the subject makes sense with what I need to accomplish. I'm calling a
report via an unbound form which sets the Condition(s) for the report.
Partial (end part) code is:
DoCmd.OpenReport "rpt_co_main_contact", acViewPreview, , strWhere
The strWhere can get a bit lengthy having up to 6 conditions. I would like
to print the conditions on the report itself as well. A sample strWhere is:
[co_main.co_ulke]='TURKEY' And [co_main.co_sehir]='ANKARA' And
[co_microsoft]=False And [met]=2 And [co_selected]=0
I would like to parse this and print on the same report like:
[co_main.co_ulke]='TURKEY'
[co_main.co_sehir]='ANKARA'
[co_microsoft]=False
[met]=2
[co_selected]=0
Any clues, help is much appreciated.Thanks in advance.
Alp
I hope the subject makes sense with what I need to accomplish. I'm calling a
report via an unbound form which sets the Condition(s) for the report.
Partial (end part) code is:
DoCmd.OpenReport "rpt_co_main_contact", acViewPreview, , strWhere
The strWhere can get a bit lengthy having up to 6 conditions. I would like
to print the conditions on the report itself as well. A sample strWhere is:
[co_main.co_ulke]='TURKEY' And [co_main.co_sehir]='ANKARA' And
[co_microsoft]=False And [met]=2 And [co_selected]=0
I would like to parse this and print on the same report like:
[co_main.co_ulke]='TURKEY'
[co_main.co_sehir]='ANKARA'
[co_microsoft]=False
[met]=2
[co_selected]=0
Any clues, help is much appreciated.Thanks in advance.
Alp