Solved

Convert Word Doc or PDF file to VFP FRX report

Posted on 2014-01-20
9
2,075 Views
Last Modified: 2014-01-29
Hi:
Does anyone know of a way to convert an exsting MS-Word Doc or PDF document into a VFP-9 FRX file? Need to create a FRX that has a lot of lines / boxes / fonts / text. I have the "report" in Word and PDF format. Any ideas?
Thanks.
Cathie
0
Comment
Question by:ramramcat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 14

Expert Comment

by:Daniel Junges
ID: 39793570
We do it with Openoffice, is easy and free.
Is the best free converter

regards
Junges
0
 
LVL 42

Expert Comment

by:pcelba
ID: 39793625
As I know no such convertor exists and manual work is the only option.  

If you have many similar Word/PDF documents then it should be possible to write some tool which could help to convert them. But it will not be trivial task. Also remember the fact some PDF formats are not easily readable.
0
 
LVL 29

Expert Comment

by:Olaf Doschke
ID: 39805745
junges, OpenOffice may convert DOCX to open office formats. And FRX may be an open office format, but here it's a FoxPro report, which is something generating a document, as a crystal report.

That said, it's a strange need, to convert a document to a report, even if the document has input fields, the destination would rather be a form with input controls.

If you have mail merge word documents, bulk letter or such, that would be something redoable as FRX but why would you go towards VFP? Word has more formatting possibilities.

ramramcat, what DOC or PDFs are you really dealing with, here? And what do you really need to achieve? If you have PDF forms you need to autofill, you won't do that with an FRX at all, you would need an automatable PDF Writer (eg Amyuni) and feed it with data, generating all needed PDFs automatically in a bulk.

Bye, Olaf.
0
AWS Certified Solutions Architect - Associate

This course has been developed to provide you with the requisite knowledge to not only pass the AWS CSA certification exam but also gain the hands-on experience required to become a qualified AWS Solutions architect working in a real-world environment.

 

Accepted Solution

by:
ramramcat earned 0 total points
ID: 39808260
As it turns out, the simplest way to get what I needed was to embed the word document into my FRX using OLEBoundControl from a table with a general field containing the document.
When the OLEBoundControl is sent-to-back, data fields from tables can be overlayed on top, "filling in the boxes".
Thanks.
Cathie
0
 
LVL 29

Expert Comment

by:Olaf Doschke
ID: 39808269
If that's sufficient to you, ok.

I'd rather fill these gaps by word automation to get a better overall formatting with inserted data. What type of "boxes" are there? Is it really just a form with underlined gaps, or a form like a tax declaration?

You can do that much better and then also send the filled in word doc by mail. Now you could only print a pdf having the word part as a background graphic and filled in data, this will get much larger than needed.

I won't object, but I'd look for a better solution, if I were you.

Bye, Olaf.
0
 

Author Comment

by:ramramcat
ID: 39809365
Hi Olaf,
If I were to use word automation and fill in the word document, is it possible to save each "completed" document as a PDF rather than actually printing it? Also, this app would be running from a server using some PCs with Win-XP and some with Win-7, and various versions of MS-Office.
Thanks.
Cathie
0
 
LVL 29

Expert Comment

by:Olaf Doschke
ID: 39809737
You would run this on one PC with Office 2007 or higher and be able to save as PDF, then. You are always able to print as PDF with a PDF printer driver like Bullzip.

If it would need to run on a server, that server would need an office installation. If only data is on that server, that won't matter, you would automate the local office at the client running the batch of PDF generations.

The question is, what's really in the docs, simple gaps as spaces or underlines, or Office Form controls? Anchors? Text marks? There are very many different ways to visually have forms in word. If there is nothing yet, you could address programmatically, you could add it yourself, it's just a one time effort, unless forms are changing very often. But then you'd need to adjust your FRX often, too.

Bye, Olaf.
0
 

Author Comment

by:ramramcat
ID: 39814126
There are gaps on the word document where data would go, and it is not a document that would be updated frequently.  At this point, I have no control over my client's workstations or server, so I think that embedding the word document in an FRS would make my app independent of their environment.
Thanks.
Cathie
0
 

Author Closing Comment

by:ramramcat
ID: 39817308
As it turns out, the simplest way to get what I needed was to embed the word document into my FRX using OLEBoundControl from a table with a general field containing the document.
When the OLEBoundControl is sent-to-back, data fields from tables can be overlayed on top, "filling in the boxes".
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Visual FoxPro (short VFP) is a programming language with it’s own IDE and database, ranking somewhat between Access and VB.NET + SQL Server (Express). Product Description: http://msdn.microsoft.com/en-us/vfoxpro/default.aspx (http://msd…
Part Two of the two-part Q&A series with MalwareTech.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question