spikepl
Eledittingent Beliped
- Local time
- Today, 10:14
- Joined
- Nov 3, 2010
- Messages
- 6,142
Code:
ElseIf Screen.ActiveControl.Name = "Print" Then strSQL = "SELECT * INTO " & TableName & " FROM [Letter Information] INNER JOIN [Letter Search - Query] ON [Letter Information].ID = [Letter Search - Query].ID WHERE " _ & "((([Letter Information].ID)=" & Forms![Search Form]![SID] & "));" End If