954,514 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Blank Record & Open Form From Datagrid

I have two issues;

If I create a new datatable and use a datagrid on my form, when I run the application there is this new, blank record already there. If I try to enter anything in it, it won't save. I have to actually click to create a new record (which I can edit and save), but this blank record is still there. The same is true if I use discrete controls bound to the datatable.

Any ideas on why this is happening, and how to make it stop?

Also, if I have two forms, one with a datagrid and the other with discrete controls (details), bound to the same database, how can I click on a record in the grid view and have it open the detail form with the clicked record displaying? I can get the details form to open, but not with the selected record displaying.

Toulinwoek
Posting Whiz in Training
274 posts since Mar 2005
Reputation Points: 10
Solved Threads: 2
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You