Karen Schaefer
asked on
using external filepath within the DCOUNT
is it possible to use something like an "In" statement within the DCOUNT funciton, if so what is the proper syntax
i = DCount("RecordLock", "tblInvoice", "ContractNumber =" & Chr(34) & _
gContractID & Chr(34) & " and RecordLock = 0")
I want to change the database source from local to an external mdb.
i = DCount("RecordLock", "tblInvoice IN '\\filepath\mdbname.mdb", "ContractNumber =" & Chr(34) & _
gContractID & Chr(34) & " and RecordLock = 0")
i = DCount("RecordLock", "tblInvoice", "ContractNumber =" & Chr(34) & _
gContractID & Chr(34) & " and RecordLock = 0")
I want to change the database source from local to an external mdb.
i = DCount("RecordLock", "tblInvoice IN '\\filepath\mdbname.mdb", "ContractNumber =" & Chr(34) & _
gContractID & Chr(34) & " and RecordLock = 0")
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER