Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: John Discallar
  Where is John Discallar?
 Nagoya
 Japan
 John Discallar
 To: Simon Arnold
  Where is Simon Arnold?
 Halifax
 United Kingdom
 Simon Arnold
 Tags
Subject: RE: VARREAD() in VB?
Thread ID: 22136 Message ID: 22492 # Views: 1 # Ratings: 0
Version: Not Applicable Category: Visual Basic
Date: Sunday, April 20, 2003 10:03:37 AM         
   


> > > >
> > > > What's its VB Counterpart??
> > > >
> > > > Foxpro Child
> > >
> > >
> > > HI,
> > > In VFP 7.0 and 8.0 Varread() only states for backward compatibility.
> > > I cannot find out what the varread() does in VFP to see if there
> > > is something similar in VB.
> > >
> > > Pete from the Great White North. (Only in Canada, ay.) Over and Out ...
> >
> > Some of my "update" method uses macro for example i have variable field named "vname" & field name "name"
> > all of my variables related to upting are named with "v" , so that i could only do 1 specific functions & pass the
> > VARREAD() function, which means it will pass the variable name of the current field and automatically update
> > the field.
> >
> > Foxpro Child
> >
> > On Error Goto Hell
> > 

>
> VARREAD() provides the name of the current field or memory variable into which you are entering data.
>
> So in VB if you have a textbox on a form called txtName
>
> txtName.Text = text value held in the control, txtName = name of control that holds the value.
>
> Simon Arnold.

Thanks for the reply, so how would i get the name of the textbox "txtName" , like varread() in vfp?

Foxpro Child
On Error Goto Hell


COMPLETE THREAD

VARREAD() in VB? Posted by Caij Gomez @ 4/10/2003 9:24:46 AM
RE: VARREAD() in VB? Posted by Pete Sass @ 4/13/2003 6:44:07 AM
RE: VARREAD() in VB? Posted by Caij Gomez @ 4/14/2003 8:02:17 AM
RE: VARREAD() in VB? Posted by Simon Arnold @ 4/16/2003 9:02:13 AM
RE: VARREAD() in VB? Posted by Caij Gomez @ 4/20/2003 10:03:37 AM
RE: VARREAD() in VB? Posted by Simon Arnold @ 4/20/2003 5:13:06 PM
RE: VARREAD() in VB - Big Thanks! Posted by Caij Gomez @ 4/21/2003 7:27:44 AM