Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Help needed Expand / Collapse
Author
Message
Posted Thursday, February 23, 2012 12:16 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, March 6, 2013 5:33 AM
Points: 48, Visits: 340
Can any body help me..???

i don't know Access very well, in my project we have one tool that was creating using ms access it was created by some one else now we are using that tools for retrieving the data from source depending on some input. now we want another way to finding the objects like that...

please help me in this...!!!

SELECT CABWO_CABLE_WORK_ORDERS.WO_NO, CABWO_CABLE_WORK_ORDERS.ISS_NO, CABWO_WO_DETAILS.TITLE, CABWO_WO_DETAILS.PLANNER_NAME, CABWO_SUPERVISORS.NAME, (CABWO_TECHNICIANS.NAME & " (" & CABWO_TECHNICIANS.TEL_OFF & ")") AS Sup_Name, CABWO_CONTRACTORS_N.CON_NAME, CABWO_CABLE_WORK_ORDERS.RECEIVED_DATE, CABWO_CABLE_WORK_ORDERS.PLN_START_DATE, CABWO_CABLE_WORK_ORDERS.PLN_COMP_DATE, CABWO_CABLE_WORK_ORDERS.ACT_START_DATE, CABWO_CABLE_WORK_ORDERS.ACT_COMP_DATE, CABWO_CABLE_WORK_ORDERS.STATUS, CABWO_CABLE_WORK_ORDERS.WO_COMMENTS
FROM CABWO_WO_DETAILS INNER JOIN (((CABWO_CABLE_WORK_ORDERS INNER JOIN CABWO_TECHNICIANS ON CABWO_CABLE_WORK_ORDERS.TECH_CODE = CABWO_TECHNICIANS.TECH_CODE) INNER JOIN CABWO_SUPERVISORS ON CABWO_CABLE_WORK_ORDERS.SUP_CODE = CABWO_SUPERVISORS.CODE) INNER JOIN CABWO_CONTRACTORS_N ON CABWO_CABLE_WORK_ORDERS.CON_CODE = CABWO_CONTRACTORS_N.CON_CODE) ON (CABWO_WO_DETAILS.ISSNO = CABWO_CABLE_WORK_ORDERS.ISS_NO) AND (CABWO_WO_DETAILS.WONO = CABWO_CABLE_WORK_ORDERS.WO_NO)
WHERE (((CABWO_CABLE_WORK_ORDERS.WO_NO)=[Please Enter WO Number]) AND ((CABWO_CABLE_WORK_ORDERS.ISS_NO)=[Please Enter Issue Number]));


if we hit this querry it asks the work order number and issue if it matches it will come...in the same way i want the data as per "WO.TITLE" is it possible...????

hope some one can help me...!!!
Post #1256430
Posted Thursday, February 23, 2012 4:11 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Sunday, September 7, 2014 11:27 PM
Points: 7,164, Visits: 13,257
It depends if you're looking for an additional criteria:

WHERE CABWO_CABLE_WORK_ORDERS.WO_NO=[Please Enter WO Number] AND CABWO_CABLE_WORK_ORDERS.ISS_NO)=[Please Enter Issue Number] AND CABWO_WO_DETAILS.TITLE)=[Please Enter Title];

or an alternative criteria:
WHERE ((CABWO_CABLE_WORK_ORDERS.WO_NO=[Please Enter WO Number] AND CABWO_CABLE_WORK_ORDERS.ISS_NO=[Please Enter Issue Number]) OR (CABWO_WO_DETAILS.TITLE=[Please Enter Title]));




Lutz
A pessimist is an optimist with experience.

How to get fast answers to your question
How to post performance related questions
Links for Tally Table , Cross Tabs and Dynamic Cross Tabs , Delimited Split Function
Post #1256527
Posted Saturday, February 25, 2012 9:54 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, March 6, 2013 5:33 AM
Points: 48, Visits: 340
i tried your answer but i have another requirement

SELECT CABWO_CABLE_WORK_ORDERS.WO_NO, CABWO_CABLE_WORK_ORDERS.ISS_NO, CABWO_WO_DETAILS.TITLE, CABWO_WO_DETAILS.PLANNER_NAME, CABWO_SUPERVISORS.NAME, (CABWO_TECHNICIANS.NAME & " (" & CABWO_TECHNICIANS.TEL_OFF & ")") AS Sup_Name, CABWO_CONTRACTORS_N.CON_NAME, CABWO_CABLE_WORK_ORDERS.RECEIVED_DATE, CABWO_CABLE_WORK_ORDERS.PLN_START_DATE, CABWO_CABLE_WORK_ORDERS.PLN_COMP_DATE, CABWO_CABLE_WORK_ORDERS.ACT_START_DATE, CABWO_CABLE_WORK_ORDERS.ACT_COMP_DATE, CABWO_CABLE_WORK_ORDERS.STATUS, CABWO_CABLE_WORK_ORDERS.WO_COMMENTS
FROM CABWO_WO_DETAILS INNER JOIN (((CABWO_CABLE_WORK_ORDERS INNER JOIN CABWO_TECHNICIANS ON CABWO_CABLE_WORK_ORDERS.TECH_CODE = CABWO_TECHNICIANS.TECH_CODE) INNER JOIN CABWO_SUPERVISORS ON CABWO_CABLE_WORK_ORDERS.SUP_CODE = CABWO_SUPERVISORS.CODE) INNER JOIN CABWO_CONTRACTORS_N ON CABWO_CABLE_WORK_ORDERS.CON_CODE = CABWO_CONTRACTORS_N.CON_CODE) ON (CABWO_WO_DETAILS.WONO = CABWO_CABLE_WORK_ORDERS.WO_NO) AND (CABWO_WO_DETAILS.ISSNO = CABWO_CABLE_WORK_ORDERS.ISS_NO)

WHERE (((CABWO_WO_DETAILS.TITLE) Like[Please Enter WO Title]));
i want the information regarding the title like some thing if want...but is not sowing any thing.. i want to enter some thing related to title and i want the entire data related to that titles...please help me
Post #1257896
Posted Sunday, February 26, 2012 3:45 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Sunday, September 7, 2014 11:27 PM
Points: 7,164, Visits: 13,257
Your requirement looks like a wildcard search:
WHERE (((CABWO_WO_DETAILS.TITLE) Like "*" & [Please Enter WO Title] &"*"));




Lutz
A pessimist is an optimist with experience.

How to get fast answers to your question
How to post performance related questions
Links for Tally Table , Cross Tabs and Dynamic Cross Tabs , Delimited Split Function
Post #1257918
Posted Sunday, February 26, 2012 10:04 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, March 6, 2013 5:33 AM
Points: 48, Visits: 340
Hi Lutz,

Thanks for your immediate reply it's working fine for me...!!!!

i'm using it now in this way i copying this file "WO Tracking.accdr" from C drive to my local drive and changing it to "accdb" and doing my research on it now it's ok with your answer so how can i include this new feature in to original file "WO Tracking.accdr" in C:/drive....!!!!

If it possible then i can share this feature to my team..!!!!
Post #1258005
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse