Hello there, I used to have this code for generate fields from Data1 to Data2, like A001 to A005, it would generate A001, A002, A003, A004, A005.
So it works with this code.
Set db = CurrentDb
Set rs = db.OpenRecordset("Almacenes")
For x = Val(Right(Me!Data1, 3)) To Val(Right(Me!Data2, 3))...