473,387 Members | 1,495 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.

Row data transfer between tables using a form interface

Hi Everyone!

I have, essentially, two table structures in the same ms access
database file. Both are of the parent-child format, one parent table
with personal details, then multiple child tables keeping specific
information, all child tables being linked to the parent in a 1-to-1
relationship on primary key value.

I have 2 structures like this. One for "Applicants", one for
"Members".

I need to create a way, such that, when a user views a certain
Applicant on a single form with all the parent and child information
presented on the one form, they can then hit a button and transfer
that single person to the "Members" table structure.

Essentially, I need to insert a copy of all the information for that
single person being viewed on the form into the Members table
structure, then delete that person from the Applicants table
structure.

But I can't figure out how to do it! I'm not sure how to reference
ONLY the pesonal information being viewed in the form at that time in
SQL using first and insert statement, then a delete statement.

Help!

Thanks very much for your help!

A
Nov 13 '05 #1
1 4000
An easy way to do what you want is to create a new table called TblStatus that
looks like:
TblStatus
StatusID
Status

The table would contain two records:
1 Applicant
2 Member

Then add a StatusID field to your current members table and delete your
applicants table. Add a bound combobox for StatusID on your member form and
delete your applicant form. Enter everyone in your one form marking the status
appropriately. When you want to delete applicants who never became members, use
a delete query based on your one table with 1 in the StatusID field.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"DataB" <ab******@hotmail.com> wrote in message
news:6c**************************@posting.google.c om...
Hi Everyone!

I have, essentially, two table structures in the same ms access
database file. Both are of the parent-child format, one parent table
with personal details, then multiple child tables keeping specific
information, all child tables being linked to the parent in a 1-to-1
relationship on primary key value.

I have 2 structures like this. One for "Applicants", one for
"Members".

I need to create a way, such that, when a user views a certain
Applicant on a single form with all the parent and child information
presented on the one form, they can then hit a button and transfer
that single person to the "Members" table structure.

Essentially, I need to insert a copy of all the information for that
single person being viewed on the form into the Members table
structure, then delete that person from the Applicants table
structure.

But I can't figure out how to do it! I'm not sure how to reference
ONLY the pesonal information being viewed in the form at that time in
SQL using first and insert statement, then a delete statement.

Help!

Thanks very much for your help!

A

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Pete..... | last post by:
Hi all. I have made a webpage where there is a webform where people can fill in their personel information: The code is below: I want to transfer the data to a postgreSQL database ( I have...
4
by: Edward | last post by:
Access 2k -> SQL Server 2k My client has an app that is A2k FE with A2k BE. They have asked me to move the BE to SQL Server. I have a bit of experience with SQL Server, and I'm happy with...
7
by: Dave | last post by:
We are trying to migrate a MS SQL server app to DB2 8.1 Linux platform. Our database has got about 300+tables with total size - 150 GB We are using MS SQL's BCP utility to extract data from...
4
by: Maria | last post by:
One of my duties is to record student grades each report period(6). The tables in the database basically look like: TblStudent StudentID Name etc TblStudentGrade StudentGradeID GradePeriod
2
by: Fatih BOY | last post by:
Hi, I want to send a report from a windows application to a web page like 'report.asp' Currently i can send it via post method with a context like local=En&Username=fatih&UserId=45&Firm=none...
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...
10
by: Doug Bell | last post by:
Hi, I have an application that has a "Data Access Class" and "User Interface Class". It is for receiving Purchase Order data from one system and pushing processed transactions to another...
6
by: Senthil | last post by:
Hi All We are having a VB application on SQL. But we need to collect information from persons who will be offline to verify data and insert new data. Generally they will be entering the data in...
12
by: joaotsetsemoita | last post by:
Hello everyone, im completly new to vb.net and I was assigned to do a simple piece of software that just had to select from um db in a MS access data base and insert into a SQL server Database....
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: 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?
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:
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.