473,405 Members | 2,379 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Configuring my form

Hi guys I have a database that takes orders and prints an invoice & Work Order
Each customer has there own price list which is in the customer table.
I have put the raw source for In your AddOderDetailsSubform the Rowsource for the Products combo is like so:

SELECT DISTINCTROW Products.ProductID, Price.Price
FROM Products INNER JOIN Price ON Products.ProductID = Price.ProductID
WHERE (((Price.CustomerID)=[Forms]![Add an Order and details]![CustomerID]))
ORDER BY Products.ProductName;

This should list the products for the Customer selected for the Order.
In the After Update event of that control put

Me.Price = Me.ProductID.Column(2)

What happens is the add new order form is not working.
When accessed the db brings up search criteria for several fields.
It doesnt bring up my product

Thanks
Mark
Mar 26 '07 #1
1 1099
nico5038
3,080 Expert 2GB
Did you try:
Me.Price = Me.ProductID.Column(1)
The columns are "zero based"

Nic;o)
Mar 27 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Ed Stevens | last post by:
A tale of woe, and a question . . . Last week my boss said to me "we've installed DB2 Connect on this Solaris box. Make it work." Now, I've barely seen DB2 Connect on Windows, having fumbled...
1
by: Brice | last post by:
Hello, Hope this doesn't sound like an odd question: I'd like to learn some more DB2, and would like any suggestions others might have in configuring a laptop for this. I plan to load either...
2
by: Ammar | last post by:
hi all... it is me again asking silly questions lol i am trying to access SQL database through ASP.NET, and i am having some troubles i just installed MSDE 2000 and you can safely say that i dont...
1
by: Ron Weldy | last post by:
So far, every book I have looks at on ASP.NET jumps right into creating a project. There is no discussion about setting up the environment, using a local IIS install (I think it can all be ran on...
1
by: pmclinn | last post by:
I finally got dedicated hosting for my website. Does anyone have links to configuring IIS properly?
3
by: nuwanda | last post by:
I wonder if anybody could help me with configuring my web app. First of all: where to put config files. I've generated web.config and dataconfiguration.config. I'be tried to put them to root...
5
pbmods
by: pbmods | last post by:
Configuring PHP 5.2.3 with GD support for Mac OS X PHP 5.2.3 does not seem to want to configure with GD support on Mac OS X for some reason. When configuring, you may notice this error: ...
1
by: rada.lambretha | last post by:
Configuring Linux as a Firewall * Making installation choices * Introducing iptables * Using iptables commands * Simplifying things with firewall GUIs * Adding proxy functionality As...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.