data source methods

Hi sir

please give me a guidance on datasource methods, active( ) & inkactive( ) on which condition these methods will excute

and give me a small guidance

thanks&regards

nani

active method of the datasource is used to enable and disable the form controls.

Hi Navin,

Active method called every time whenever u make changes in datasource . so basically can use these method when u want to some changes whenever form active .

About linkActive(), this method is used by dynalinks. For example, you open Vendors form and Invoices from Vendors. A dynalink exists between these two forms so you see just invoices for the active vendor. If you choose another vendor, dynalink functionality calls linkActive() method in Invoices form and shows right invoices.

See also MSDN documentation: