sorry, I found the problem. The query should be:
WHERE tblCustomers!Surname LIKE Forms!frmFindCustomer!txtSurnameNOT
WHERE Forms!frmFindCustomer!txtSurname Like tblCustomers!Surname
odd :(
The following query:
SELECT tblCustomers.*
FROM tblCustomers
WHERE Forms!frmFindCustomer!txtSurname Like tblCustomers!Surname And Forms!frmFindCustomer!txtAddrLn1 Like tblCustomers!AddrLn1 And Forms!frmFindCustomer!txtPostCode Like tblCustomers!PostCode And Forms!frmFindCustomer!cboStates Like...
Im trying to implement the Date_Add function, but im having some problem.
SELECT tblCustomers.*
FROM tblCustomers
WHERE (((tblCustomers.State='No Letters Sent') And (tblCustomers.DateEntered<=Date_Add(Date(),INTERVAL 1 MONTH))
Gives me an error, how do i correct this? I know its a silly syntax...
Im trying to make a query , heres what I have so far: (the Date in my access database is in the format "dd/mm/yyyy")
SELECT *
FROM tblCustomers
WHERE (tblCustomers.State='No Letters Sent')
And (tblCustomers.DateEntered='29/06/2005');
however I get type mis match, now I believe I have to use...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.