Good...but failed to trap runtime error
Hi buddy,
done well written the code to standards, but you have not trapped runtime errors.
For eg if I enter a new item in the list that has apostrophe the code is taking it and adding to the list but when i want to select that item from the list it is generating runtime error 3075 you have to trap this error and write code in it.
Also another thing you have used listview I dont think it is clever to use listview when u have MSFlexGrid control which takes less amount of memory and u can also bind it to the database. You can also make the Remove Button disabled unless and until the user selects the item from the listview then u enable the Remove button.
Thats it few minor changes.. Regarding ADO there is absolutely no props for U. if u have SQL knowledge u can cope both ADO and DAO. In realistic sense ADO is simpler than DAO.
U have written good code. U will definately get a good job.
Best of luck..
COMPLETELY AGREE WITH HESAIDJOE
I teach Intro to VB....
I have NEVER made my students use the prefix to a Variable.
Only to Controls. I Do however suggest giving the Variable a good Name.
SO WHen you see it you know what it is. But if not..then to AT LEAST Document what its for.
So Give me a Break
Dim FirstName As String
is just fine and should not have to be
Dim strFirstName as String
---Geeez!!!
-Geoff
YoungBuck....My fingers Ar Crossed!
:)
COMPLETELY AGREE WITH HESAIDJOE
I teach Intro to VB....
I have NEVER made my students use the prefix to a Variable.
Only to Controls. I Do however suggest giving the Variable a good Name.
SO WHen you see it you know what it is. But if not..then to AT LEAST Document what its for.
So Give me a Break
Dim FirstName As String
is just fine and should not have to be
Dim strFirstName as String
if you dont want it to be!
---Geeez!!!
-Geoff
YoungBuck....My fingers Ar Crossed!
:)