internal final class Ex_EventHandler
{
[DataEventHandler(tableStr(BankAccountStatementTmp), DataEventType::Inserting)]
public static void BankAccountStatementTmp_onInserting(Common sender, DataEventArgs e)
{
BankAccountStatementTmp BankAccountStatementTmp = sender as BankAccountStatementTmp;
BankAccountTrans BankAccountTrans;
while select Txt from BankAccountTrans where BankAccountTrans.AccountId == BankAccountStatementTmp.AccountID
{
BankAccountStatementTmp.Txt = BankAccountTrans.Txt;
}
}
}
When i want to restore the dataset in the report to let my new field (txt) to be available to add it to the design, it says to me that the "Object reference not set to an instance of an object" when restoring the dataset.

Report
All responses (
Answers (