A
andy g
Hi,
Could you please show me how to query the results of a query
I have some query code:
If lstDataSource.Value = "Main Database" Then
STRSQL = "UPDATE tblMailingList SET SelectForView=-1,
SelectForPreView=-1 Where " & gcriteria & ";"
DoCmd.RunSQL STRSQL
ElseIf lstDataSource.Value = "Last Search" Then
End If
where gcriteria = lstSelectFrom.Value & " LIKE '" & txtSearchParameter &
"*'"
This returns the results exactly as i need.
My question is, what do I need to place in the code for lstDataSource.Value
= "Last Search" which will filter the results of the previous query from the
main database
Any Ideas most welcome, Thanks
Could you please show me how to query the results of a query
I have some query code:
If lstDataSource.Value = "Main Database" Then
STRSQL = "UPDATE tblMailingList SET SelectForView=-1,
SelectForPreView=-1 Where " & gcriteria & ";"
DoCmd.RunSQL STRSQL
ElseIf lstDataSource.Value = "Last Search" Then
End If
where gcriteria = lstSelectFrom.Value & " LIKE '" & txtSearchParameter &
"*'"
This returns the results exactly as i need.
My question is, what do I need to place in the code for lstDataSource.Value
= "Last Search" which will filter the results of the previous query from the
main database
Any Ideas most welcome, Thanks