PC Review


Reply
Thread Tools Rate Thread

Assigning specific record data to fields on a form Access 2003

 
 
AccessWimp
Guest
Posts: n/a
 
      4th Oct 2011
This is driving me nuts becuase I know I have done it before. I have
a recordset that has a column with "locations". Each of the se
locations is supposed to aid a user in figuring out where parts are in
a physical drawer. I am trying to make a form that accurately
reflects the way the drawer is laid out, based on these "locations".
I thought I could use some code like, IIf [Location] = * ,
PartNumber, "No Part Number"

This works, except it is only showing one result at a time, even
though I have a lot of different text boxes, each with a different
"location"

Example:
Result I am looking for:

IIf [Location] = 1A , PartNumber, "No Part Number" Part
Number corresponding to location 1A
IIf [Location] = 1B , PartNumber, "No Part Number" Part
Number corresponding to location 1B
IIf [Location] = 1C , PartNumber, "No Part Number" Part
Number corresponding to location 1C
IIf [Location] = 1D , PartNumber, "No Part Number" Part
Number corresponding to location 1D


What I am getting

Part Number corresponding to location 1A

No Part Number

No Part Number

No Part Number

If I scroll the mouse wheel, then the next record shows up in its
corresponding text box... I just want them to all show up on one
form. Any help is GREATLY appreciated. This is really bugging me!!!
Thanks
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:03 PM.