To display values in from main text box to other textbox

To display data entered in the main text box to other remaing textbox

Page 1 of 1

2 Replies - 1122 Views - Last Post: 24 November 2008 - 11:55 PM Rate Topic: -----

#1 hema.s  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 24-November 08

To display values in from main text box to other textbox

Post icon  Posted 24 November 2008 - 09:58 PM

Private Sub Command1_Click()
Dim varray As Variant
Dim dat As String
dat = Text5.Text
varray = Split(dat, "-")

If (varray(0) = "d1") Then
Text1.Text = varray(1)

ElseIf (varray(0) = "d2") Then
Text2.Text = varray(1)


ElseIf (varray(0) = "d3") Then
Text3.Text = varray(1)

Else
Text4.Text = varray(1)
End If
End Sub

Is This A Good Question/Topic? 0
  • +

Replies To: To display values in from main text box to other textbox

#2 n8wxs  Icon User is offline

  • --... ...-- -.. . -. ---.. .-- -..- ...
  • member icon

Reputation: 972
  • View blog
  • Posts: 3,878
  • Joined: 07-January 08

Re: To display values in from main text box to other textbox

Posted 24 November 2008 - 11:06 PM

Welcome!

Please post your code examples using - :code:

What problem are you having?
Was This Post Helpful? 0
  • +
  • -

#3 dineeshd  Icon User is offline

  • member icon

Reputation: 38
  • View blog
  • Posts: 619
  • Joined: 30-June 08

Re: To display values in from main text box to other textbox

Posted 24 November 2008 - 11:55 PM

VB.Net and VB6 are different. You are using VB6, so you should post this in VB Forum.

And as n8wxs asked, please explain the problem in detail....
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1