G
Guest
Hi, i'm having a problem with my listbox NAMES, i have three columns, the 1st
is the names, 2nd code and 3rd adress, but just the column of names is
showed. to test i put the variables into a msgbox, but just the column 0 and1
are showed, the 3rd is giving an error, like "INVALID USE OF NULL (syntax
error)". the code is like thiis.
For i = 0 To d - 1
b = Me.[Lname].Column(0)
Next i
MsgBox b
For j = 0 To d - 1
c = Me.[Lname].Column(1)
Next j
MsgBox c
For k = 0 To d - 1
a = Me.[Lname].Column(2)
Next k
MsgBox a
Any sugestion, thanks
is the names, 2nd code and 3rd adress, but just the column of names is
showed. to test i put the variables into a msgbox, but just the column 0 and1
are showed, the 3rd is giving an error, like "INVALID USE OF NULL (syntax
error)". the code is like thiis.
For i = 0 To d - 1
b = Me.[Lname].Column(0)
Next i
MsgBox b
For j = 0 To d - 1
c = Me.[Lname].Column(1)
Next j
MsgBox c
For k = 0 To d - 1
a = Me.[Lname].Column(2)
Next k
MsgBox a
Any sugestion, thanks