Link to home
Start Free TrialLog in
Avatar of b001
b001Flag for Afghanistan

asked on

vfp9 sp2 design a leaflet

Hi Experts

I would like to design and then print a leaflet from within vfp
is it possible?

Thanks
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Yes, it is possible BUT are you sure VFP is the right tool to design leaflets?

If the leaflet contains data from tables or Excel sheets then I would rather use e.g. MS Word and mail merge.

If the leaflet does not contain variable data then any text publishing tool can do better work for you.

Could you please better specify what should be the output?
Avatar of b001

ASKER

Hi  pcelba
MS Word would be good. I do have some variable data.
Please explain how to do it.
Thanks
If I were you I would use one of two methods:

1) Word automation and mail merges
    a) create document in word
    b) create query in vfp
    c) record a macro in word
    d) translate the marco to vfp code
    e) run the macro from vfp to automate the merge and printing

2) Web Browser / HTML
    a) create an html document
    b) either use webbrowser on vfp screen or generate an HTML and print via internet explorer
    c) use automation to replace merge text like <first> with alltrim(query.first)
    d) save the generate html and print it
ASKER CERTIFIED SOLUTION
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial