Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. SELECT w.* FROM work_log1 AS w, [task name] AS t WHERE t.task_name=forms!
  2. [Accenture QC]!combo4 And t.task_id=w.task_name And w.activity_start_date Between
  3. forms ![Accenture QC]!text0 And forms![Accenture QC]!text11
  4. and w.[TAT] = forms![Accenture QC]!combo46
  5.  
  6. and iif(forms![Accenture QC]!combo46 = '', t.task_id=w.task_name ,
  7. t.task_id=w.task_name and w.[TAT] = forms![Accenture QC]!combo46)
  8.  
  9. "SELECT w.* FROM work_log1 AS w where (w.[TAT] = forms![Accenture QC]!combo46
  10. OR forms![Accenture QC]!combo46 Is Null)"
  11.  
  12. and w.[TAT] = forms![Accenture QC]!combo46
  13.  
  14. AND (w.[TAT] = forms![Accenture QC]!combo46
  15. OR forms![Accenture QC]!combo46 Is Null)
  16.  
  17. Len(Trim(forms![Accenture QC]!combo46 & "")) = 0
  18.  
  19. SELECT w.*
  20. FROM work_log1 AS w
  21. where
  22. w.[TAT] = forms![Accenture QC]!combo46
  23. OR Len(Trim(forms![Accenture QC]!combo46 & "")) = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement