Re: Combo Box AfterUpdate Help
- From: Harry Thomas <HarryThomas@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 4 Jan 2006 12:55:03 -0800
Before the rest of you pick on me, I didn't start this slanging match. I
asked a simple question and got back a lengthy reply about database design
together with accusations that I was making an arse out of my design and that
my approach was big buckets of merde. What is even more incredible is that
the reply from Mr Morrison is based on assumptions made by him about the
design of a database of which he has no knowledge. I do not for one minute
doubt his ability or expertise and I wouldn't be posting such questions if I
knew the answer. I do not however think it fair to receive such a reply.
"Harry Thomas" wrote:
> I asked a question and expected a reasonable answer, if I wanted a lecture on
> database design I would have asked for that instead. You have no idea of the
> design, the examples I gave yesterday and today were purely to get an answer
> to a question. So unless you want to make an arse of yourself, read the
> question.
>
> "Craig Alexander Morrison" wrote:
>
> > Dodgy design as already pointed out in "Updating....." thread yesterday.
> >
> > I think you will find most people will consider your design flawed.
> >
> > Anyway use the Column property of the ComboBox as already stated yesterday.
> >
> > I am hesitant to help you make an arse out of your database however in the
> > AfterUpdate event procedure of the ComboBox do something like this:
> >
> > Me!FieldB4 = Me!cboFieldA1.Column(1)
> >
> > This assumes that cboFieldA1 is bound to FieldA1 and that FieldA3 is the
> > next column.
> >
> > In this case with the correct design you would not need any code if the
> > value of FieldA1 was the primary key of the table being referenced and
> > FieldB4 was the foreign key in the related table.
> >
> > I speak from 25 years of experience with Relational Databases and nearly 15
> > with Access/Jet.
> >
> > I would strongly recommend you redesign your database conforming to the
> > relational model rather than the big buckets of merde approach.
> >
> > This last sentence is the one that is of most help to you although you may
> > not realise it.
> >
> >
> > --
> > Slainte
> >
> > Craig Alexander Morrison
> > Crawbridge Data (Scotland) Limited
> >
> > "Harry Thomas" <HarryThomas@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > news:1A035E32-DF85-442B-8D24-9EA87A84E34A@xxxxxxxxxxxxxxxx
> > >I have two tables, TableA and TableB. In a form I use a combo Box to select
> > > data from Field1 in TableA and place it in Field2 in TableB. What is the
> > > exact command I put in the AfterUpdate field of the combo box to also take
> > > data from Field3 of TableA and place it in Field4 of TableB.
> > >
> > > Thank you
> >
> >
> >
> >
> >
.
- Follow-Ups:
- Re: Combo Box AfterUpdate Help
- From: Craig Alexander Morrison
- Re: Combo Box AfterUpdate Help
- From: TC
- Re: Combo Box AfterUpdate Help
- References:
- Re: Combo Box AfterUpdate Help
- From: Craig Alexander Morrison
- Re: Combo Box AfterUpdate Help
- Prev by Date: Re: Design Question
- Next by Date: Changing Data Type - Text to ReplicationID
- Previous by thread: Re: Combo Box AfterUpdate Help
- Next by thread: Re: Combo Box AfterUpdate Help
- Index(es):
Relevant Pages
|