accessfleet
Registered User.
- Local time
- Today, 09:57
- Joined
- Sep 29, 2010
- Messages
- 91
Can anyone help me understand and fix?
works right, prompts for vendor number then prompts for start date and end date
PARAMETERS [Vendor#] IEEEDouble;
SELECT VENDORS.[VENDOR#], VENDORS.[COMPANY NAME], [t_PO-actions].ActionDate, [t_PO-actions].Desc, [t_PO-actions].Amt, [t_PO-actions].[Posted Date]
FROM VENDORS INNER JOIN [t_PO-actions] ON VENDORS.ID = [t_PO-actions].VendorID
WHERE (((VENDORS.[VENDOR#])=[Vendor#]) AND (([t_PO-actions].ActionDate) Between [Enter Start Date] And [Enter End Date]));
Does not work right Prompts for RadioUnit then prompts for start and end date but reports error ! This expression is typed incorrectly, or it is too complex to be evaluated. For example, a numeric expression may contain too many complicated elements. Try simplifing the expression by assigning parts of the expression to variables. WHAT?
PARAMETERS [RadioUnit] IEEEDouble;
SELECT WORKORDERS.[RadioUnit], WORKORDERS.[Workorder number], WORKORDERS.[DPS Workorder], WORKORDERS.OpenWorkOrderDate, WORKORDERS.CloseWorkOrderDate, WORKORDERS.Instructions, WORKORDERS.[Supervisor/CrewRemarks], WORKORDERS.[Work type], WORKORDERS.[CLOSED WORKORDER], WORKORDERS.Miles, WORKORDERS.Hours
FROM WORKORDERS
WHERE (((WORKORDERS.RadioUnit)=[RadioUnit]) AND ((WORKORDERS.CloseWorkOrderDate) Between [Enter Start Date] And [Enter End Date]))
ORDER BY WORKORDERS.[Workorder number] ;
Muchas Grassious in advance..
John.
works right, prompts for vendor number then prompts for start date and end date
PARAMETERS [Vendor#] IEEEDouble;
SELECT VENDORS.[VENDOR#], VENDORS.[COMPANY NAME], [t_PO-actions].ActionDate, [t_PO-actions].Desc, [t_PO-actions].Amt, [t_PO-actions].[Posted Date]
FROM VENDORS INNER JOIN [t_PO-actions] ON VENDORS.ID = [t_PO-actions].VendorID
WHERE (((VENDORS.[VENDOR#])=[Vendor#]) AND (([t_PO-actions].ActionDate) Between [Enter Start Date] And [Enter End Date]));
Does not work right Prompts for RadioUnit then prompts for start and end date but reports error ! This expression is typed incorrectly, or it is too complex to be evaluated. For example, a numeric expression may contain too many complicated elements. Try simplifing the expression by assigning parts of the expression to variables. WHAT?
PARAMETERS [RadioUnit] IEEEDouble;
SELECT WORKORDERS.[RadioUnit], WORKORDERS.[Workorder number], WORKORDERS.[DPS Workorder], WORKORDERS.OpenWorkOrderDate, WORKORDERS.CloseWorkOrderDate, WORKORDERS.Instructions, WORKORDERS.[Supervisor/CrewRemarks], WORKORDERS.[Work type], WORKORDERS.[CLOSED WORKORDER], WORKORDERS.Miles, WORKORDERS.Hours
FROM WORKORDERS
WHERE (((WORKORDERS.RadioUnit)=[RadioUnit]) AND ((WORKORDERS.CloseWorkOrderDate) Between [Enter Start Date] And [Enter End Date]))
ORDER BY WORKORDERS.[Workorder number] ;
Muchas Grassious in advance..
John.
Last edited: