Quote:
|
Originally Posted by dazzler77
Hi.
I am trying to design a database for requirements tracing for product specifications. I will link 3 or more documents documents together that are basically in MS word format.
I am using MS access for databases until now, and this is easy to make a database where I can re-type each paragraph into a field and then relate that paragraph to one ore more paragraphs in another record.
My problem is that I would like to use rich text (bold, underlined words) and diagrams (pictures) as content in these paragraphs and MS access 2003 does not support this.
|
There are rich text ActiveX controls for Access out there.
Here's one I found with a quick search. I've never used it, but the web page seems to have info on setting it up.
Quote:
|
If I could use HTML fields and then combine the output dependent on a query that would be perfect. I really want to be able to something similar like dynamic web pages do, but locally.
|
Like PHP or Cold Fusion.
Quote:
I have had the following ideas to achieve what I want to do:
1. Use the poor dhtml active x plugin in Access and somehow output contents to HTML
|
Not big on that approach, myself. There's very little reason to do this in Access when just about any other setup is better.
Quote:
|
2. Use MySQL database with PHP and a Web Server and have a little HTML editor like on this forum to edit records. (but I prefer a local database)
|
That would work, but it requires throwing out everything you've got and starting over again with MySQL/PHP/Apache. The biggest issue is that it sounds like you want a double-clickable app, which is theoretically possible with that system, but in practice is a major PITA.
Quote:
|
3. Make a XML database that could be translated in openoffice writer (because it seems better XML than word) for editing the text (but I don't really know xml)
|
This isn't what XML is designed for, and it's the worst way to approach this problem.
Quote:
|
4. Use database fields in MS Word that parse formatting text/images.
|
My problem with doing merges in Word is that when the user opens the document, it immediately wants to access the data source. So a naive user sees this dialog demanding a data source and if it's changed in the slightest, Word gives them no help with it. Also, I highly doubt a merge would allow you to fold in formatted text since Word won't be expecting anything formatted from a DBMS.
Quote:
|
Is there a solution to combine them both? Can I do this in Access? or is ASP/PHP or even XML/HTML the way to go?
|
Yes. Access can use VBA to automate Word and do the merges that way. It's not fast, but it's far quicker to develop since you're not screwing around with HTML code or that sort of thing.
This would probably be the most straightforward approach, in my opinion. I'll see if I can hack together an example database file to get you started... it might take me a few days.