S
Sok Hong
I am currently trying to run a SQL statement depending on
what selection user chooses. It's supposed to modify a
query I've ran depending on the user's selection. However
my code doesn't seem to be running at all.
Dim SQL As String
If [List5].Value = "1" Then
SQL = "SELECT [Requirements Master Table].[Req #],
[Requirements Master Table].Priority, [Requirements Master
Table].[Full Description], [Requirements Master
Table].Comments, [Requirements Master Table].Workstream "
& _
"FROM [Requirements Master Table] " & _
"WHERE ((([Requirements Master Table].Status)=6)
AND (([Requirements Master Table].Workstream)=1))"
DoCmd.RunSQL SQL
Any suggestions?
what selection user chooses. It's supposed to modify a
query I've ran depending on the user's selection. However
my code doesn't seem to be running at all.
Dim SQL As String
If [List5].Value = "1" Then
SQL = "SELECT [Requirements Master Table].[Req #],
[Requirements Master Table].Priority, [Requirements Master
Table].[Full Description], [Requirements Master
Table].Comments, [Requirements Master Table].Workstream "
& _
"FROM [Requirements Master Table] " & _
"WHERE ((([Requirements Master Table].Status)=6)
AND (([Requirements Master Table].Workstream)=1))"
DoCmd.RunSQL SQL
Any suggestions?