crystal report.

how do i do this.

i already create 1 report using crystal report tools. name helpme.rpt.

now i want to give my a user a tool that he/she can modify the contains of that report.

1.like he/she can modify the structure of that report. such as he/she just want to print some records maybe this abc field = cde where
xxx = help and what ever. so this data will directly go into crystal report which is name help.rpt.

2. the command to change the help.rpt header and footer.

for your information i dont want to instal crstal report in that machine.

thanks.
JOHNHOAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ventondCommented:
There are a couple of different ways to do this, if you are reading records from a database you can say:

Report1.GroupSelectionFormula="{Table1.field} = 'xxx'"

If you just have data on the report that you may/may not want to print then you can make formulas on the report:

Formula1 'A place holder
in code you would say:
Report1.formulas(0) = "Formula1='Y'"

then in report for other things you might want to print based on Formula1.

Formula2
if Formula1 = "Y" then
   "This is data"
else
   ""

I hope you get the idea.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JOHNHOAuthor Commented:
how do i get table1.field.

what is that ?
lets say i have 3 field.

1 field = abc
2 field = cde
3 field = ghj

does it mean abc.field ?
0
ventondCommented:
I don't really understand what you are asking.

Do you mean how do I only print those items on "TableA" where the value of "FieldA" is = "abc"?

Report1.GroupSelectionFormula="{TableA.FieldA} = 'abc'"

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.