D
DS
I have a DMax problem. I need to get the highest Number in a series
froma table.
The table has this info...
1
1a
1b
2
3
3a
3b
3c
3d
Here is the DMax Statement
Me.TxtNumber = DMax("[Number]", "tblTest", "Len(Number)-1 = " &
Me.TextStart)
Me.TextStart would have a number such as 1, 2 or 3 in it.
So if Me.TextStart has the number 3 in it Me.TxtNumber would return 3d
if Me.TextStart had 1, it would return 1b, if it had 2 then it ould
return 2....you get the picture. Any help appreciated.
Thanks
DS
froma table.
The table has this info...
1
1a
1b
2
3
3a
3b
3c
3d
Here is the DMax Statement
Me.TxtNumber = DMax("[Number]", "tblTest", "Len(Number)-1 = " &
Me.TextStart)
Me.TextStart would have a number such as 1, 2 or 3 in it.
So if Me.TextStart has the number 3 in it Me.TxtNumber would return 3d
if Me.TextStart had 1, it would return 1b, if it had 2 then it ould
return 2....you get the picture. Any help appreciated.
Thanks
DS