FahadTiger
Member
- Local time
- Today, 05:30
- Joined
- Jun 20, 2021
- Messages
- 115
Hi Expert
when Im trying to renumber of sub_form for every new invoice ..i used this for control source of unbound textbox
=IIf(IsNull([ItemCode]);Null;Nz(DCount("ItemCode";"SalesOrderDetailsT";"SaleID=" & [SaleID] & "AND SaleOrder <" & [SaleOrder]);0)+1)
its work good..but I Get Error at the last row
when Im trying to renumber of sub_form for every new invoice ..i used this for control source of unbound textbox
=IIf(IsNull([ItemCode]);Null;Nz(DCount("ItemCode";"SalesOrderDetailsT";"SaleID=" & [SaleID] & "AND SaleOrder <" & [SaleOrder]);0)+1)
its work good..but I Get Error at the last row
Attachments
Last edited: