Re: Generic Forms on-the-fly?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Kevin Spencer (kevin_at_DIESPAMMERSDIEtakempis.com)
Date: 01/27/05


Date: Thu, 27 Jan 2005 10:33:53 -0500

Fetching a Word document from a database is easy. However, using a Word form
in an HTML page is virtually impossible, and definitely impractical. As for
saving time, forget it.

> Is this feasible, or are there other generic solutions already out there?

Generic solutions for what? Building WebForms? No. By now you could have
built 2 or 3 yourself!

Assuming that these forms are all handled in much the same way, you could
help yourself out by building a base business class that handles forms the
way you want to, and deriving inherited calsses from that for use with
individual forms.

-- 
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
Neither a follower nor a lender be.
"Selden McCabe" <seldenm@msn.com> wrote in message 
news:%23L3ASU%23AFHA.1188@tk2msftngp13.phx.gbl...
>I have an application where they want to create numerous forms (for 
>example, an expense reimbursement form, a book availability form, etc.). 
>The idea is someone would  create a form for a user to fill out, and after 
>it's filled out, the user would click "submit" and the completed form (or 
>at least the user-supplied information) would be emailed to someone.
>
> Of course, one approach is to just program each form in ASP.Net.
>
> But I was wondering if there are any solutions to this problem which would 
> save time.
>
> One idea I had was to create each form using MS Word, then store the word 
> document in the database.  When someone goes to the web site and requests 
> a form, the word doc is pulled from the database, and displayed on the web 
> page.  Then the user would fill in the fields, and click "Submit."  The 
> filled-in Word document would then get emailed to the appropriate email 
> address.
>
> (I have lots of experience with saving and retrieving Word documents from 
> a SQL Server database, so I feel comfortable with that aspect of it, but 
> the rest I'm not sure about...)
>
> Is this feasible, or are there other generic solutions already out there?
>
> Any thoughts or suggestions would be appreciated!
>
> ---Selden McCabe
>
> 


Relevant Pages

  • Generic Forms on-the-fly?
    ... document in the database. ... When someone goes to the web site and requests a ... filled-in Word document would then get emailed to the appropriate email ... or are there other generic solutions already out there? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Fields?
    ... Again, rather than jumping into the more advanced methods, start with the ... beginner articles and use the Forms toolbar. ... > downloaded the sample Word document and Access database zipfile from ... I have placed both the form and the database in the ...
    (microsoft.public.word.formatting.longdocs)
  • Re: Word and databases
    ... but in a database interface. ... maintain a word document, which would be printed, binded, and distributed. ... This became a major inconvenience for the data entry staff, ... The third column lists the designations. ...
    (microsoft.public.office.developer.automation)
  • Re: Generic Forms on-the-fly?
    ... > document in the database. ... When someone goes to the web site and requests ... > filled-in Word document would then get emailed to the appropriate email ... or are there other generic solutions already out there? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Sources for query parameters
    ... You can create new properties for the database, ... Set prp = CurrentDb.CreateProperty(PropertyTitle, dbText, ... the variable becomes part of the Word document and its value ... GetRootFolder = CurrentDb.Name ...
    (microsoft.public.access.queries)