I'm trying to write VBA to create a button which will go to the relevant line in a linked database for a specific client. First I need to have VBA that IDs when the client name in the report matches that in the linked table.
This is what I have so far.
DoCmd.OpenForm "Clients with matches Full Report",View:=a cFormsDS, ,WhereCondition "FinCoachin g Enrollment File 2"!.Client__Nam e = " & "Client with matches Full Report"!Client_ Name, ,
When it gets to Wherecondition it says it was expecting a parameter.
Thanks.
This is what I have so far.
DoCmd.OpenForm "Clients with matches Full Report",View:=a cFormsDS, ,WhereCondition "FinCoachin g Enrollment File 2"!.Client__Nam e = " & "Client with matches Full Report"!Client_ Name, ,
When it gets to Wherecondition it says it was expecting a parameter.
Thanks.
Comment