I am using the below code to add a row to the existing collection, but it is giving me error.
Please advise what correction should I do to achieve this:
I am using the below code to add a row to the existing collection, but it is giving me error.
Please advise what correction should I do to achieve this:
OK.. So all columns in your collection have to be the same data type when you add a new row.
If ID is a number, it must be a number in every record. If date is a date, it must be a date in every record. If you convert a column to text, you must convert it to text in every record.
Make sure your data types for each column match what you are initializing in your collection. (The top Collect() call)
Also tried below, but same issue
I tried, its the same error.
Please note I not able to keep the same Data type.
Therefore, I want all the column last row to blank blank and
One column last row to show Text "Total" and the last row of Column SvcExpense as
@MIA27 - Try:
Collect(
colSvcExportData,
{
RecoNo: colSvcExportDataAddRow.RecoNo,
SvcDate: " ",
Model: " ",
SerialNo: " ",
SvcSMR: " ",
SvcRemarks: " ",
SvcExpense: Text(colSvcExportDataAddRow.SvcExpense, "##,##0.00"),
Customer: " "
}
)
Data types have to be the same.
WarrenBelz
146,708
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,030
Most Valuable Professional