Visual Basic - BindingNavigator is imploding my studio

You can try change the .Update to .Save maybe but most of this should be handled fine.
No such function exists for BindingSource... Checked just now.

Although I have some comedy to tell you... As a final resort, I went to the example from the book's project to see if they maybe did things differently to what I did. Maybe their "Save" button works, I thought...

**** NO LMAO
The Navigator can flick through the pages like mine, but **** all else, the button also fires its event but saves no changes or any deletions, etc to the DB. HAS THE EXACT SAME CODE I DO FOR THE SAVE BUTTON...

I give up at this point...
 
No such function exists for BindingSource... Checked just now.

Although I have some comedy to tell you... As a final resort, I went to the example from the book's project to see if they maybe did things differently to what I did. Maybe their "Save" button works, I thought...

**** NO LMAO
The Navigator can flick through the pages like mine, but **** all else, the button also fires its event but saves no changes or any deletions, etc to the DB. HAS THE EXACT SAME CODE I DO FOR THE SAVE BUTTON...

I give up at this point...
AcceptChanges.
 
Well at least you’ve learnt why nobody uses those standard navigators. Or access.
 
Well at least you’ve learnt why nobody uses those standard navigators. Or access.
Yeah, if it depended on me, I wouldn't use those ****ing navigators... But the assignment wants it...
1720165896735.png

At this point, I just want to get to the solution doc we have to do (essentially an explainer of what we did), and just say the navigator didn't work properly... Screw it.

P.S. Access databases aren't bad, they're databases, what else could you say?
 
Yeah, if it depended on me, I wouldn't use those ****ing navigators... But the assignment wants it...
View attachment 1735741

At this point, I just want to get to the solution doc we have to do (essentially an explainer of what we did), and just say the navigator didn't work properly... Screw it.

P.S. Access databases aren't bad, they're databases, what else could you say?
They are fine for small things...... but like excel, it's never a small thing.

Been there, done that, got a wardrobe of T-Shirts..
 
They are fine for small things...... but like excel, it's never a small thing.

Been there, done that, got a wardrobe of T-Shirts..
I've used Access databases before for a desktop app I made for someone. And it wasn't a hassle...

But these ****ing navigators...
 
Nope... Doesn't exist...
I downloaded your solution, it does exist.

Me.GradesDataSet.AcceptChanges()

Either way your project doesn't compile as its missing files MyProject.resx for one.

Try add the missing files to the repo and iill take a look when I have a gap, haven't touched vb or this type of data access in well, 15+ years.
 
Yeah, if it depended on me, I wouldn't use those ****ing navigators... But the assignment wants it...
View attachment 1735741

At this point, I just want to get to the solution doc we have to do (essentially an explainer of what we did), and just say the navigator didn't work properly... Screw it.

P.S. Access databases aren't bad, they're databases, what else could you say?
As with most coursework, useful for learning concepts but in reality you are not going to use much of this.
Haven’t used access in many years but it had a tendency to corrupt regularly. Maybe that has changed.
 
As with most coursework, useful for learning concepts but in reality you are not going to use much of this.
Haven’t used access in many years but it had a tendency to corrupt regularly. Maybe that has changed.
I wrote a car rental system in my early teens for a company using an access db, they loaded their entire fleet. That thing used to corrupt if you just looked at it.
 
I wrote a car rental system in my early teens for a company using an access db, they loaded their entire fleet. That thing used to corrupt if you just looked at it.
That's odd... I wrote a pointkeeping program for someone a few years ago using Access DBs and Delphi, and they never corrupted...
 
@semaphore Did the AcceptChanges thing, still total comedy. It specifically gives an error for the final Exam text box. Then when I reload the program, it's back to square one, with nothing saved. Thanks anyway.

I'm just gonna put a solution doc together, and hope for the best.
 
That really is odd, I simply dragged and dropped the entire directory on GitHub...

Oh wait, I see... Didn't copy it correctly, I see it is missing, should've just gone with Git Bash...
Add the file and let me check.
 
Top
Sign up to the MyBroadband newsletter
X