0

hi


i want to pass a text from a textbox in form1 to a label in form2 , but the text in form1 is retrieved from a database. how could i do it??:

4
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by WaltP
0

i want to pass a text from a textbox in form1 to a label in form2

This following code will transfer text in textbox in form1 to label in form2.

Private Sub Form_Load()
Label1.Caption = Form1.Text1.Text
End Sub

but the text in form1 is retrieved from a database.

Different question. so you need to make new thread.

Edited by Jx_Man: n/a

0

This following code will transfer text in textbox in form1 to label in form2.

Private Sub Form_Load()
Label1.Caption = Form1.Text1.Text
End Sub

Different question. so you need to make new thread.

Thanks for your reply. Im new to VB6 will this work in VB6..

0

but the text in form1 is retrieved from a database.

Different question. so you need to make new thread.

What? Same question. Additional info. And there's no problem asking 2 questions in the same post... :icon_rolleyes:

Thanks for your reply. Im new to VB6 will this work in VB6..

In the VB4/5/6 forum, we tend not to answer using Python techniques. That would confuse people. :icon_wink:

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.