SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Help needed


Help needed

Author
Message
ganeshnarim
ganeshnarim
SSC-Enthusiastic
SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)

Group: General Forum Members
Points: 190 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...!!!
LutzM
LutzM
SSC-Insane
SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)

Group: General Forum Members
Points: 24131 Visits: 13559
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
ganeshnarim
ganeshnarim
SSC-Enthusiastic
SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)

Group: General Forum Members
Points: 190 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
LutzM
LutzM
SSC-Insane
SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)

Group: General Forum Members
Points: 24131 Visits: 13559
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
ganeshnarim
ganeshnarim
SSC-Enthusiastic
SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)SSC-Enthusiastic (190 reputation)

Group: General Forum Members
Points: 190 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..!!!!
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search