Adding two fields using First Function
Posted: Thu Feb 02, 2023 10:19 pm
I have 2 datasource that have the fields acct num, pay date, payment amount with different limited criteria.
I want to pull the first payment amount so I sorted the datasource by acct, date then did first(datasource.pay_date). Those all work fine for those 2 fields from each datasource.
But I now need another textbox that combines the two first payments from those two sources but I'm getting an error that it cannot turn an object into an int and asking me if I have forgotten a cast.
Is there a way around this?
I want to pull the first payment amount so I sorted the datasource by acct, date then did first(datasource.pay_date). Those all work fine for those 2 fields from each datasource.
But I now need another textbox that combines the two first payments from those two sources but I'm getting an error that it cannot turn an object into an int and asking me if I have forgotten a cast.
Is there a way around this?