Senin, 26 Maret 2018

Re: [MS_AccessPros] Querying From a Form Parameter

 

Greg,

Again, you should be including the previous replies in the thread so we know the issue(s).


What is your control source of the control that is displaying ?NAME? What is the Name of the control?


You should only store the product description in one field in one table. You can always display the description using the Column() property of the combo box.


However if you feel you have a need to maintain more than one copy of the description you can use the after update event of the combo box used to select the Product_No like:


Me.[Name of your Product Description Control] = Me.[Name of your Product No Control].Column(x)


x is the column number from the Row Source of the combo box. Column numbers begin with 0.


Duane Hookom




From: MS_Access_Professionals@yahoogroups.com <MS_Access_Professionals@yahoogroups.com> on behalf of xenon.blue@yahoo.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com>
Sent: Monday, March 26, 2018 2:03 PM
To: MS_Access_Professionals@yahoogroups.com
Subject: Re: [MS_AccessPros] Querying From a Form Parameter
 


Hi Duane,
My apologies for not being clear on the threads.
I have a form based on the Samples Table which uses a lookup query for the Prod_No. This Prod_No is used to query the Product Description and return the Product Description to a field in the same open form.

The idea is that when a Product_No is selected, a field on the form will automatically update the Product Description on the same form. It looks like it should work but returns a ?NAME value.

Greg


__._,_.___

Posted by: Duane Hookom <duanehookom@hotmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (8)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar