G
Guest
Is there any way to access a series of fields in a record to check for data?
for example I can assess a field using Me.[1] or any other number to Me.[65]
but cannot access anything if I use a variable as below. any suggestions
rather than have a complete list of all 65 fields in some form of long
sequential query ?
Private Sub Command9_Click()
Dim a As String, i As String, j As Integer
For j = 1 To 65
i = Str(j)
If IsNull(Me.) Then
a = ""
Else
a = i
Exit For
End If
Next
etc. for use of a
for example I can assess a field using Me.[1] or any other number to Me.[65]
but cannot access anything if I use a variable as below. any suggestions
rather than have a complete list of all 65 fields in some form of long
sequential query ?
Private Sub Command9_Click()
Dim a As String, i As String, j As Integer
For j = 1 To 65
i = Str(j)
If IsNull(Me.) Then
a = ""
Else
a = i
Exit For
End If
Next
etc. for use of a