> > > >
> > > > 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