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

How to Use a Form to read/write data in a second table?

Hello All,

This is my first try at posting a query in this forum, your patience is appreciated.
App Details:
Access 2000 on Win 2000, Slightly better than a Novice, comfortable with various acess terminologies and usages.

Problem on Hand:
I have a form A which is based on table A exclusively.
I have a form B which is based on table A and B. Within Form B, you can select, by using combo boxes, fields from table A, and the pertinent data associated with that record is displayed on the form B. Once you have data displayed, you are now entering data (still on form B) that are related to Table B. Somewhere within all this is a field called sequence number (called different in both tables). I want to be able to update the sequence number in table A while I am working on form B (this is a must). Technically the field sequence number in table A is only a placeholder because it serves very little or no purpose within Table A for that record. It is exclusively used for table B, but the darn thing is associated with table A records.

I am not sure how to code this in VB. I am not sure what commands to use within VB to update fields in a different table other than the one you are using.

Any help will be sincerely appreciated. If this writeup is confusing, I can try and illustrate with actual field names.

Thank you

Shankar Raman
Aug 2 '07 #1
2 1572
missinglinq
3,532 Expert 2GB
You have inadvertently posted your question in the Articles section rather than in the Forum section of our site, so I have moved it across for you.

Welcome to TheScripts!

Linq ;0)>
Aug 2 '07 #2
NeoPa
32,556 Expert Mod 16PB
If I understand you correctly, your solution should be found in a Form/Subform combination (The wizard should help you through this). I'm assuming a one-to-many relationship between tables A & B using the field you're referring to.
Aug 2 '07 #3

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

Similar topics

4
by: Emmett Power | last post by:
Hi, I have a small online survey in two parts designed to allow users to rank a few organisations that they have dealings with from a large list of organisations. I want the users to be able to...
3
by: Kathy | last post by:
Can someone help me with the code to take the data in four fields on an HTML form and add it to a table in a database on an intranet. Thanks to all who help! Kathy
7
by: Mark Waser | last post by:
Hi all, I'm trying to post multipart/form-data to a web page but seem to have run into a wall. I'm familiar with RFC 1867 and have done this before (with AOLServer and Tcl) but just can't seem...
4
by: Matt | last post by:
I have the following in a page and I am trying to update a record on the next page but for some reason the form data is not carrying over. Any ideas why? <form name=nxtlupdate method=post...
4
by: crystal | last post by:
I've checked the threads but haven't been able to come up with a solution to my issue. Help...... I have a simple form based on a table. Within the form is a subform that is also, through a Q,...
13
by: kev | last post by:
Hi all, I have created a database for equipments. I have a form to register the equipment meaning filling in all the particulars (ID, serial, type, location etc). I have two buttons at the end...
26
by: Jerim79 | last post by:
I need to create a form that takes a number that the user enters, and duplicates a question the number of times the user entered. For instance, if the customer enters 5 on the first page, when...
3
by: chuch | last post by:
Hi, i have created a database to store contractors invoices. I have approximately 9 tables and 3 forms. One of my forms(frmContractors) has all the contractor details and this also contains a sub...
2
doc barleycorn
by: doc barleycorn | last post by:
I am trying to have a guestbook form on one page write to a second page. The pages are .html, and I know they need to be .asp, but every script I have tried doesnt work. My hosting account is shared...
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: 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: 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...
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,...

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.