Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 09-17-2012, 01:29 AM
jillapass jillapass is offline Multiple queries on table Windows 7 32bit Multiple queries on table Office 2007
Novice
Multiple queries on table
 
Join Date: Dec 2011
Posts: 26
jillapass is on a distinguished road
Default

Sorry, wk_com is a date of start of booking.
It wouldn't make much sense to attach the workbook as the data is in an SQL database so all the workbook contains is a list of bookings for a specified week with the client number and carer number, nothing else at all.
So, the select finds the bookings for a week, I then want to find any previous booking for clients that are already in this list, but these are in the same table.


The query I have is:

Code:
SELECT tblBookingsWarehouse.Wk_Com, tblBookingsWarehouse.CarerNo, tblBookingsWarehouse."Client Number"
FROM ch_warehouse.dbo.tblBookingsWarehouse tblBookingsWarehouse
WHERE (tblBookingsWarehouse.Wk_Com=?) AND (tblBookingsWarehouse.Type='Booking')
ORDER BY tblBookingsWarehouse.CarerNo
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple queries on table mdb/accdb, missing tables & queries Peter J. Veger Mail Merge 1 02-23-2012 10:42 PM
Multiple queries on table Mailmerge with Access queries optiontips.in Mail Merge 2 11-21-2011 03:12 AM
Multiple queries on table Table of contents with multiple coloured headings chaka2487 Word 3 10-17-2011 01:18 PM
Multiple queries on table table spanning multiple pages 'upside down' lj_eco Word Tables 13 07-17-2011 04:39 PM
mail merge queries not displaying donwalt Mail Merge 0 09-05-2010 02:41 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:50 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft