I have a form with a tab control, which I extend the tabChanged method with the following code:
void tabChanged (int fromTab, int toTab)
{
FormControl tab = any2Object(this) as FormControl;
FormRun formRun = tab.formRun();
data = HelperClass::fillTempTable(activeWorker, profileDate,currentProfile.ProfileId);
FormDataSource hoursDatasource = formRun.dataSource(formdatasourcestr(JmgTimecard, HourTotals));
HourTotals hourTotals = hoursDatasource .cursor().data();
hoursDatasource .cursor().data().linkPhysicalTableInstance(data);
hoursDatasource .research();
next tabChanged(fromTab, toTab);
}
The fillTempTable returns an HourTotals buffer with 1 record.
I do not receive any compile or runtime errors, yet my grid still remains empty.
Why am I not seeing my data?