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

How to import data from a form into another table?

I created a form (Base_Data_Form) that updates a table (BaseDataTbl) and I created a combo box to populate the account number from a different table (0004_All_Accounts) when the account number is selected.

The account number goes in the form and the table when selected from the combo box with no problem. There are about 10 other fields in table 0004_All_Accountsthat I would like updated in the Base_Data_Form and BaseDataTbl when the account number is selected. I can make the data appear in the form, but I can't get it to go to the table. I have tried using various events (Before Update, After Update, On Enter, On Exit, etc.), but I get an error message...

*** The expression on enter you entered as the event property setting produced the following error: The object doesn't contain the automation object*** every time.

I'm not against using Visual Basic, but I don't know it well enough to get through it on my own. I see where people use Me. in VB, but I have no idea what that means. This is not my first database, but it's the first DB I've created in several years so I'm a bit rusty and I would appreciate any help.

Thanks
Jan 18 '11 #1
1 2075
pod
298 100+
my best suggestion to you is to check out the design of a form that works.

download the northwind sample database
and copy what you need from it
http://www.microsoft.com/downloads/e...displaylang=en
Jan 18 '11 #2

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

Similar topics

0
by: Chris Nighswonger | last post by:
------=_NextPart_000_0013_01C352C0.6B0A6E30 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, Is it possible in MySQL to use UPDATE to update...
3
by: steve | last post by:
Hello, I am trying to take all the data from one table and transfer it to another table with exactly the same column names in the same database. I have done this with a small sql script in an...
1
by: Nick J | last post by:
Hi, I have a command button, when I press it I would like it to find the record I have specified in a text box on the current form and to pull fields such as Address 1 and Address 2 from another...
3
by: colleen1980 | last post by:
Hi: Can any one please help me when user select 2 dates from DDLDate1 10/09/2006 and DDLDate2 10/12/06 and the name and it close the form. I need to create multiple records in the another table on...
4
by: paulcrowsnest | last post by:
Hi everyone This is probably really simple, but it has me stumped. I have a form which gets its data from a table called "Dentistry", this table is linked to another table called...
2
parshupooja
by: parshupooja | last post by:
Hi, I have table which has 2 columns username password i want to insert username values from by copying data from another table whereas password shd be randomly generated Thank You
2
by: cynderborg | last post by:
My database is a tool to write an extensive report. I need the ability to pull a canned response from one table into another table if the user wants to adopt the text. I have the form opened that...
0
by: acesfull | last post by:
Hi, I am trying to do something in SQL that I have done in PHP, but I am trying to have the operation performed as a stored procedure because of the sheer number of inserts I have to perform in PHP. ...
2
by: thread | last post by:
Hi All i'm building a database in access and i want to restrict permissions. from the access i can just limit the posiblity to unhide an hidden table and in this way i can preventing the users...
2
by: Bill07 | last post by:
Hi, I'd like to import data from one table to another in MS Access using VB. Both tables have equal or same primary key. I need to match unique field's value and then update record in the second...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.