Hi All,
I have written an extension to the TsTimesheetEntry form.
The extension is a simple check box added to the form that when turned on, the modified event handler method attempts to call a custom data method which has been added as an extension on the TsTimesheetTable form datasource.
The idea is that if the form control is marked to true, this custom method on the form data source should be called to alter the query on the form and refresh.
The issue I am having is similar to others in this blog but no matter which combination of the solutions I try, when I attempt to call the custom data method from the form data source in my form control event handler the system complains that the method cannot be found:
Error executing code: FormDataSource object does not have method 'delegateQuery'.
But the custom method delegateQuery has been added via a form extension CoC method
[ExtensionOf(formDataSourceStr(TsTimesheetEntry, TSTimesheetTable))]
public void delegateQuery(NoYes _applyFilter)
{
// query logic changed
}
My question is - how can I successfully call this custom data method from another custom form control event handler method.
Thanks in advance