WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Inspections and Treatments

 
Goto page Previous  1, 2, 3
   Home -> Office other -> Table Design RSS
Next:  how to .mbd able to accept mupltiple users and co..  
Author Message
Fred

External


Since: Jun 26, 2006
Posts: 496



(Msg. 9) Posted: Tue Oct 07, 2008 6:14 am
Post subject: Re: Inspections and Treatments [Login to view extended thread Info.]
Archived from groups: microsoft>public>access>tablesdbdesign (more info?)

Hello Tina,

Thanks again. But after numerous futile attempts (with and without the
wizard turned on) I could not get a combo box to show the other fields in the
ancillary table. For example, to have it continue to show the employee name,
not just the employee ID #. It shows the other fields only when actively
making the selection; after that it only shows the stored / linked field.
Could I trouble you to tell me the key steps?

Sincerely,

Fred
Back to top
Login to vote
jamesfreddyc

External


Since: Apr 07, 2006
Posts: 10



(Msg. 10) Posted: Tue Oct 07, 2008 9:13 am
Post subject: Re: Inspections and Treatments [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"does your company sometimes do treatments after an inspection, but also
sometimes do treatments without a preceding inspection? if yes, then the
current setup probably makes sense. but if a treatment is *always* preceded
by an inspection, i wonder if tblTreatments should be a child table as the
"many" side of a one-to-many relationship with tblInspections. if the latter
is the case, then the forms
design above would have to be revamped to handle that tables relationship."


Tina,

Thanks for the tip. While I fully understand the options here, I believe
the existing workflow will work just fine. "Work" *could be* either
Inspections or Treatments, but a treatment record is not always preceded by
an inspection --- there may be a moment where a treatment is simply done
based upon an existing location and not dependent upon inspecting the
location first.

I certainly can appreciate the thought. I'm acting as developer and dba
here, so trying to consider all of the what-if's to get this setup correctly
has been quite interesting. What I am finding out is that doing both app-dev
and db-dev is actually making me a better developer overall.

Thanks again,

j






"tina" wrote:

> i basically agree with Fred's tables/relationships analysis, and have
> comments on form design. see below.
>
>
> "Fred" <Fred.TakeThisOut@discussions.microsoft.com> wrote in message
> news:F0C2F19A-17DF-4342-9318-2DF2DAF6BE14@microsoft.com...
> > Your main foundation is understanding your data items and the relationship
> > between them and then your tables and the relationships between them /
> their
> > record. . Your only partially describing these makes me guess that you
> are
> > not giving that part of the job sufficient importance and work.
> >
> > Here's a mixture of confiriming my guesses, things that your structure
> > implies / hints at, plus making suggestions.
> >
> > -A "Work" item is for one and only one customer
> > -A "Work" item is done by one and only one employee
> > -Your intent is to record occurences of inspections and occurences of
> > treatments. -You are not trying to create any standardized "Picklist"of
> > inspections or treatments. You intend to just free-form describe the
> > treatment (If this is wrong, and youARE trying to do this, then you
> > would, for example, need 2 "inspection" tables, one is occurences of
> > inspecitons, the other the Picklist" of standardized inspections.)
> >
> > A "Work" item may include many instances of inspections. But that
> occurence
> > of an inspection relates only to that work item
> > A "Work" item may include many occurences of treatments. But that
> occurence
> > of a treatrment relates only to that "Work" item.
> >
> > IF all of the above is true, then, to the extent that you described it,
> what
> > you listed is OK. But here's what you forgot to do or say:
> >
> > IMPORTANT!: The namesake ID of each table is set to be it's Primary Key.
> > E.G. "WorkID" is set as the PK of the "Work" table etc.
> >
> > Do "Show only when they are equal" joins from Work table to Customers
> table
> > and Work table to Employee Table.
>
> if Fred is referring here to the Join Type in the Edit Relationships dialog
> of the Relationships window....well, frankly, i never bother with that. it
> isn't necessary at the table level, and when i write queries i set the joins
> as needed at the time.
>
> >
> > Do a "Show all Work items......" join from work table to inspections
> table.
> > Do a "Show all Work items......" join from work table to treatments table.
>
> ditto above.
>
> >
> > Create datasheet style forms (which will be used as subforms) for
> > inspections and treatments.
>
> datasheet style not a problem here, but not a requirement, either.
>
> >
> > I'm good at organizing these things and data structures, but other people
> > who read these know Access 10 times better than me and I welcome them to
> > comment on or add to my Access stuff.
> >
> > Create a query which shows all , customer and employee fields. Use it as
> a
> > record source for a "Work" form which show all desired fields from those 3
> > tables.
>
> this isn't necessary, and is often counterproductive, but it's a common
> mistake made by inexperienced Access developers. for a *data entry* form,
> it's rarely necessary to use more than one table in the RecordSource, and on
> those occasions it's usually two tables with a one-to-one relationship.
>
> first, before forms, make sure the table relationships are set up in the
> Relationships window, with the links going *from* the parent table *to* the
> child table. for example: from tblCustomers to tblWork. from tblWork to
> tblInspections. and be sure to checkmark the Enforce Referential Integrity
> option in the Edit Relationships dialog of each link. now you're ready to
> move on to forms.
>
> from your post, your process flow seems to be to start with a new customer,
> or with an existing customer record, and then add a work record and its'
> related inspections and treatments. suggest the following setup - and, btw,
> don't bother trying to do this using a form wizard. just set it up yourself.
>
> create a form bound to tblCustomers, and call it frmCustomers. in Design
> view, open the Properties box (click View | Properties on the menu bar), and
> set the FormView property to SingleForm.
> create a form bound to tblWork, and call it frmWork. in Design view, include
> a combobox control bound to the EmpID foreign key field, with its' RowSource
> set to tblEmployees. set the FormView property to SingleForm.
> create a form bound to tblInspections. you can set the FormView to
> SingleForm, ContinuousForms, or Datasheet, depending on what will best suit
> your data entry needs.
> create a form bound to tblTreatments. ditto above re the FormView setting.
>
> in Design view of frmWork, add a subform control (you can add it from the
> Toolbox toolbar, which in turn you'll find by clicking View on the menu
> bar). open the Properties box (View menu again) and set the subform
> control's Name property as ChildInspections.
> set the SourceObject property as frmInspections.
> set the LinkChildFields property as WorkID (this refers to the foreign key
> field in tblInspections, which is the table used as the RecordSource of
> frmInspections).
> set the LinkMasterFields as WorkID (this refers to the primary key field in
> tblWork, which is the table used as the RecordSource in frmWork).
> now you have an Inspections subform in frmWork, and linked to frmWork. easy
> as pie!
>
> Still in Design view of frmWork, add another subform control and name it
> ChildTreatments. set the SourceObject as frmTreatments, and set the
> LinkChildFields and LinkMasterFields to the corresponding foreign key and
> primary key fieldnames, as described above. then save and close frmWork.
>
> open frmCustomers in Design view and add a subform control, naming it
> ChildWork. set its' SourceObject to frmWork, its' LinkChildFields to
> CustomerID (the foreign key field in tblWork), and its' LinkMasterFields to
> CustomerID (the primary key field in tblCustomers). save and close the form.
>
> now when you open frmCustomers, you can add a new customer record or go to
> an existing customer record, then add a new work record or go to an existing
> one, then add or edit inspection records and/or treatment records for that
> work record for that customer.
>
> if you find that using nested subforms results in a large and busy, crowded
> form for data entry, then you might consider opening a form to add/edit
> customer records only. then open a separate form (not a subform) to add/edit
> work records and their related inspection and treatment records; in the work
> form, you can use a combobox control bound to foreign key field CustomerID,
> with RowSource as tblCustomers, to choose the customer for each new work
> record.
>
> and if you really want to get creative, you can add a tab control to the
> work form, and put the inspection subform on one tab and the treatment
> subform on another tab. that saves space and makes the form look simpler and
> cleaner. you can do this whether the work form is opened separately, or is a
> subform on the customer form.
>
> the only thing that raises a question for me here, is a possible
> relationship between inspections and treatments. does your company sometimes
> do treatments after an inspection, but also sometimes do treatments without
> a preceding inspection? if yes, then the current setup probably makes sense.
> but if a treatment is *always* preceded by an inspection, i wonder if
> tblTreatments should be a child table as the "many" side of a one-to-many
> relationship with tblInspections. if the latter is the case, then the forms
> design above would have to be revamped to handle that tables relationship.
>
> hth
>
> >
> > Add the already made inspections and treatments forms to it as subforms
> > using subform wizard.
> >
> > I think that that should work.
> >
> > Sincerely,
> >
> > Fred
> >
> >
> >
> >
> >
>
>
>
Back to top
Login to vote
tina

External


Since: Mar 23, 2004
Posts: 2610



(Msg. 11) Posted: Wed Oct 08, 2008 3:00 am
Post subject: Re: Inspections and Treatments [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

i agree - since treatments may exist independent of inspections, then the
tables design laid out earlier sounds correct.

and i agree, too, that process analysis, both from the broader view of
business needs and the narrower view of user work flow, skill level, etc, is
quite an eye-opener. what i've often found is that even the people who
perform the work don't realize *everything* that goes into it (what i call
"where did it come from and where is it going") - and management almost
never does! <g>


"jamesfreddyc" <jamesfreddyc.DeleteThis@discussions.microsoft.com> wrote in message
news:0D4C79FC-9BC0-4A3E-824E-FE3D06F7780F@microsoft.com...
> "does your company sometimes do treatments after an inspection, but also
> sometimes do treatments without a preceding inspection? if yes, then the
> current setup probably makes sense. but if a treatment is *always*
preceded
> by an inspection, i wonder if tblTreatments should be a child table as the
> "many" side of a one-to-many relationship with tblInspections. if the
latter
> is the case, then the forms
> design above would have to be revamped to handle that tables
relationship."
>
>
> Tina,
>
> Thanks for the tip. While I fully understand the options here, I believe
> the existing workflow will work just fine. "Work" *could be* either
> Inspections or Treatments, but a treatment record is not always preceded
by
> an inspection --- there may be a moment where a treatment is simply done
> based upon an existing location and not dependent upon inspecting the
> location first.
>
> I certainly can appreciate the thought. I'm acting as developer and dba
> here, so trying to consider all of the what-if's to get this setup
correctly
> has been quite interesting. What I am finding out is that doing both
app-dev
> and db-dev is actually making me a better developer overall.
>
> Thanks again,
>
> j
>
>
>
>
>
>
> "tina" wrote:
>
> > i basically agree with Fred's tables/relationships analysis, and have
> > comments on form design. see below.
> >
> >
> > "Fred" <Fred.DeleteThis@discussions.microsoft.com> wrote in message
> > news:F0C2F19A-17DF-4342-9318-2DF2DAF6BE14@microsoft.com...
> > > Your main foundation is understanding your data items and the
relationship
> > > between them and then your tables and the relationships between them
/
> > their
> > > record. . Your only partially describing these makes me guess that
you
> > are
> > > not giving that part of the job sufficient importance and work.
> > >
> > > Here's a mixture of confiriming my guesses, things that your structure
> > > implies / hints at, plus making suggestions.
> > >
> > > -A "Work" item is for one and only one customer
> > > -A "Work" item is done by one and only one employee
> > > -Your intent is to record occurences of inspections and occurences of
> > > treatments. -You are not trying to create any standardized
"Picklist"of
> > > inspections or treatments. You intend to just free-form describe the
> > > treatment (If this is wrong, and youARE trying to do this, then
you
> > > would, for example, need 2 "inspection" tables, one is occurences of
> > > inspecitons, the other the Picklist" of standardized inspections.)
> > >
> > > A "Work" item may include many instances of inspections. But that
> > occurence
> > > of an inspection relates only to that work item
> > > A "Work" item may include many occurences of treatments. But that
> > occurence
> > > of a treatrment relates only to that "Work" item.
> > >
> > > IF all of the above is true, then, to the extent that you described
it,
> > what
> > > you listed is OK. But here's what you forgot to do or say:
> > >
> > > IMPORTANT!: The namesake ID of each table is set to be it's Primary
Key.
> > > E.G. "WorkID" is set as the PK of the "Work" table etc.
> > >
> > > Do "Show only when they are equal" joins from Work table to Customers
> > table
> > > and Work table to Employee Table.
> >
> > if Fred is referring here to the Join Type in the Edit Relationships
dialog
> > of the Relationships window....well, frankly, i never bother with that.
it
> > isn't necessary at the table level, and when i write queries i set the
joins
> > as needed at the time.
> >
> > >
> > > Do a "Show all Work items......" join from work table to inspections
> > table.
> > > Do a "Show all Work items......" join from work table to treatments
table.
> >
> > ditto above.
> >
> > >
> > > Create datasheet style forms (which will be used as subforms) for
> > > inspections and treatments.
> >
> > datasheet style not a problem here, but not a requirement, either.
> >
> > >
> > > I'm good at organizing these things and data structures, but other
people
> > > who read these know Access 10 times better than me and I welcome them
to
> > > comment on or add to my Access stuff.
> > >
> > > Create a query which shows all , customer and employee fields. Use
it as
> > a
> > > record source for a "Work" form which show all desired fields from
those 3
> > > tables.
> >
> > this isn't necessary, and is often counterproductive, but it's a common
> > mistake made by inexperienced Access developers. for a *data entry*
form,
> > it's rarely necessary to use more than one table in the RecordSource,
and on
> > those occasions it's usually two tables with a one-to-one relationship.
> >
> > first, before forms, make sure the table relationships are set up in the
> > Relationships window, with the links going *from* the parent table *to*
the
> > child table. for example: from tblCustomers to tblWork. from tblWork to
> > tblInspections. and be sure to checkmark the Enforce Referential
Integrity
> > option in the Edit Relationships dialog of each link. now you're ready
to
> > move on to forms.
> >
> > from your post, your process flow seems to be to start with a new
customer,
> > or with an existing customer record, and then add a work record and its'
> > related inspections and treatments. suggest the following setup - and,
btw,
> > don't bother trying to do this using a form wizard. just set it up
yourself.
> >
> > create a form bound to tblCustomers, and call it frmCustomers. in Design
> > view, open the Properties box (click View | Properties on the menu bar),
and
> > set the FormView property to SingleForm.
> > create a form bound to tblWork, and call it frmWork. in Design view,
include
> > a combobox control bound to the EmpID foreign key field, with its'
RowSource
> > set to tblEmployees. set the FormView property to SingleForm.
> > create a form bound to tblInspections. you can set the FormView to
> > SingleForm, ContinuousForms, or Datasheet, depending on what will best
suit
> > your data entry needs.
> > create a form bound to tblTreatments. ditto above re the FormView
setting.
> >
> > in Design view of frmWork, add a subform control (you can add it from
the
> > Toolbox toolbar, which in turn you'll find by clicking View on the menu
> > bar). open the Properties box (View menu again) and set the subform
> > control's Name property as ChildInspections.
> > set the SourceObject property as frmInspections.
> > set the LinkChildFields property as WorkID (this refers to the foreign
key
> > field in tblInspections, which is the table used as the RecordSource of
> > frmInspections).
> > set the LinkMasterFields as WorkID (this refers to the primary key field
in
> > tblWork, which is the table used as the RecordSource in frmWork).
> > now you have an Inspections subform in frmWork, and linked to frmWork.
easy
> > as pie!
> >
> > Still in Design view of frmWork, add another subform control and name it
> > ChildTreatments. set the SourceObject as frmTreatments, and set the
> > LinkChildFields and LinkMasterFields to the corresponding foreign key
and
> > primary key fieldnames, as described above. then save and close frmWork.
> >
> > open frmCustomers in Design view and add a subform control, naming it
> > ChildWork. set its' SourceObject to frmWork, its' LinkChildFields to
> > CustomerID (the foreign key field in tblWork), and its' LinkMasterFields
to
> > CustomerID (the primary key field in tblCustomers). save and close the
form.
> >
> > now when you open frmCustomers, you can add a new customer record or go
to
> > an existing customer record, then add a new work record or go to an
existing
> > one, then add or edit inspection records and/or treatment records for
that
> > work record for that customer.
> >
> > if you find that using nested subforms results in a large and busy,
crowded
> > form for data entry, then you might consider opening a form to add/edit
> > customer records only. then open a separate form (not a subform) to
add/edit
> > work records and their related inspection and treatment records; in the
work
> > form, you can use a combobox control bound to foreign key field
CustomerID,
> > with RowSource as tblCustomers, to choose the customer for each new work
> > record.
> >
> > and if you really want to get creative, you can add a tab control to the
> > work form, and put the inspection subform on one tab and the treatment
> > subform on another tab. that saves space and makes the form look simpler
and
> > cleaner. you can do this whether the work form is opened separately, or
is a
> > subform on the customer form.
> >
> > the only thing that raises a question for me here, is a possible
> > relationship between inspections and treatments. does your company
sometimes
> > do treatments after an inspection, but also sometimes do treatments
without
> > a preceding inspection? if yes, then the current setup probably makes
sense.
> > but if a treatment is *always* preceded by an inspection, i wonder if
> > tblTreatments should be a child table as the "many" side of a
one-to-many
> > relationship with tblInspections. if the latter is the case, then the
forms
> > design above would have to be revamped to handle that tables
relationship.
> >
> > hth
> >
> > >
> > > Add the already made inspections and treatments forms to it as
subforms
> > > using subform wizard.
> > >
> > > I think that that should work.
> > >
> > > Sincerely,
> > >
> > > Fred
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
Back to top
Login to vote
tina

External


Since: Mar 23, 2004
Posts: 2610



(Msg. 12) Posted: Wed Oct 08, 2008 3:00 am
Post subject: Re: Inspections and Treatments [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

first key step: forget the wizard. you need to learn how comboboxes work,
and when you do, they'll be easy to work with - and they're a great tool.

second key step: open a new form in Design view. add a combo box control -
no wizard! - to the form. open the Properties box. combobox controls have
many properties that are the same as textbox control properties. they also
have properties that other controls don't have (the exception being listbox
controls, which share many of these special properties).

read up on the following properties in Access Help:
RowSourceType
RowSource
ColumnCount
ColumnHeads
ColumnWidths
BoundColumn (hint: don't confuse the bound column with the ControlSource
property, which binds a control to a field in the form's RecordSource.)
ListRows
ListWidth
LimitToList
AutoExpand
OnNotInList event

another hint: an easy way to go to the Help topic on a property in a form
(or report) is to click on the property "line" in the Properties box, and
press F1.

start there, Fred, experiment some more, and then come back with specific
questions re anything you need help figuring out.

hth


"Fred" <Fred.RemoveThis@discussions.microsoft.com> wrote in message
news:4828A15E-7D88-4070-8115-27F70CD27CC6@microsoft.com...
> Hello Tina,
>
> Thanks again. But after numerous futile attempts (with and without the
> wizard turned on) I could not get a combo box to show the other fields in
the
> ancillary table. For example, to have it continue to show the employee
name,
> not just the employee ID #. It shows the other fields only when actively
> making the selection; after that it only shows the stored / linked field.
> Could I trouble you to tell me the key steps?
>
> Sincerely,
>
> Fred
>
Back to top
Login to vote
tina

External


Since: Mar 23, 2004
Posts: 2610



(Msg. 13) Posted: Wed Oct 08, 2008 3:00 am
Post subject: Re: Inspections and Treatments [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

you're very welcome Smile


"jamesfreddyc" <jamesfreddyc.TakeThisOut@discussions.microsoft.com> wrote in message
news:EB67C89E-1281-41E3-A8C3-4697D68A05BB@microsoft.com...
> Fred and Tina,
>
> Your commentaries were incredibly insightful and have fully helped me to
> develop exactly what I need. It's all very much appreciated.
>
> Thank You,
>
> j
>
> "Fred" wrote:
>
> > Your main foundation is understanding your data items and the
relationship
> > between them and then your tables and the relationships between them /
their
> > record. . Your only partially describing these makes me guess that you
are
> > not giving that part of the job sufficient importance and work.
> >
> > Here's a mixture of confiriming my guesses, things that your structure
> > implies / hints at, plus making suggestions.
> >
> > -A "Work" item is for one and only one customer
> > -A "Work" item is done by one and only one employee
> > -Your intent is to record occurences of inspections and occurences of
> > treatments. -You are not trying to create any standardized "Picklist"of
> > inspections or treatments. You intend to just free-form describe the
> > treatment (If this is wrong, and youARE trying to do this, then you
> > would, for example, need 2 "inspection" tables, one is occurences of
> > inspecitons, the other the Picklist" of standardized inspections.)
> >
> > A "Work" item may include many instances of inspections. But that
occurence
> > of an inspection relates only to that work item
> > A "Work" item may include many occurences of treatments. But that
occurence
> > of a treatrment relates only to that "Work" item.
> >
> > IF all of the above is true, then, to the extent that you described it,
what
> > you listed is OK. But here's what you forgot to do or say:
> >
> > IMPORTANT!: The namesake ID of each table is set to be it's Primary Key.
> > E.G. "WorkID" is set as the PK of the "Work" table etc.
> >
> > Do "Show only when they are equal" joins from Work table to Customers
table
> > and Work table to Employee Table.
> >
> > Do a "Show all Work items......" join from work table to inspections
table.
> > Do a "Show all Work items......" join from work table to treatments
table.
> >
> > Create datasheet style forms (which will be used as subforms) for
> > inspections and treatments.
> >
> > I'm good at organizing these things and data structures, but other
people
> > who read these know Access 10 times better than me and I welcome them to
> > comment on or add to my Access stuff.
> >
> > Create a query which shows all , customer and employee fields. Use it
as a
> > record source for a "Work" form which show all desired fields from those
3
> > tables.
> >
> > Add the already made inspections and treatments forms to it as subforms
> > using subform wizard.
> >
> > I think that that should work.
> >
> > Sincerely,
> >
> > Fred
> >
> >
> >
> >
> >
Back to top
Login to vote
Fred

External


Since: Jun 26, 2006
Posts: 496



(Msg. 14) Posted: Wed Oct 08, 2008 6:51 am
Post subject: Re: Inspections and Treatments [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Tina,

Thank you again. I read all of those that you recommended (plus
ControlSource) and experimented with them, and it was very informative.
I'm still stuck at the same place, albiet with greater knowledge. Using
JamesFreddyC's inquiry as an example, let's say that the record source for a
form is tblWork, and we desire to show the address of the customer that the
work was for. I think that you said that a combo box is good way to do this.


I found the BoundColumn and ControlSource help files confusing, I think it
was because I couldn't find the "needle" of what these basically are in the
general-case "haystack" of the help text.

But all of those properties seem to just set what show when the user is
actively using the dropdown arrow....I can get that to work fine. My
problem is how to control what shows when nobody is doing anything with the
combo box. The ControlSource property seems to determine this. However,
it has a dropdown list which is just the fields of the RecordSource of the
Form, and I can't get it to take anything related to the related table that
is the source of the combo box.

E.G. so how would one make the address of the customer show in the combo box
when nobody is clicking on the combo box?

Thanks Again.

Sincerely,


Fred
Back to top
Login to vote
jamesfreddyc

External


Since: Apr 07, 2006
Posts: 10



(Msg. 15) Posted: Wed Oct 08, 2008 6:14 pm
Post subject: Re: Inspections and Treatments [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Fred,

My initial thought to your question is... Why would you need to display a
Customer's address in a comboBox? Further, a particular "work" related
record would logically only occur at ONE location, therefore, there wouldn't
be a need to display many addresses (as in "filling" a comboBox with items).

Perhaps I am misunderstanding your requirement here.

Also: I have since expanded this db model a bit to take into account that a
particular customer address could very well be different from the address of
a work item. For example, in my particular model, while the customer calling
to request service might be the owner of a particular residence (the address
for the work to be done), they might not actually live there (perhaps it is a
rental property).

j

"Fred" wrote:

> Tina,
>
> Thank you again. I read all of those that you recommended (plus
> ControlSource) and experimented with them, and it was very informative.
> I'm still stuck at the same place, albiet with greater knowledge. Using
> JamesFreddyC's inquiry as an example, let's say that the record source for a
> form is tblWork, and we desire to show the address of the customer that the
> work was for. I think that you said that a combo box is good way to do this.
>
>
> I found the BoundColumn and ControlSource help files confusing, I think it
> was because I couldn't find the "needle" of what these basically are in the
> general-case "haystack" of the help text.
>
> But all of those properties seem to just set what show when the user is
> actively using the dropdown arrow....I can get that to work fine. My
> problem is how to control what shows when nobody is doing anything with the
> combo box. The ControlSource property seems to determine this. However,
> it has a dropdown list which is just the fields of the RecordSource of the
> Form, and I can't get it to take anything related to the related table that
> is the source of the combo box.
>
> E.G. so how would one make the address of the customer show in the combo box
> when nobody is clicking on the combo box?
>
> Thanks Again.
>
> Sincerely,
>
>
> Fred
>
>
>
Back to top
Login to vote
Fred

External


Since: Jun 26, 2006
Posts: 496



(Msg. 16) Posted: Thu Oct 09, 2008 5:43 am
Post subject: Re: Inspections and Treatments [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello jamesfreddyc

I was just using your applicaiton as an example to try to learn something.
With customer being a sort of "lookup" I had recommended showing that via
including it
(via a query) in the record sources of the form. Tina indicated that a
combo box would be a better way of doing that and I was just trying to learn
how to do that.

Sincerely,

Fred
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> Table Design All times are: Eastern Time (US & Canada) (change)
Goto page Previous  1, 2, 3
Page 2 of 3

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET