473,396 Members | 2,061 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,396 software developers and data experts.

HELP in vb6 connectiion in datagrid(table1) to another table(table2) in access?

26
i have created 2 tables name table1 and table2 with the same fieldnames in subjectnumber(sub-0001), subjectname(english1) but in my table2 i added studentnumber(s-0001) and studentname(paul)

im using dataenvironment in connecting my (table1) ms access 2007 database in a datagrid but my problem is how to save and add all information bind(table1) in datagrid into another database table2 in my ms access, i want to connect what is inside my datagrid (table1) and add to (table2)

i mean using dataenvironment i bind table1 to a datagrid1(table1) so i want all information bind in datagrid1 to add and save into table2 database in just 1 commandbutton click in vb6.

I have 2 forms in vb6, form1 only the subjectsnum & name connect into a datagrid. however, in form2 it is the same but i added the studentnum and name textboxes but the subjects likewise are in a datagrid connect in dataenvironment. i want to save all information in the datagrid as well as the student number/name in the textbixes in just 1 command button, click SAVE, in vb6..

hope you understand my problem and FOR FREE...

thanks in advance....GOD bless...


Below i attach my form2 problem. saving all information in a datagrid in just a single commandbutton click and it will automatically save all inside the datagrid.
and also the studentnum and name will also save.
Attached Images
File Type: jpg sub4.jpg (19.8 KB, 3101 views)
Oct 19 '09 #1
1 4246
Dököll
2,364 Expert 2GB
Greetings, psyvanz!

I would add all of the code you have thus far; most developers are usually just passing through. You'll get better, sound results that way:-)

Good luck with the project!

Dököll
Nov 9 '09 #2

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

Similar topics

3
by: Danny | last post by:
I have code to allow the user to select any .mdb of his choice on the HD, but how do I then let him select a table from within this .mdb and then create a destination table of a name that I assign...
3
by: Alex Linthicum | last post by:
Hi, I've created two access Apps. App A calls App B to perform some lengthy and computational processes. Currently I'm using the acSysCmdSetStatus cmd to update the status of App B, and I'm...
6
by: rigamonk | last post by:
Thanks for the help on my last question...no another one.... im using rsa encryption in my vb.net app, and i want to store a encrypted value in a access db field. i have the field set to memo, but...
2
by: rajaaryan44 | last post by:
how can we transfer data from one access database to another databse . the table name is same for both the database . in one table some records are there (rs say e.g.) now another table has say rs+10...
7
by: narpet | last post by:
Okay... here's another query that I need to write that I just can't seem to figure out. first the table layout (table name TEST): ID# PreID# PostID# Dollars 1 2 1...
2
by: harini | last post by:
i hv a datagrid to which i hv bound a table...i hv the table columns to be editable...i.e read only = false....now i hv a problem...in the table there seems to be a row at the end having no values...
3
by: tkba | last post by:
I have 2 databases DB#1 abd DB#2. I have TableA in DB#1 which needs to be copied in DB#2 but while doing this I need to change the field#1 which is currently of data type text. Steps taken: 1....
1
by: blademike | last post by:
Hi guys, I'm new to Access & SQL. Currently using Access 2007. What I have: 1) Table: Employee( empID, empName, email, pwd, ... ) 2) Form: - Record source ( SELECT empName, email, pwd FROM...
3
by: fabdulla | last post by:
I have a tabel A in access database A and i would like to copy tabel A into access database B. But when ever tabel A updates I want tabel B to update as well. If anyone know who to do this please...
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:
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
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...
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,...

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.