Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / July 2006

Tip: Looking for answers? Try searching our database.

How do i lock a product description to a part number

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dave - 08 Jul 2006 01:22 GMT
I want to be able to lock a product description to a part number, so when the
part number is entered on a form the description will be displayed automaticly
John Vinson - 08 Jul 2006 01:47 GMT
>I want to be able to lock a product description to a part number, so when the
>part number is entered on a form the description will be displayed automaticly

Where in your Tables is this information stored?

I'd suggest having a Parts table with fields PartNumber and
ProductDescription (and perhaps other fields). On your Form, put a
Combo Box based on this table, bound to the PartNumber field in the
form's table. The combo's RowSource should be a query selecting the
part number and the description.

Put a Textbox on the form with a controlsource

=comboboxname.Column(1)

using your actual combo box's name; the (1) means display the *second*
column of the combo's row source query, it's zero based.

                 John W. Vinson[MVP]    
Dave - 10 Jul 2006 06:10 GMT
I also need to do the same in a table, will the same method work.
Thanks Heaps

> I want to be able to lock a product description to a part number, so when the
> part number is entered on a form the description will be displayed automaticly
John Vinson - 10 Jul 2006 18:02 GMT
>I also need to do the same in a table, will the same method work.

No. But then you should never under any circumstances use a Table
Datasheet for routine editing or viewing of data anyway, so it doesn't
matter - just use a Form.

                 John W. Vinson[MVP]    
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.