Subject Re: how to link a entryfield when using brows
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Tue, 1 Mar 2022 20:31:13 -0800
Newsgroups dbase.getting-started

On 3/1/2022 6:46 PM, AGOSTINHO wrote:
> Dear group,
> How do I link a entryfield to a field on the the dbf file?
> I've tried from the inspector on the properties at the data linkage, it gives me the ability to choose a field from the file but noting changes.
> Thank you for your help.
> Agostinho
>
> class clientsformForm of FORM
>     with (this)
>        height = 26.3746
>        left = 34.5364
>        top = 0.0368
>        width = 193.7455
>        text = ""
>        sizeable = false
>        maximize = false
>     endwith
>
>     this.BROWSE1 = new BROWSE(this)
>     with (this.BROWSE1)
>        height = 11.8161
>        left = 0.0
>        top = 9.3712
>        width = 129.1909
>        alias = "clients"
>     endwith
>
>     this.ENTRYFIELD1 = new ENTRYFIELD(this)
>     with (this.ENTRYFIELD1)
>        height = 1.2207
>        left = 12.1818
>        top = 1.2207
>        width = 27.4909
>        value = "                         "
>     endwith
> endclass
>
>

I don't think you can. Weird. I did some experimenting and can't find a
way to do that. You *really* need to learn the modern way of working
with dBASE. Drag a table to the form from the Navigator, and work from
there (or for more complex forms, use a data module) ...

Ken

--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm