473,396 Members | 1,924 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.

question on copying records between 2 datagrids

TM
I have two datagrids in my application where one grid is for the master item
list and the second grid is for a shopping list.

I would like to click on a button and copy items from the master list to the
shopping list. Both are tied to tables in the same access mdb file.

How can I copy a record from one to the other ?

Is there some where that I can find out how to work with the records in the
data grids, such as saving them back to the database files, adding/deleting
records and such ?

Thanks
--
Tony

Nov 20 '05 #1
3 1011
Cor
Hi TM

In the DataAccess tab for window forms and in the webdebelopment part for a
webform are samples
Build a Master Detail Window/Webform

http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

I hope this helps a little bit?

Cor
"
Nov 20 '05 #2
TM
I found it/ and will check it out right away.

Thanks

--
Tony

"Cor" <no*@non.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi TM

In the DataAccess tab for window forms and in the webdebelopment part for a webform are samples
Build a Master Detail Window/Webform

http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

I hope this helps a little bit?

Cor
"

Nov 20 '05 #3
TM
Although the samples are very interesting, they do not really apply to my
situation.

The two tables in my database are not tied together or have any
relationships.

I just want to basically build a shopping list from my master items list.
Then I want to print the shopping list by pasting the data into an excel
sheet where I have the needed formatting and page layout.

I want to save the shopping list because it is very possible to start
building the list and come back to it at a later time.

I just want to take the master list, click on a button to add that item to
the shopping list, then go on till the shopping list is completed. Of
course I have to be able to maintain both lists by adding and removing
items. I will also need the ability to completely clear the shopping list
so when I start a new trip, I can start with a clean slate.
I hope this clears things up a little.

--
Tony

"Cor" <no*@non.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi TM

In the DataAccess tab for window forms and in the webdebelopment part for a webform are samples
Build a Master Detail Window/Webform

http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

I hope this helps a little bit?

Cor
"

Nov 20 '05 #4

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

Similar topics

2
by: Hmmm... | last post by:
I have 2 forms, each using a DataGrid. The DataGrids are each bound to their own MS ADO Data Control (SP4) - MSADOCD.OCX. For some reason, one of the DataGrids shows horizontal scrollbars when the...
7
by: Danny J. Lesandrini | last post by:
I know this has been discussed before, as I've seen the Google posts, but they all leave me with an unanswered question: Does my DAO code executed in the front end cause the back end to bloat?...
1
by: Temp | last post by:
Can anyone tell me how I can create a new DataSet from a single column of an existing DataSet? For example, I have a DataSet containing 1000 records with 4 columns per record. Any idea how I can...
5
by: Nathan Sokalski | last post by:
I am writing an ASP.NET application in which I need to copy DataRows from one DataTable to another. When I use code such as the following: temprows = nodes.Select("state='PA'")...
35
by: Stan Sainte-Rose | last post by:
Hi, What is the better way to save image into a database ? Just save the path into a field or save the image itself ? I have 20 000 images (~ 10/12 Ko per image ) to save. Stan
2
by: HS1 | last post by:
Hello all I followed the example in Visual Studio.net to create a master and detail relationship as following: two tables: Customers and Orders two DataGrid: GridOrders and GridDetails...
6
by: Chris | last post by:
Hi all, I've recently discovered the joys of tag :) I have a ListView which is populated with strings from a List<>, and each ListView item is linked to the relevant object in List<> using Tag....
0
by: kolalakitty | last post by:
Hopefully someone here can help me/point me in the right direction. I've found tons of references towards making relations, creating rows, saving said rows, using datagrids, databinding objects,...
15
by: Andrew Meador | last post by:
I am working on an application that will store data in SQL Server 2005 Express. The database will reside on our server at the office. I need to write an application that can work with this data off...
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:
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?
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.