Advertisement

11.19.2007 at 03:42AM PST, ID: 22969801
[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!

5.8

Assigning Variable to autonumbwer

Asked by connelvalentine in Microsoft Access Database, Access Forms

Tags: , , ,

Hi,

I'm creating a small program, and i'm using access 2003 as the front end. It's linked to tables to a local SQL 2005 server instance that i have installed on my laptop.

I've created a form which i've set the source to a table. Whenever i insert a new record, i save the record by just closing the form, since Access auto saves records. So basically a "save" command button with a DOCMD.close command on click of that saves the record fine.

However, i want to know what command i can use so that the record is saved WITHOUT closing the form. The reason behind doing this is because, i've set the primary key of this table as an IDENTITY type in the table. Therefore, when the record saves, i want to know what autonumber is being generated by the database. My aim is to assign a variable to the primary key that gets generated AFTER the record is inserted, but i've had no luck so far.

Any help is appreciated. Thanks.

Best Regards,
CV.Start Free Trial
[+][-]11.19.2007 at 03:44AM PST, ID: 20311610

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.19.2007 at 03:46AM PST, ID: 20311622

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.19.2007 at 03:57AM PST, ID: 20311658

View this solution now by starting your 7-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

Zones: Microsoft Access Database, Access Forms
Tags: access, new, record, assign
Sign Up Now!
Solution Provided By: Badotz
Participating Experts: 3
Solution Grade: C
 
 
[+][-]11.19.2007 at 04:21AM PST, ID: 20311770

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.19.2007 at 04:30AM PST, ID: 20311813

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.19.2007 at 04:31AM PST, ID: 20311820

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.19.2007 at 05:00AM PST, ID: 20312022

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.19.2007 at 05:14AM PST, ID: 20312090

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.19.2007 at 09:29AM PST, ID: 20313834

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.19.2007 at 12:35PM PST, ID: 20315215

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628