I use this code with a view and it works but when I change it to a stored procedure it does not work. I assume that a stored procedure has be handled different. Can anyone help me.
Const stmt = "Select * from vwDeferred_rpt where Client_ID like '[Client_ID]' "
Dim varClient As Variant
varClient = Split(Client, " "
Me.RecordSource = Replace(stmt, "[Client_ID]", varClient(0))
Your help is greatly appreciated.
Const stmt = "Select * from vwDeferred_rpt where Client_ID like '[Client_ID]' "
Dim varClient As Variant
varClient = Split(Client, " "
Me.RecordSource = Replace(stmt, "[Client_ID]", varClient(0))
Your help is greatly appreciated.