Subject Re: datalink controls
From Ken Mayer <>
Date Fri, 12 Jan 2018 07:59:55 -0800
Newsgroups dbase.getting-started

On 1/12/2018 7:08 AM, Mustansir Ghor wrote:
> Dear All
> There is a query object mq1 is created with sql property as mq1.sql = "SELECT * FROM XYZ"
> Based on this 3 entrifield objects are datalinked in a form. eg. form.entryfield1.datalink=form.mq1,rowset.fields["name"]
> I am using later radio button to change table from XYZ to ABC (both have same field structure) in the query mq1.sql. With this datalink controls appear blank. I used rowset.notificontrols property to update controls but it does not work. Do I have to redefine all datalink controls again
> Anybody can guide me on the matter

How are you setting the order? Just changing the SQL property and then
issuing, as Maurizio has noted, rowset.refreshControls() should work. Or
maybe even just navigating to the top of the table (rowset.first() ).


*Ken Mayer*
Ken's dBASE Page:
The dUFLP:
dBASE Books:
dBASE Tutorial: