SQL Query That Share Products Among Storehouses
May 29, 2005
Aloha,
it's my first time here and the reason is because i have a problem with a query.
I have a database of a storehouse. Each storehouse can be in one city. Storehouses have 5 products A, B, C, D, and E. A storehouse may have more, less or equal quantities of a product than it needs. I want to write an SQL query that shares the quantities of a product among storehouses. I tried to write but it was to difficult than i thought, so i ask your help. I attach the database for your convinience. :)
View Replies
ADVERTISEMENT
Apr 19, 2006
I am trying to automate a process where we have 1000's units available on a date eg 01/01/06 - 05/01/06 this is produced in a reprot via a prehistoric system we use.
The report shows the start date and the duration the unit is in use. per each order
I then use excel to populate when the unit is in use. With all of 2006 date's along the top and use an if statement to populate when the unit is in use. Then i sum all like for like units together.
Is there an easy way of doing this in access?
where i am failing is populating when an individual unit is available with out using excel. excell is on the vege of falling over now due to the volume so am desperate for alternatives
View 1 Replies
View Related
Oct 26, 2005
Could someone please point me in the direction of some websites where people share their databases?
I have searched on the web and have not seen any other websites where there are just databases for download.
I am looking specifically for a Incident/Problem/Change mgmt database that conforms to ITIL methodologies.
or a Project managment database to track issues, actions and minute meetings.
It would really be very helpfull!!
Thx
View 5 Replies
View Related
Aug 31, 2006
Is anybody knows why Access 2003 can not share properly db file. When once the file is open nobody can open another session even the db is set "share" in options?
Thank you!
View 3 Replies
View Related
May 27, 2005
Hi,
Just had to share this...
Been reading Alison Balter's Mastering Access 2000 Development - fantastic book and highly recommended.
She shares a trick on how to give users access to fields within tables without giving them access to other confidential fields within tables.
User is not granted rights to a table.
A query is created by someone with access rights to the table.
The query uses the non confidential fields. At the very end of the query, in SQL, write:
WITH OWNERACCESS OPTION;
This tells Access that whoever runs the query does so with the Query owners access rights!
Fantastic!
If you want more detail, buy the book!
Frozbie
(Mark)
I got my name back!
View 8 Replies
View Related
Jan 14, 2008
I have created database and i would like to share it with multiple users and also i want them to make changes and update it as they go. My questions is:
how do i do that?
Can this be done?
Can several users be on the database at the sametime and make changes?
Pls. help..and also if you can tell me a link where i can find more info about this.. i would really appreciate. Thanks.
View 2 Replies
View Related
Mar 28, 2008
I have this database that's been on a server for awhile. I thought I could ditch the server because there are only two computers networked here at the office.
I have the database shared from one computer, but when I try to access it from the other computer, it's giving me a path name error. It seems that the database is linked to and uses several other databases, so, when I try to open the main one, it's trying to look for the other databases on the wrong computer.
Anyone know how I can fix this?
View 5 Replies
View Related
Jan 22, 2008
Hi There,
I have created this query and i want to return the top 5 suppliers per LOB. It is returning something but it is not the top 5. I want to limit only to return the top 5. Pls. help and thanks. See attached file.
View 5 Replies
View Related
Nov 8, 2006
Hello fellow developers.
I need a query to help me track share of cost for clients. Anyone have any ideas? This is what I am working with. sorry it didn't paste very well. My problem is that my query keeps subtracking the share of cost and I want it to stop subtracking the share of cost once the share of cost has been met. HOpe that makes sense. Thanks in advance for your help in this matter. Angelflower.
BeginDOSEndDOSInvoiceIDProcessedTotalDaysRateTotalAmountMCostShareAmountPayable
10/1/200610/24/20065Resid10-06Yes24$47.00$1,128.00280.16$847.84
10/1/200610/24/20065Resid10-06Yes24$64.70$1,552.80280.16$1,272.64
10/25/200610/25/20065Resid10-06Yes1$45.29$45.29280.16($234.87)
10/26/200610/31/20065Resid10-06Yes6$47.00$282.00280.16$1.84
10/26/200610/31/20065Resid10-06Yes6$64.70$388.20280.16$108.04
View 1 Replies
View Related
May 30, 2005
Hi,
Newbie stuff I'm afraid;
is it possible for the following to be achieved in Access;
When a user inputs data into a Form in order to add data to
an underlying table, can this same data populate another table
that has the same field? If so, how is it done?
Thank You
View 1 Replies
View Related
Aug 17, 2007
Hi, I'm not even sure how to describe my problem in the proper terms in order to look it up in any faq or tutorial.
I have one table, customers. Their name, number, etc.
Another table, products: Name, id, department, etc.
And the final table being orders. Customer bought product when, etc.
However, I'm only able to attach one product to each customer per order. I need to be able to attach any number of products, and I don't know how to go about doing that.
Also, when I create a form for entering all the data to these tables, the information doesn't stick. I create a form using the order table, enter the order and customer information, and have the products as a subform. The information will stick for each table, but they won't connect to each other.
If that makes any sense...
Any pointers would be great thanks, I don't even know where to start.
View 5 Replies
View Related
Dec 2, 2005
I have a form orders with a subform orderdetails where we can order more than one product. When the order is finished you save it with a save button where it will also automathically mark the products ordered as not available.
Now, this code works, the problem is that it only marks one product. how do you make it mark all the products that where ordered (in orderdetails - the subform)? :
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
'set values here!
'loop?
Dim stAvai As String
Dim strSetProd As String
stAvai = "= " & Me.OrderDSubform.Form!ProductIdctrl.Value & " "
strSetProd = "UPDATE Products " & _
"SET Products.[Avail]= True " & _
"WHERE Products.[ProductId]" & stAvai & " ;"
DoEvents
DoCmd.RunSQL strSetProd
View 12 Replies
View Related
Dec 8, 2007
Hi everyone, I am having a lot of trouble doing something that is probably very simple.
My scenario is customers order products, lots of products, now i need to know the quantities of these products for all my customers. It doesnt have to be by customer name, all i need is the product and the Quantities.
I can produce a Report that contains what i need in it but i would like to summarise it.
My report now has the PRODUCT and the QUANTITY for each product that was entered in the order, Problem is the Same product comes up all the time in the report.
For example Product= Tray Lasagne Quantity = 1
Product= Tray Lasagne Quantity = 2
etc...
And it has a continues list in the report, i would like to group the products so that it shows like this on the report:
Product=Tray Lasagne Quanity= 1, 2 etc
Is this possible? Thanks.
View 13 Replies
View Related
Mar 28, 2012
I am using Access 2010. I have 4 columns in my file. They are "Code", "Item", "Qty", and "Amount" . I have 5 products with my own codes. It means the codes are set by me. For example, 00001 for ruler, 00101 for book, 00201 for pencil, 00301 for rubber, 00401 for pen. My wish is to link the code and product together. It means that when I sell a pen, I must type the code for pen (in the "code column") and I must type pen in "Item Column", so I think it really takes long to do this because I will really make a mistake because the code and item are not linked at all. What I mean is that when I fill or know the code, I will get the product automatically in the "Item Column" or vice versa.
Now I have set the code 00401 for pen.
So when I need to fill the information. I wish to fill the code in the "Code Column" and then the word pen is automatically shown in the "Item Column". In this case, I will be able to get right code linked to its product.
View 1 Replies
View Related
Oct 18, 2004
I have created a report in Access that calculates the dates based on a date-type field in a query. I want to be able to use these calculated dates in another report and sort these dates in an ascending order. With the dates, I also want to display certain information from this report. Is it doable? Please let me know....ASAP if poosible...
Thanks!
View 6 Replies
View Related
Dec 3, 2004
Can anyone recommend a good place to upload a database so others can access it.
View 1 Replies
View Related
Jan 24, 2015
In my 2002 Employee table, I have a field which is a hyperlink to photos: C:photosemployee1.bmp (This is what I have entered into the Field as the Hyperlink)...However, from other PCs, I connect to this database and photo folder as a different drive letter, say Z, so when I am on the other networked PCs, and I click on the Hyperlink field, the data will not come up?
View 3 Replies
View Related
Oct 10, 2014
I created *.mdb database and I used (user-level security wizard) to give each user a username and a password. The dB file is saved in D: drive. The security wizard created a shortcut on the desktop to open the dB through it. After using that wizard I cannot open the database directly from drive D:.If I try to open it , it says"You don't have necessary permissions to use the database".Now, there are many users should use this db through the network.
View 1 Replies
View Related
May 2, 2013
I'm using access 2010. how should I share the access file I created that will be the best way?there are 20 users that need to add/edit/view the data.I read in some places that I need to do share on options and some said that I need to split the file to data and front file.
View 3 Replies
View Related
May 28, 2006
I would love to publish my product catalog from my access database on a website. it should be a browsable catalog with search field on article number range, product group, product type and should be able to display product pictures.Within my access database i have a link to the product picture stored by filename. I'm looking for an easy solution to do this, i'm using mysql as database on my hosting provider.I can do the export to mysql myself (interfacing between access and mysql) but am looking for some hot software to display the catalog easily without programming the front website myself. I already have oscommerce installed but don't want a webshop and don't know how to disactivate all the features within oscommerce to only retain the article browsing.Thanks if you have a hint
View 3 Replies
View Related
May 15, 2014
I have attached a sample database that is for searching products with images. The search works ok, but cant get the product image on form-- FRM_Carns
View 1 Replies
View Related
Apr 16, 2015
I have been trying to get this to work for days and I cant get it to work correctly. I have a query that I need to search only for the records that have 12,22 and 24 so in the fields criteria I have been trying
Total: Where
Criteria: In (12,22,24)
and it works BUT it only works for the first record it finds then it seems to skip and continue to search for all records after that.
View 3 Replies
View Related
Dec 6, 2013
As you know, the prices are, unfortunately, dynamic "objects".
So, I have a table for products:
tblProducts
ID_Product - Autonumber (PK)
ProductName
and a table for prices
tblProductsPrices
ID_ProductPrice - Autonumber (PK)
ID_Product - Number (FK on tblProducts
Price - Double
PriceDate - Date/Time
The problem: I have a certain date. I need to know the available prices at that date for all products.
I have a solution; but, for each product, I apply an external function that use two aggregate functions: DMax and Dlookup.
For my small tables, this isn't a problem but I like to know if it is a better way.
View 10 Replies
View Related
May 16, 2007
I've been having some problems with sharing an MS Access 2000 database across a network.
The database is setup to open in shared mode and has been tried both with and without record locking, with the same issue occurring.
The main users are:
User 1 (Administrator) - MS Access 2000 Full Version (WinXP Professional)
User 2 - Access 2000 Runtime + Access 97 (Win XP Professional)
User 3 - Access 2000 Runtime + Access 97 (Win XP Professional)
The problem is occurring when User 3 opens the database. For some reason it opens in exclusive mode and locks out Users 1 & 2. This issue only happens with User 3, and does not happen with User 2 who has the same software setup.
The database was previously an Access 97 database (no problems) and has been converted to Access 2000, this share issue has been happening ever since the conversion.
Any ideas as to how this shared issue could be resolved? :confused:
BTW - I am familiar with FE/BE setups. This database is accessed by all from a network drive and not setup as FE/BE. This was never an issue, as shared access worked fine when the database was in Access 97 - the problem has only been since converting to Access 2000. I do not have access to the PC of User 2, and User 2 does not have any PC knowledge to install a FE, which means I would need to create an install package (which I'd rather not do). Are there any ways to resolve the shared access issue without changing to FE/BE?
View 2 Replies
View Related
Aug 8, 2012
I am having trouble relinking tables in my Front End database to my Back End database. My BE DB is on a network share and when I try using the link table manager to navigate to the correct folder I get an error message upon entering the network share folder that says:
The Microsoft Access database engine cannot open or write to the file "etworkfolder" It is already opened exclusively by another user, or you need permission to view and write its data.
I have permission to the folder and have ensured that this folder is a trusted location path.
View 2 Replies
View Related
Jul 10, 2015
Currently I have an Access dB that was developed in A2003 but we are currently using A2010, it is accessed by multiple users that all have a frontend locally on there own networked PC's, with the backends etc on an old NT server, we are having problems with new technology accessing the NT server so it's well past time we got shut of it
We have a share on our network that has been made available to us to migrate all our NT server files to, Here's my problem, on testing the procedure I copied the database backend and .mdw file over to the share then tried to open the dB where upon i got the following error message
Cannot open microsoft Access database information file
On further investigation it seems that both the back end and the .mdw file have copied over with no content i.e filesize is 0kB, not only that the originals also seem to have had there content "deleted" a simple copy shouldn't have done this (I did have a backup btw)
View 2 Replies
View Related