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

How to update the datagrid in vb 6 using command buttons

Good day!

I'm having a problem with my program with the use of datagrid. Here's the scenario after adding a new record I want the data from my database will be also display in datagrid. Is there any sample code that I must use? I want to use the previous, next, delete, & add in the program that after pressing those command buttons the datagrid will be also updated.
Nov 22 '10 #1
5 5236
Is there anyone who can help me?
Nov 22 '10 #2
smartchap
236 100+
In Google search for DataGrid in VB6 and u will get a lot of sample codes in various sites. Just attach a .mdb file with DataGrid and command buttons Add, Delete, Forward, Previous, etc will have only one or two line code each.
Nov 27 '10 #3
I'm using Data Environment command for the connection of my program to its database.
Dec 1 '10 #5
smartchap
236 100+
Can u post the .zip file of ur work and tell about exact problem?
Dec 3 '10 #6

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

Similar topics

0
by: Kevin McLean | last post by:
I have serveral ASP web pages containing command buttons that perform different functions. This web site has been running for serveral months without any problems. I had taken a vacation and when...
2
by: Chris Bolus | last post by:
I'm a teacher using MS Access on an RMConnect 2.4 network. On some workstations both I and my students sometimes get an error message when attempting to insert a command button on a form which...
1
by: bjbounce2002 | last post by:
Hello, I am using forms with command buttons to close form or run action queries. The error messages such as "Null value in required field" or "duplicate value in primary key" are suppressed....
1
by: Jay | last post by:
I need to validate 21 sets of radio buttons before submission to the server for calculation and storage. Is it best to validate on the client side using javascript or to validate on the server...
1
by: MrMike | last post by:
Hi. My application has dozens of datagrids but for some reason an exception occurs when one of them is updated. When a user edits a datagrid row and then clicks 'Update' the following exception...
3
by: atiq | last post by:
I have got serveral forms where i want to use the same command buttons for each form to navigate through records. i was wondering if there is a way of achieving this without having to create all of...
0
by: cmrhema | last post by:
Hello, I am having a problem with GRIDVIEW IN C#. The following code updates only the alternate rows. When i use the edit button all the cells does get converted to textboxes thereafter when i...
3
by: jervin32189 | last post by:
Hello, I am interested in designing a program that is optimized for touch-screen systems. But I don't know how to code a command button to enter text. This is necessary for like login screens...
5
by: SummerSolstice | last post by:
Hi everyone. Sorry this may get a bit long here trying to explain but I'm working on building a database that will be used for tracking enrollments & terminations in some classes that we offer at...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.