Subject Re: datalink controls
From maurizio S. <mau@mau.it>
Date Fri, 12 Jan 2018 16:42:02 +0100
Newsgroups dbase.getting-started

after change sql, should work with
rowset.refreshControls()


tks
Maurizio

Il 12/01/18 16:08, Mustansir Ghor ha scritto:
> 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
>
> Best Regards
> Mustansir
>