Ask a Question related to Microsoft Access, Design and Development.
-
Rick Brandt #1
Re: Help Please Combo box updates
"EdK" <Ed.L.Kramer@questdiagnostics.com> wrote in message
news:084801c34bbf$174ffa60$a001280a@phx.gbl...In the SalesID combo include both columns> I have a form that I created which has 2 combo boxes, one
> for Sales ID and one for Sales Name. I want to be able to
> choose either sales ID or sales name and have the other
> update. Example, I only have the sales ID # and I choose
> that and then the sales name comes up in the 2nd combo
> box, and vise versa. Is this at all possible? Any help
> would be greatly appreciated.
Column(0) will be SalesID
Column(1) will be SalesName (you can hide this column)
In the Name Combo do the opposite
Column(0) will SalesName
Column(1) will be SalesID (again, hidden if you wish)
In the AfterUpdate event of SalesID Combo have code like. . .
Me!SalesNameCombo = Me!SalesIDCombo.Column(1)
In the AfterUpdate event of SalesName Combo have code like. . .
Me!SalesIDCombo = Me!SalesNameCombo.Column(1)
You don't say if you are saving this, but just thought I would throw out that this
would normally not be done. You should only save the ID value and use that to
display the name if you need it.
Rick Brandt Guest
-
Updates
Karthik The standards guys will go crazy with this, but if it is for a one time shot, consider using the proprietary UPDATE FROM with a JOIN... -
CF MX 6.1 JVM Updates
I've been interested in updating the JVM on my CF MX 6.1 servers. 1. Is updating the Sun JVM from 1.4.2 to 1.5.x support? 2. How do you do it?... -
DNS Updates
I have a Windows Form that is calling a webservice. Over the weekend, we moved the webservice to a new server. However, the Windows Form is... -
ps 7.0 updates?
our office uses photoshop 7.0 (rarely)..so it's easy for us to fall behind on any updates or downloads. i know we can just go to adobe.com and... -
Win updates
I can can install the download manager for Service pak 1 into my files, but when I try to download the SP I get a "not compatible etc." warning, if... -
EdK #2
Re: Help Please Combo box updates
one>-----Original Message-----
>"EdK" <Ed.L.Kramer@questdiagnostics.com> wrote in message
>news:084801c34bbf$174ffa60$a001280a@phx.gbl...>> I have a form that I created which has 2 combo boxes,to>> for Sales ID and one for Sales Name. I want to be ablelike. . .>>> choose either sales ID or sales name and have the other
>> update. Example, I only have the sales ID # and I choose
>> that and then the sales name comes up in the 2nd combo
>> box, and vise versa. Is this at all possible? Any help
>> would be greatly appreciated.
>In the SalesID combo include both columns
>Column(0) will be SalesID
>Column(1) will be SalesName (you can hide this column)
>
>In the Name Combo do the opposite
>Column(0) will SalesName
>Column(1) will be SalesID (again, hidden if you wish)
>
>In the AfterUpdate event of SalesID Combo have codelike. . .>
>Me!SalesNameCombo = Me!SalesIDCombo.Column(1)
>
>
>In the AfterUpdate event of SalesName Combo have codewould throw out that this>
>Me!SalesIDCombo = Me!SalesNameCombo.Column(1)
>
>You don't say if you are saving this, but just thought Ivalue and use that to>would normally not be done. You should only save the IDThank you very much worked like a charm. I am not one that>display the name if you need it.
>
>
>.
>Rick,
usually does things normally. Thanks again.
Ed
EdK Guest



Reply With Quote

