-
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
-
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.
-
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.