473,402 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Help with Access Database and Excel

TRP Model.zip
Quote_Example.zip
I was wondering if someone can do this for me or tell me how to do it. I have tried for a week to make this work and im not sure what to do next. I need to have the model complete by this friday and have had no luck. This is what i need.
Okay so i have an excel sheet and database that is attached. There are some fields in excel that i wish to be added to the database table "quotes". They are:
Company
Location
AM Phone
Am Name
Am Email
Customer contact name
customer email
customer phone
date


Then i want to take the SKU's in the excel sheet and the quantity and run them through the queries called "customer Quote". There are 6 different queries for 6 different currency exchanges. However, i do not have this set up but i was wondering if you can have a combo box set up on the TRP model form with the different currencies so that the correct query is ran. I would like to get the total credits for SKU's that were inputted and then output the values and total value back into the excel file where it is highlighted yellow. Then i would like the total value for the SKU's to be added to the "quotes" table in the correct credit field. I would like the other credit currencies to either have a blank or a zero.

So here is what i need to be short:
1. take the data in the excel file and have it uploaded into the "quotes" table.
2. Run the correcy query based on type of currency to get values of sku and a total value. Have the total value inputed into the "quotes" table and have the sku values inputed back into the excel file.
2a. Set up a combo box to have the correct query run based on currency selected.
3. Take the Total credit and Quote ID and input them into the excel file. I set up the Quote ID to be an autonumber.
4. have this whole process linked to a button on the TRP model form.

Please help me out. Im so lost here!
Thanks!
Oct 18 '10 #1
2 1288
jimatqsi
1,271 Expert 1GB
I can't open your .accdb file, maybe it's because I am using Access 2003, I'm not sure.

Have you linked the excel sheet to the database. By that, I mean
File / Get External Data / Link and choose Excel file type

If you do that you can treat the Excel sheet as a data table for input; that will help you accomplish number 1 and 2 on the list.

Jim
Oct 20 '10 #2
JIm,
Thanks for the response.
Yes it is a 2007 access file. As for linking the excel sheet i just did that, however, alot of the data in the sheet isn't in a table format and is more of a from format and therefor doesn't really mathcu up as a table. I think i need to use VBA to input/output from certain cells. I just suck at using VBA.
Oct 20 '10 #3

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

Similar topics

3
by: sridevi | last post by:
Hello How to export data from ms-access database to excel worksheet using ASP. mainly i need to export data to multiple worksheets. it is very urgent to us. i have a sample code which works...
4
by: Peter Larsson | last post by:
Hello everybody, I'm developing a system for a company that has production at two different locations. The production is stored in an Access database at each location, and I need to find a way...
0
by: Mike Knight | last post by:
(I've also posted this problem on microsoft.public.excel.programming) I have a MS Access 2003 Database named "AS400 Fields.mdb". This database contains links to tables on an AS400. In MS...
2
by: Japi | last post by:
My question is this: I have an access database with final numerical values and I'd like to link those results with an excel datasheet. I'd like to create a boton "compute" in the access document...
3
by: excyauseme | last post by:
Hi guys! Do you know what is the best way to export a text file, this one is a log file that is already comma delimited thru a module run by my access database, to an excel spreadsheet? I need to...
1
by: garry.oxnard | last post by:
Can anyone help me to solve a problem which involves switching from Access to Excel (then back to Access) programatically please? I have an Excel template which, on open, also opens an Access...
4
by: Suzette | last post by:
I have an excel file that automatically updates when opened, pulling information from an Access database into into various pivot tables. I created a macro in Access to perform various necessary...
3
by: peteh | last post by:
Hi All; I have tried to find this info on the IBM site, but alas... We are running DB2 v9.1.1 and making extensive use of Information Integrator (now known as Websphere Federation Server?!) to...
0
by: satenova | last post by:
Hello Friends, I am newbie when it comes to vb.net and i need to import excel sheet into access db using vb.net application. Here is the code i use for now to upload excel sheet and it works...
4
by: Paradigm | last post by:
Hi, I am a newbie at VBA and have managed to piece together a project using snipits of codes from books and the internet. The project involves using an access database to populate an excel...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.