I go to run one of my normal macros today and get the following error:
" is not a valid name. Make sure that it does not include invalid characters or punctuation and that is not too long.
Then clicking ok I see which action has failed. I note the error number (2950) and that it has failed on the send object of a query.
So upon further investigation of the query that errored, i have gathered the following info:
-I can double click on the query the macro runs and it works fine, however if i right click and go to design view i get the above error again.
-Other random queries in the database do the exact same thing.
-these issues do NOT occur when i open the database on another machine that is running access 2003 (my machine is running 2007 if you didn't get that from the title).
-This all worked perfectly normal yesterday.
I dont know if it will help, but here is the sql of the query.
SELECT DISTINCT AX1492BFRX_SROPRG.PGPGRP, AX1492BFRX_SROPRG.PGAGRP, Left([PGPRDC],6) AS Item, Right([PGPRDC],Len([PGPRDC])-7) AS ItemDescr, AX1492BFRX_SROPRG.PGPCA2, AX1492BFRX_SRBSRO.SRSTHQ AS OnHnd, AX1492BFRX_SRBSRO.SRCUSQ AS OnSO, AX1492BFRX_SRBSRO.SRPICQ AS OnPick, AVAILABLE.LocQty, AVAILABLE.PickQty, AVAILABLE.UnSell, AVAILABLE.Avail
FROM (AX1492BFRX_SROPRG LEFT JOIN AX1492BFRX_SRBSRO ON AX1492BFRX_SROPRG.PGPRDC = AX1492BFRX_SRBSRO.SRPRDC) LEFT JOIN AVAILABLE ON AX1492BFRX_SROPRG.PGPRDC = AVAILABLE.LPPRDC
WHERE (((AX1492BFRX_SROPRG.PGPCA2)<>"N") AND ((AVAILABLE.Avail)=0 Or (AVAILABLE.Avail) Is Null))
ORDER BY AX1492BFRX_SROPRG.PGPGRP, Right([PGPRDC],Len([PGPRDC])-7);
Thanks in advance for any help