Solved

MSACCESS 2007 and QBF

Posted on 2010-09-15
2
893 Views
Last Modified: 2012-05-10
I've set up a form, QBF form,  which I base user inquiries from.  In this form I have two fields, orders and lastname.  orders is a textbox and when it is filled in with an order number a macro is called that displays a "results" form,  which is based on a query and subquery.  The Query selects the data by using the input form the original QBF form. This all works just fine.  The 2nd field is a combo box, a bit more tricky apparently,  the combo field is populated by an underlying query into a table in the database.  The item that a user selects is found by using Combo13 or whatever name you give the box .value.  So, I set up the underlying query to refer to the selected value as combo13.value.  However, when I run the form I receive a prompt from the query for combo13.value.  I know that combo13.value has the selected last name at the "before update" event. I displayed, via a msgbox, combo13.value and it contained the value that was selected.  Where am I going wrong? Oh, by the way, I'm using MS/Access 2007
0
Comment
Question by:rhgi
2 Comments
 
LVL 28

Accepted Solution

by:
omgang earned 500 total points
Comment Utility
In the query you need to refer to the fully qualified form control.
[Forms]![TheNameOfTheForm]![Combo13]

Post the SQL of you query
OM Gang
0
 

Author Closing Comment

by:rhgi
Comment Utility
I forgot the [Forms] part of the qualification.  Thanks for prompting me!
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now