472,805 Members | 1,613 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,805 software developers and data experts.

Change records in ms Access based on Excel spreasheet?

26
Hi All,

I am using MS Access 2007.

I have a database for Quoting system for a Printing Company , where the user generate Quotes and all confirmed Quotes turn into a job.

Akin to that, i have a table for JobQuote and PrintJob. the problem i have is, whenever the JobQuote turns out as a PrintJob, it must check for availability of Stock corresponding to the input entered in the PrintJOB fields. All Stock information are stored in Excel Spreasheet.

say for example, a particular JobQuote to be done, it needs 400 papers. i want to check in the Stock Sheet for availability of papers. if i have 1000 papers, then when i turn that JobQuote into a PrintJob, it should update the Remaining Paper Stock as 600.

At the same time, when i have inadequote stock, it should prompt the user when the Quote is turned into Job.

Could anyone tell me how to head on with this?
thanks and regards,
Asle
Oct 9 '07 #1
3 1420
nico5038
3,080 Expert 2GB
Your problem is a traditional stock keeping issue.
Personally I "solve" this by having per stockitem (E.g. Blue A4 paper) a "LastCountedStockQuantity".
Besides this I record the delivered supplies and the accepted orders.
Before accepting a new order I count the LastCountedStockQuantity, subtract the accepted orders and add the supplies. This gives me the number available and that's compared with the Qty of the QuoteJob to allow for "upgrading" to PrintJob.

The real benefit is the fact that changing a Printjob quantity can be tested with the same mechanism and doesn't require stock ajustments.
Once a year (or as required) you can hold a stockcount with the calculated stockquantity as the "should be" value and correct the administrative quantity with the real quantity and thus check on "leakage" or administrative errors.

Getting the odea ?

Nic;o)
Oct 9 '07 #2
Asle
26
Your problem is a traditional stock keeping issue.
Personally I "solve" this by having per stockitem (E.g. Blue A4 paper) a "LastCountedStockQuantity".
Besides this I record the delivered supplies and the accepted orders.
Before accepting a new order I count the LastCountedStockQuantity, subtract the accepted orders and add the supplies. This gives me the number available and that's compared with the Qty of the QuoteJob to allow for "upgrading" to PrintJob.

The real benefit is the fact that changing a Printjob quantity can be tested with the same mechanism and doesn't require stock ajustments.
Once a year (or as required) you can hold a stockcount with the calculated stockquantity as the "should be" value and correct the administrative quantity with the real quantity and thus check on "leakage" or administrative errors.

Getting the odea ?

Nic;o)
Thanks for ur reply Nic...

I need to make stock adjustments often , so that when the stock runs out, i have 2 order more stock. when the stocks received from the supplier, i should enter in the Stock Spreadhseet. say, A4 paper is '0' and if i receive 500 papers, then Stock for A4 in excel sheet is 500.

the problem lying here is, i dunno how to check the excel sheet from ms access for the availability of stock...

as of now, i can enter the client info, Quote info and update the confirmed Quotes into Job..

i dunno how to check for availbility of stock in EXCEL sheet from Access... i know it could be done in VBA but is there any article available regarding this?


thanks n regards,
Asle
Oct 10 '07 #3
nico5038
3,080 Expert 2GB
When the excelsheet is in "data format" having fieldnames in row 1 and data in columns below, you can link the excelsheet as a table.
Just open a new table and select the "Link" option.
Next change on the Fileform the Filetype into MS Excel and navigate to your excel sheet.
Now you can access the data using queries.

Clear ?

Nic;o)
Oct 10 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Hugh McLaughlin | last post by:
Hello everyone and thanks for your help in advance. This is somewhat of a continuation of a thread that I posted about one week ago. the heart of the project requires using ADO.Net to extract...
0
by: Luis | last post by:
Hi group I've got a database and on one of its tables I keep 2 excel templates. For each record of a main table, I want the users to fulfill this 2 templates. The main menu looks something...
1
by: Jaime Leivers | last post by:
Here's a median function in access that you can call in any query. You could change this to any excel function you wanted. Most people can find the windows help file that says how to call an excel...
12
by: JHNielson | last post by:
I have an Access database I am importing records into from an Excel file. I currently have set it up by creating a linked table to the Excel sheet. But I am not sure that is the best way to do what...
2
by: JHNielson | last post by:
I posted this in the Access forum, but I think the answer may be a VBA script, so I thought I would also post this here... I have an Access database I am importing records into from an Excel...
2
by: ontherun | last post by:
Hi, Could anyone please assist me on how to import Excel records to Access. the records in excel are not in the same order as that of the one in Access. there are about 1000 records needs to be...
4
by: laurasesma18 | last post by:
I've got a convertion tool with Access 2003. It imports an excel sheet into the data base and with the records in it creats different outputfiles. Its programmed with VBA. Now what I need is, in...
0
by: cht13er | last post by:
Good day all, I'm a newish VBA coder who was taught from Google Groups - so thanks to you all very much! I have run into a minor problem, I hope you can give me some help ... I'm running office...
3
by: khoward | last post by:
Hi, I have an Access 2007 database that contains customer contact information. There are over 8,000 that include name, organization (as a look-up column), email, phone, address, and events that...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.