Sorry you felt insulted. Questions regarding repeating groups in tables,
like you have in your sample, occur extremely often in these groups, and
sometimes I (and the other MVPs) get frustrated by answering the same
questions so often.
Having said that, though, I would have thought that a basic piece of
debugging would have been to check what values would have been generated as
the field names, since the message "cannot define a field more than once"
does imply duplication.
Cobbling together a little routine like:
Sub TestRoutine()
Debug.Print "Delq_" & Format((DateSerial(Year(Date), Month(Date), 0)),
"mm-yy")
Debug.Print "Delq_" & Format((DateSerial(Year(Date), Month(Date), 0) -
30), "mm-yy")
Debug.Print "Delq_" & Format((DateSerial(Year(Date), Month(Date), 0) -
60), "mm-yy")
Debug.Print "Delq_" & Format((DateSerial(Year(Date), Month(Date), 0) -
90), "mm-yy")
Debug.Print "Delq_" & Format((DateSerial(Year(Date), Month(Date), 0) -
120), "mm-yy")
Debug.Print "Delq_" & Format((DateSerial(Year(Date), Month(Date), 0) -
150), "mm-yy")
Debug.Print "Delq_" & Format((DateSerial(Year(Date), Month(Date), 0) -
180), "mm-yy")
Debug.Print "Delq_" & Format((DateSerial(Year(Date), Month(Date), 0) -
210), "mm-yy")
Debug.Print "Delq_" & Format((DateSerial(Year(Date), Month(Date), 0) -
240), "mm-yy")
Debug.Print "Delq_" & Format((DateSerial(Year(Date), Month(Date), 0) -
270), "mm-yy")
Debug.Print "Delq_" & Format((DateSerial(Year(Date), Month(Date), 0) -
300), "mm-yy")
Debug.Print "Delq_" & Format((DateSerial(Year(Date), Month(Date), 0) -
330), "mm-yy")
End Sub
and running it from the immediate window would have shown the problem in a
few seconds:
TestRoutine
Delq_04-06
Delq_03-06
Delq_03-06
Delq_01-06
Delq_12-05
Delq_12-05
Delq_11-05
Delq_10-05
Delq_09-05
Delq_08-05
Delq_07-05
Delq_06-05