I'm trying to insert a range of serial numbers into the SQL Server table.
I'm using the following code but it inserts only one record:
Patch('[dbo].[SerialNos]', Defaults('[dbo].[SerialNos]'),
{Equipment: varEquipNo,
SerialNumber: "123456",
Loc: varStorLoc
})
How can I modify it to use a range of serial numbers (ex. From SerialNo - To SerialNo) :