Link to: header | tables
directory
Copyright Turtle Creek Software 1996-2006. All Rights Reserved.
Comments
CTaxFieldMemberTable
This class manages payroll tax field tables for the Goldenseal accounting software,
payroll software and small business
management software.
It's a member table used by payroll and income tax report fields.
SUPERCLASS = CFlexibleCVTable
Constructor
/*********************************************************************************
constructor TCS 1/13/02
*********************************************************************************/
CTaxFieldMemberTable::CTaxFieldMemberTable(const SPaneInfo &inPaneInfo,
const SViewInfo &inViewInfo)
: CFlexibleCVTable(inPaneInfo, inViewInfo)
{
}
Source Code
/*********************************************************************************
GetCellCVClassID TCS 1/13/02
return the cv class id for a cell
*********************************************************************************/
DBid CTaxFieldMemberTable::GetCellCVClassID(const TableCellT &inCell) const
{
if (COL(inCell) == CCalcPayrollTax::col_id)
{
return GetCellValue(ROW(inCell), CCalcPayrollTax::col_class);
}
else
return THE_SUPERCLASS::GetCellCVClassID(inCell);
}
/*********************************************************************************
FillNewRowCells TCS 1/13/02
fill in default values
*********************************************************************************/
void CTaxFieldMemberTable::FillNewRowCells(const TableIndexT row)
{
THE_SUPERCLASS::FillNewRowCells(row);
SetCVCellValue(row, CCalcPayrollTax::col_class, id_TaxItem);
}
|