kennedymr2
Programmer
In VB6 i am able to generate a large number of text box's on a form using a text box array...
eg
Private Sub LoadM()
With Mname(0)
GridTop = .Top
GridLeft = .Left
CellHeight = .Height
CellWidth = .Width
.Enabled = False
.Visible = True
End With
For Idx = 1 To (NumCols * Numrows) - 1
Load Mname(Idx)
With Mname(Idx)
.Move GridLeft + ((Idx Mod NumCols) * CellWidth), _
GridTop + ((Idx \ NumCols) * CellHeight)
.Visible = True
.Enabled = False
End With
Next 'Idx
End Sub
BUT in Access this does not work.. as it seems access does not have an array for textbox's etc ...
What i am trying to do is dynamically generate a variable number of text boxes on the run using say
Numrows=20
NumCols=10
I would be happy with say Text0101--- Text0120
Text0201--- Text0220
etc... i realize there would not be an array
Is there a solution in Access
Really appreciate if some help could be offered..
Kennedymr2