Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here




Im creating a budget program, but my question is that i need some kind of code that would save the document as a .doc and also each time it is run it doesnt delete the previous entry. Thank you.

RE: Saving???

Creating a full Word .DOC in native "binary" format may be a lot of work in QB.  Most of the tools that would help with the heavy lifting are COM components you can't use in QB.

Have you considered .RTF output instead?

See How To Output RTF-formatted Documents with ASP.  Much of what is described there is easy to do in QB.

RE: Saving???

Are you talking about a Word .doc, or a plain text .doc?

if you want a text file...



Open "file.doc" for Output as #1
  Print #1, "Hello"
  print #1, "Etc..."

If you need a word document, use VBA instead, which is built into Word...

Visit My Site
PROGRAMMER: (n) Red-eyed, mumbling mammal capable of conversing with inanimate objects.

RE: Saving???

Is this for storage of budget data you are asking about? If so, the normal way is in a linked list database, using random file access methods.  

Ed Fair
Give the wrong symptoms, get the wrong solutions.

RE: Saving???

That or an ISAM database, depending on what form of QB you are using.  The ISAM in VBDOS works nicely.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close