I ran the .bat through a shortcut AND the actual .bat file.
What i mean is when i run the .bat file, Access opens my database but the cmd.exe window thing is in the background (minimized) Is there anyway where the user canot see this at all?
-Sean
Bob my man, that works a treat!
One more problem though, the command prompt box stays open as long as the database is open, is there anyway of having it not open or hiding it at least?
Many thanks
-Sean
You're welcome! - I'm at home on eastern time, now.
How about this:
I see the path to your database, where do you want the backup copy to end up? It has to be a different folder, otherwise it would just try to overwrite the original.
Also, use Windows Explorer to find out exactly where you...
Hey man i really do appretiate the help!
I can get the bat file to run my database but not copy it on exit.
my txt file b4 i renamed it to a bat file read
"C:\Documents and Settings\Sean Owens\My Documents\Copy of Recipe collection database.mdb" XCopy
where am i going wrong?
there is a space in customer ID should i get rid of the space? there are also spaces in the field "end of stay"
i now tried...
DELETE *
FROM tblCustomers
WHERE tblCustomers.Customer ID in (SELECT tblCustomers.Customer ID
FROM tblCustomers INNER JOIN tblBookings ON...
i used
delete
FROM tblcustomers
WHERE tblcustomers.customer id in (SELECT tblcustomers.customer id
FROM tblCustomers INNER JOIN tblbookings ON tblCustomers.Customer ID = tblbookings.CustomerID
where tblbookings.endofstay=#1/2/97#);
and it says missing syntax.
also wouldnt this only filter...
Well the SQL is the same as the append query except its a delete query, but i keep gettin an error for some reason.
Here is my SQL
DELETE tblCustomers.*, tblBookings.[End of stay]
FROM tblCustomers INNER JOIN tblBookings ON tblCustomers.[Customer ID] = tblBookings.[Customer ID]
WHERE...
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.