Hi PHV,
I'm really useless at SQL. I've tired editing it several times but I can't get it to work. This is my current SQL for my report:
SELECT tblStore.RefDate, tblStore.StoreID, tblStore.PartsID, tblStore.[BalanceAtStore(8AM)], tblStore.BadPartsReceived, tblRepaired.TechID...
Hi PHV,
Still can't get the thing to work. Is there a way I can send you my database so that you can look for it? Or do you know how to open a report using a combo box with the record source tblDate.RefDate??? Thanks!
SELECT *
FROM (tblDate D
LEFT JOIN tblRepair R ON A.RefDate=R.Date)
LEFT JOIN tblStore S ON A.RefDate=S.Date
WHERE D.Date Between [Forms]![name of form]![txtDateFrom] And [Forms]![name of form]![txtDateTo]
Just want to know whats :
D , R ,A, and S.
Sorry about that. Thanks PHV
...text boxes
'to show complete working week (Mon - Fri)
Dim today
today = Weekday(Date)
Me!txtdatefrom = DateAdd("d", (today * -1) + 2, Date)
Me!txtDateTo = DateAdd("d", 6 - today, Date)
End Sub
Private Sub cmdmonth_Click()
'Sets the Date From and Date To text boxes...
Hi All,
This is basically what my database looks like. It's a bit messy. Just wondering whether anybody could give any advice on how to improve it. Basically what I want to see is who repairs(TechID) the parts(PartsID) and on what date and later link the TechID,PartsID and...
Hi All,
This is basically what my database looks like. It's a bit messy. Just wondering whether anybody could give any advice on how to improve it. Basically what I want to see is who repairs(TechID) the parts(PartsID) and on what date and later link the TechID,PartsID and...
Okay I think I managed to fix the problem. But now its not saving it into the field Findings. Do I need to make an update command button to update it?? And if so, how do I do it??
Oh that was what Finding was. I thought it was a field where I saved the data in. But after I changed StrFound to String it says
"The value you entered isn't valid for this field"
Hmm is there any way I can share my Access file with you all? So that everybody can see it???
Now it keeps on saying "Type Mismatch". I thought it was because I referenced the findings as follows
RefFind Findings
1 part A stuck
2 part B not working (etc)
and it only reads the RefFind. So I changed StrFound to an Integer. But its not working. Any ideas...
Thanks RoyVidar and GingerR,
I think I'll stick to my initial plan. But can anybody explain to me fiep's code, like where they are all linked to. Especially
1.varItm
2.Me.SelectionList.ItemsSelected
3.Me.SelectionList.ItemData(varItm)
To RoyVidar,
Using your way I have to key in the problems one by one and that will be very inconvenient for the user. (Eg. Machine1 - part A not working
Machine1 - part B stuck
Machine1 - part C not working
What I want to do now is combine all this problems together.
eg. Machine1 - partA...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.