Advertisement

04.11.2008 at 04:12AM PDT, ID: 23314668
[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.9

Getting specific row value from combo box

Asked by JGJacobs in Access Forms, Databases Miscellaneous, VB Database Programming

Tags: , , ,

I need to get the value of a specific row from a combo box to be inserted in the following query. The value is for Expr6. I've tried this

"Forms!Booking_EventDetails![LastofBooking ID]!Row(0)"

but it doesn't work. The combo box row source is a query that returns the last value of Booking ID from a table so it only has one record. I want that last value to be inserted as expr6. I can't use the Last([Booking ID]) function as an error returns saying that I cannot use an aggregate function in a query. What should I do?Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
INSERT INTO Event ( [Event Name], [Event Start Date], [Event End Date], [Guests/Participants], [Event Type ID], [Booking ID], [Consultant ID], [Venue Required] )
SELECT Forms!Booking_EventDetails![Event Name] AS Expr1, 
Forms!Booking_ShowAvailableConsultantsPrompt![Event Start Date] AS Expr2,
Forms!Booking_ShowAvailableConsultantsPrompt![Event End Date] AS Expr3, 
Forms!Booking_EventDetails![Number of Guests/Participants] AS Expr4,
Forms!Booking_EventDetails![Event Type ID] AS Expr5, 
Forms!Booking_EventDetails![LastofBooking ID]!Row(0) AS Expr6, 
Forms!Booking_ShowAvailableConsultants![Consultant ID] AS Expr7, 
Forms!Booking_EventDetails![Venue Required] AS Expr8;
 
Loading Advertisement...
 
[+][-]04.11.2008 at 04:17AM PDT, ID: 21333050

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.

 
[+][-]04.11.2008 at 04:23AM PDT, ID: 21333089

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.

 
[+][-]04.11.2008 at 04:29AM PDT, ID: 21333128

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.

 
[+][-]04.11.2008 at 04:34AM PDT, ID: 21333154

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.

 
[+][-]04.11.2008 at 04:39AM PDT, ID: 21333176

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.

 
[+][-]04.11.2008 at 04:40AM PDT, ID: 21333185

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.

 
[+][-]04.11.2008 at 04:45AM PDT, ID: 21333208

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.

 
[+][-]04.11.2008 at 05:49AM PDT, ID: 21333678

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: Access Forms, Databases Miscellaneous, VB Database Programming
Tags: Microsoft, Access, 2000, VBA
Sign Up Now!
Solution Provided By: aiklamha
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628