Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying data in Visual Basic 5.0

Status
Not open for further replies.

jester181

Programmer
Aug 20, 2001
1
GB
I've got 2 forms - one to enter info and one to display it. The first problem I have is that the first screen you see is the one that displays the information, so it needs to get the data from a text file. The second problem is that when you enter the data on the second screen it is supposed to update the display screen (screen one).
How can i get the information to display and update using text files? And can i use
labelname.caption = formname.textboxname
to display all of the entered data on the display screen and then write it all to the text file to update it? Also, when I write to the text file will it overwrite anything that's already there or will it just add to it?
Sorry if this seems like a lot, but if anyone can help, I'd really appreciate it.
Thanx
J181
 
If you already have Form1(the display form) and Form2(the data entry form) doing thier respective jobs, then why cant you unload Form1 when you want to display Form2? Then after you update the text file with Form2, load Form1 and the information accessed will be the newly updated data. Or have I not understood your question?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top