Results 1 to 3 of 3

Thread: txt Problem

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2001
    Location
    Ca
    Posts
    124

    Cool txt Problem

    Hi all

    So this is my problem.
    I have a txtFile that i open for Input.

    I input all the txt and assign it to variables then i want (Here it comes) to use some variables in a different form in a txtBox.I also want to update the txtFile if the user changes any values in that form. I guess that the txtFile will have to be updated before any calculations are done.I've found something on the doVerb for the txtfile update.

    Any help would be nice

    Wayne

  2. #2
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    Just make the variables public and call them with the form name before the variable name, or put them in a public module and you can access them from any form. Or you can write some public subs that read and write the text file from the module, that way you can access the same sub from more than one form.
    <removed by admin>

  3. #3
    PowerPoster cafeenman's Avatar
    Join Date
    Mar 2002
    Location
    Florida
    Posts
    2,819
    If you use my EZDB code, you can accomplish exactly what you want and just pass the record around without having to worry about saving or reading the file. That part is taken care of. I have tutorials that explain it all. Look in my sig for the link.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width