Advertisement

03.30.2003 at 02:30PM PST, ID: 20568155
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.6

Need help in coding a simple 4 button program connected to a DB using a Class Module.

Asked by SunshineNShadow in Visual Basic Programming

I was given a simple 4 button application that I am to break down and duplicate.  Unfortunately the data that is to be pulled for the application is connected to a MS Access Database for its information.  

The 4 buttons include "Open Database", "Test Delete", "Test Insert" and "Test Update".

The database I have completed and its fields are PartNumber, Quantity In Stock, Cost and Sales Price.

So far, that sounds fairly simple.  

Here is the sticky part, all or most of the coding for the applications buttons is supposed to be done through a Class Module.

I have to create the code for the "OpenDB" method which accepts one argument, the file name of the Database to open.  

For the "Insert" button, I have to create 4 arguments which are all the fields of the database.

For the "Update" button, it should accept all the arguments that the "Insert" button has and update all the fields.

Finally, the "Delete" button deletes all records on the bases of the part number only.

The biggest problem I see with this is the fact that on the original application, I see underlined letters that are used as Ctrl shortcut keys and I'm not sure how those can be used since they are not menus, but cmdButtons.  I have worked with coding these types of programs in the past, but not using "Class Modules" and connecting these to one.  The other problem is that the program doesn't produce any visible output, therefore I can't see what is happening behind the scenes.

I apologize if this sounds extremely stupid, but being a nooby at this, I'm really at a loss with Class Modules and have no other help on this.

Any help would be greatly appreciated
Thanks
SunshineStart Free Trial
[+][-]03.30.2003 at 02:36PM PST, ID: 8235276

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.31.2003 at 06:08PM PST, ID: 8242644

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.31.2003 at 09:42PM PST, ID: 8243390

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.01.2003 at 04:04AM PST, ID: 8245089

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.03.2003 at 08:34AM PST, ID: 8262705

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.03.2003 at 11:37AM PST, ID: 8263895

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.03.2003 at 12:06PM PST, ID: 8264118

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.03.2003 at 12:29PM PST, ID: 8264305

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.03.2003 at 12:33PM PST, ID: 8264339

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.03.2003 at 12:53PM PST, ID: 8264493

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.03.2003 at 04:07PM PST, ID: 8265841

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.03.2003 at 04:14PM PST, ID: 8265868

View this solution now by starting your 14-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Visual Basic Programming
Sign Up Now!
Solution Provided By: rawinnlnx9
Participating Experts: 4
Solution Grade: A
 
 
[+][-]05.15.2003 at 02:57AM PDT, ID: 8531300

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.26.2003 at 06:23PM PDT, ID: 9440547

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-43