using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Windows.Forms;
using MercatorApi;
using MercatorUi;
namespace Booking
{
public class Customizer : MercatorUi.ICustomizers.ISqlCommandUpdater
{
public void SqlCommandUpdate(System.Data.SqlClient.SqlCommand sqlCommandToModify, Form form)
{
sqlCommandToModify.CommandText = "declare @n integer \r\n"
+ "select @n=count(distinct id_gen) from #lignes_c_tmp \r\n"
+ "update #pieds_c_tmp set reference='Aantal gebruikte algemene rekeningen: '+ltrim(str(@n)) \r\n\r\n"
+ sqlCommandToModify.CommandText;
}
}
}