Not a foxpro person, I was looking at the SQL. Unfamiliar with this syntax requirement.
I see this is what you mean:
DELETE FROM MyTable ;
WHERE CustNo IN ;
(SELECT CustNo FROM MyTable ;
WHERE CustNo IN ;
(SELECT CustNo FROM Test1) ;
GROUP BY CustNo ;
HAVING...
Is this what worked ?
DELETE FROM MyTable WHERE CustNo IN (
SELECT CustNo FROM MyTable WHERE CustNo IN (SELECT CustNo FROM Test1)
GROUP BY CustNo HAVING COUNT(*) > 1 );
Here are a few date calculations that may offer some insight.
Sub SomedateStuff()
10 Debug.Print "First Day of Week is Sunday"
20 Debug.Print "First day Last Week " & DateAdd("ww", -1, Date - Weekday(Date) + 1)
30 Debug.Print "Last day Last Week " & DateAdd("ww", -1, Date -...
Have you considered?
- a copy of the database for your testing totally separate from the copy being used by the accountant
- a database /table designed specifically for you to "tune your skills" before working with the "official" database
Either option would allow you to check/revise the...
Are the Terms and Conditions consistent for all Contracts? That is, is it boiler plate with customization for a few fields. If so, then you may get some insight from this code/sample.
' ----------------------------------------------------------------
' Procedure Name: testStr
' Purpose: To...
You can find details by Google search
https://docs.microsoft.com/en-us/office/vba/api/access.docmd.locknavigationpane
https://docs.microsoft.com/en-us/office/vba/api/access.docmd.navigateto
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.