Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Any idea what is wrong with my src statement? It is giving me a
compile error when I attempt to run the code and it highlights the "Rejected" portion. It runs perfectly fine as a query in the database and I can't see any quotes or anything out of place... Thanks. Src = "SELECT Orders.Order, Orders.Date, Orders.Time, Rejections.Order, Rejections.Date, " & _ "Rejections.Time, " & "IIf(Orders.Order=Rejections.Order,"Rejected","Fil led") " & "AS Fill_Status " & _ "FROM Rejections RIGHT JOIN Orders ON Rejections.Order=Orders.Order " & _ "WHERE Orders.Date Now() - 42 " & _ "ORDER BY Orders.Order, Rejections.Order;" |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Micrsoft Visual Basic Compile error: Expected: end of statement | Excel Discussion (Misc queries) | |||
VBAProject name compile error, not defined at compile time | Excel Programming | |||
error message: compile error, argument not optional | Excel Programming | |||
How do I get rid of "Compile error in hidden module" error message | Excel Discussion (Misc queries) |