473,386 Members | 1,766 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,386 software developers and data experts.

Update Data in one table from another table with no matching fields

Hello friends,
I am new to Access database programming. I need your help
I have 2 tables as follows:

1. Table Name "Month" and Field Name "MonthName"
2. Table Name "Customers" and Field Name "NextPayment"

I want to Update Customes table from Month table

There is no matching field. Customers table has 1000 records and I want to update all the records.

Thanks in Advance
Feb 10 '13 #1
1 1361
zmbd
5,501 Expert Mod 4TB
Your database sounds like it is not normalized. Please take a look at the following:
A Tutorial for Access
Database Normalization and Table Structures.

You are using reserved words as table and field names... Month is the name of a function ( Month() )

Also, without related field you're asking for trouble.

Please keep in mind that out right requests for full code are against site policy and that Bytes is not a code nor homework service. Please read the FAQ and posting guidelines before re-posting your question.
Before Posting (VBA or SQL) Code.
How to ask "good" questions -- READ BEFORE SUBMITTING A QUESTION!.
POSTING_GUIDELINES: Please Read Carefully Before Posting to a Forum.
Feb 10 '13 #2

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

Similar topics

2
by: hch | last post by:
dataAdapter.Update(data, "TableName") won’t work! I was about to deploy my first website on the Internet only to discover that the dataAdapter.Update() throws the Server Error in the third...
2
by: ¹ùÑÇ·æ | last post by:
first of all ,i will thank you for reading this . :-) i am writing a programming to access SQL-SERVER. i use some codes as follows in order to update data changed in datagrid1. but i found that...
0
by: q8z | last post by:
private OleDbDataAdapter daClient; private OleDbDataAdapter daAdd; private OleDbDataAdapter daDelete; private string dataSource; private DataSet dataSet; private System.Windows.Forms.Button...
5
by: Juande | last post by:
Hello, I have a main page where the user log in to access to the data in SQL Server, the selected data by the user will be exported in a .MDB file into the server, I want that generated file...
5
by: jason | last post by:
Hi, all How can I update data (multiple rows, but not every rows) using dataset in datagrid? I mean is there any way I can let datagrid know which row(s)/column(s) has been modified and update...
1
by: chris.thompson13 | last post by:
Any relevant advice would be most appreciated for the following problem I have. I have a query that draws its data from 7 other queries. I would like to be able to edit data through that query....
6
by: shil | last post by:
Hi, I am writing a windows app in .net 2003. I have a datagrid which gets data from a storedprocedure. My question is how can I update the data in the datagrid? I want to call another...
1
by: farid25 | last post by:
update data in datagrid asp vb.net -------------------------------------------------------------------------------- Hi, all i got data base contain 3 tables t_students student_id ...
1
by: progvar | last post by:
Hi i want to update data in database using datagridview actually i am displaying the data in datagridview and after that i want to update some rows data directly modifying the displayed data into...
1
by: Rishabh Indianic | last post by:
hi, i am trying to update data stored in data base with following code i am able to show data from database but i can not able to update it. int Theme_ID = Convert.ToInt32(textBox1.Text);...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.