Slashback115
Registered User.
- Local time
- Today, 14:50
- Joined
- Sep 27, 2016
- Messages
- 18
Here is what I have this looks up the first field in box and works fine. I am hoping there is some simple line I need to add. And not over engineer it.
---------------------------------------------------------------------------------------
Private Sub shuffle_Click()
str_table = DLookup("
", "Innq")
Me.Table1.Value = str_table
End Sub
---------------------------------------------------------------------------------------
This was my attempt to make it random, but it won't randomize it.
---------------------------------------------------------------------------------------
Private Sub shuffle_Click()
intRandom = Int((30 * Rnd) + 1)
str_table = DLookup("
", "Innq", "[ID]='" & intRandom)
Me.Table1.Value = str_table
End Sub
---------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------
Private Sub shuffle_Click()
str_table = DLookup("
Me.Table1.Value = str_table
End Sub
---------------------------------------------------------------------------------------
This was my attempt to make it random, but it won't randomize it.
---------------------------------------------------------------------------------------
Private Sub shuffle_Click()
intRandom = Int((30 * Rnd) + 1)
str_table = DLookup("
Me.Table1.Value = str_table
End Sub
---------------------------------------------------------------------------------------