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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

textbox syncronization

Status
Not open for further replies.

aqm

Programmer
Aug 26, 2002
65
AO
hi
how can i display data from the database on a textbox and the same textbox be receiving insertion of new data?
 
I think you might have to clarify your situation a bit. For just displaying data and inserting new data into a textbox... well, that's what Access does, pretty much automatically. A textbox on a bound form will display the data its bound to, and then you can also enter a new record from the same form. For anything other than that, we need more information.

--Ryan
 
SORRY FOR CONFUSING YOU. BUT MY REAL SITUATION IS THE SYNCRONIZATION OF THREE TEXTBOX. HOW CAN I DO THAT? AND THE OTHER ONE, I HAVE A FORMS WHICH HAS 12 TABS AND EACH TAB IS A TABLE. I WANT TO MAKE A SELECT FROM THE FIRST TAB AND WANT THE FOLLOWING TABS TO RECEIVE THEIR SPECIFIC INFORMATION FROM THE DATABASE. IAM TRYING BUT CAN´T BE ABLE. CAN U HELP? THIS SELECTION WILL CONSIST OF THE KEY SET FOR ALL OF THEM FROM THE FIRST TAB. MUST I USE FILTER FOR EACH COLUMN? PLEASE HELP.
AQM
 
Synchronization of three textboxes, huh? Well, I'm still not sure if I understand completely, but if I needed to synchronize three textboxes, I'd do something like this:

If you've got three textboxes (say, txtOne, txtTwo, and txtThree), put code in the AfterUpdate event of each one to set the other two equal to itself, like this:
Code:
Private Sub txtOne_AfterUpdate()

   txtTwo = TxtOne
   txtThree = txtOne

End Sub
Hope this helps a little. As for the tab thing, sorry, I'm completely lost. :)

--Ryan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top