Sign Up |  Live StatsLive Stats    Articles 35,345| Comments 159,788| Members 17,820, Newest waheguruhelpme| Online 190
Home Contact
 (Forgotten?): 
    Sikhism

   
                                                                     Your Banner Here!    

Sikh Philosophy Network » Sikh Philosophy Network » Current Affairs » Information Technology » seeking solution to synchronize two combo boxes on a subform

seeking solution to synchronize two combo boxes on a subform

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 400 USD, Received: 35 USD (9%)
Please Donate...
Related Topics...
Thread Thread Starter Forum Replies Last Post
Synchornize combo boxes MisJ Information Technology 0 28-Jul-2006 08:40 AM
combo boxes Boots Information Technology 7 28-Jul-2006 08:24 AM
Synchronized Combo Boxes Christian > Information Technology 2 28-Jul-2006 08:22 AM
Using Combo Boxes to Display Data from Previous Combo Box select? Jeth0808 Information Technology 1 28-Jul-2006 08:19 AM
How do I Synchronize or filter a Combo Box without Code? Christian > Information Technology 2 28-Jul-2006 08:12 AM


Tags
seeking, solution, synchronize, two, combo, boxes, subform
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #10 (permalink)  
Old 28-Jul-2006, 08:16 AM
whitesnow's Avatar whitesnow
Guest
 
Posts: n/a
   
   
Re: seeking solution to synchronize two combo boxes on a subform

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
Douglas, Even though it solved the problem of disappeared selection, but I
found that in the demonstration the link provided, it does not allow to add
new records, so it is the same to my database. I am being hanged up here.
Please help.

"whitesnow" wrote:

> Many thanks, Douglas. This solved the problem.
>
> "Douglas J. Steele" wrote:
>
> > Hold on. You're talking about a continuous form, aren't you.
> >
> > See whether what Rob Mastrostefano has at
> > http://www.fmsinc.com/free/newtips/a...ccesstip16.asp is what you're
> > talking about.
> >
> > --
> > Doug Steele, Microsoft Access MVP
> > http://I.Am/DougSteele
> > (no private e-mails, please)
> >
> >
> > "whitesnow" wrote in message
> > news:B2219E42-FDD5-47CD-8C19-7079DABE961B@microsoft.com...
> > > In the combo box of cboCategory, the bound column is 1 and the visible
> > > column
> > > is the 2nd. In table of tblCategory, there are 2 fields, which are
> > > categoryID and categoryName.
> > >
> > > I tried deleting Me.cboProduct = Null and Me.cboProduct =
> > > Me.cboProduct.itemdata(0), it looks like the cbocategory and the
> > > snycronized
> > > combo boxes are working fine, but the product that I selected from the
> > > corresponding category is not kept visible when I click to the next line.
> > > I
> > > just could not figure out why.
> > >
> > > I wish I could copy you the screen to better explain the problem.
> > >
> > > Many thanks for your great patient.
> > >
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/10417-seeking-solution-synchronize-two-combo-boxes.html
> > > "Douglas J. Steele" wrote:
> > >
> > >> What error are you getting?
> > >>
> > >> Which column is the bound column in your combo box, and which column is
> > >> the
> > >> visible one?
> > >>
> > >> --
> > >> Doug Steele, Microsoft Access MVP
> > >> http://I.Am/DougSteele
> > >> (no private e-mails, please)
> > >>
> > >>
> > >> "whitesnow" wrote in message
> > >> news:BB0A9F92-5C11-464E-8250-D00CEAA12F44@microsoft.com...
> > >> > Sorry it was typo mistake, in fact it was correctly written as itemdata
> > >> > in
> > >> > the cboCategory after update event procedure. Could you please kindly
> > >> > enough
> > >> > to go ahead to point out what should I do next?
> > >> >
> > >> > Many thanks
> > >> >
> > >> > "Douglas J Steele" wrote:
> > >> >
> > >> >> Assuming that's copied and pasted, it should be itemdata, not
> > >> >> itemdate.
> > >> >>
> > >> >> If it isn't copied and pasted, what's the real code you're using?
> > >> >>
> > >> >> --
> > >> >> Doug Steele, Microsoft Access MVP
> > >> >> http://I.Am/DougSteele
> > >> >> (no e-mails, please!)
> > >> >>
> > >> >>
> > >> >> "whitesnow" wrote in message
> > >> >> news:0408E237-6746-4AB6-8A27-8EEEB9670E44@microsoft.com...
> > >> >> > Thank you very much for your suggestion and I have now changed them
> > >> >> > to
> > >> >> bound
> > >> >> > boxes. But then I have other problems, when I try to make selection
> > >> >> > for
> > >> >> the
> > >> >> > new record from the list of category, the run time error dialogue
> > >> >> > pops
> > >> >> > up.
> > >> >> In
> > >> >> > fact I put below codes into the cbocategory afterupdated event:
> > >> >> >
> > >> >> > private sub cboCategory_AfterUpdate()
> > >> >> > me.cboproduct = Null
> > >> >> > Me.cboproduct.requery
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> > >> >> > me.cboproduct = me.cboproduct.itemdate(0)
> > >> >> > End sub
> > >> >> >
> > >> >> > Could you please kind enought to point out what should I do and
> > >> >> > thank
> > >> >> > you
> > >> >> > again for taking the time to address my inquiry as well as bearing
> > >> >> > with
> > >> >> > me
> > >> >> > that I am a beginner of using Access.
> > >> >> >
> > >> >> > "Douglas J. Steele" wrote:
> > >> >> >
> > >> >> > > Sounds as though you don't have the combo boxes bound to a field
> > >> >> > > in
> > >> >> > > the
> > >> >> > > underlying table/query.
> > >> >> > >
> > >> >> > > --
> > >> >> > > Doug Steele, Microsoft Access MVP
> > >> >> > > http://I.Am/DougSteele
> > >> >> > > (no private e-mails, please)
> > >> >> > >
> > >> >> > >
> > >> >> > > "whitesnow" wrote in message
> > >> >> > > news:95332592-7984-4E37-AD1C-B857068A7824@microsoft.com...
> > >> >> > > >I have successfully synchronize two combo boxes on a subform
> > >> >> > > >named
> > >> >> > > >as
> > >> >> > > > suborderdetail and the master form is frmorderentry. The two
> > >> >> > > > combo
> > >> >> boxes
> > >> >> > > > is
> > >> >> > > > cbocategory and cboproduct. Unfortunately, when I try to enter
> > >> >> > > > the
> > >> >> > > > orderdetail and to make selection in list of the category and
> > >> >> products,
> > >> >> > > > all
> > >> >> > > > the rest of the records changed and became exactly the same as
> > >> >> > > > the
> > >> >> latest
> > >> >> > > > entry I just made. For instance, when I enter in the 10th order
> > >> >> > > > with
> > >> >> > > > cat-A,
> > >> >> > > > prod-a, all my previous entries and the entries that I have not
> > >> >> > > > made,
> > >> >> they
> > >> >> > > > all shows cat-A, prod-a. Please kindly advice what should I do?I
> > >> >> > > > want
> > >> >> > > > every
> > >> >> > > > single entry is kept as I selected from the list of those two
> > >> >> > > > combo
> > >> >> boxes.
> > >> >> > > >
> > >> >> > >
> > >> >> > >
> > >> >> > >
> > >> >>
> > >> >>
> > >> >>
> > >>
> > >>
> > >>

> >
> >
> >






 
Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh!
Reply With Quote
Sponsored Links
  #11 (permalink)  
Old 28-Jul-2006, 08:16 AM
Douglas J Steele's Avatar Douglas J Steele
Guest
 
Posts: n/a
   
   
Re: seeking solution to synchronize two combo boxes on a subform

Check whether Sandra Daigle's "Synch Combo Continuous" example at
http://www.daiglenet.com/MSAccess.htm helps.

If not, post back, and I'll try and pull something together based on my
Febuary, 2006 "Access Answers" column in Pinnacle Publication's "Smart
Access". (Unfortunately, my contract with them doesn't allow me to post my
columns on the web until 6 months after they appear in print)

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"whitesnow" wrote in message
news:AA410CEE-B277-40E9-B14B-0649DECA3A1D@microsoft.com...
> Douglas, Even though it solved the problem of disappeared selection, but I
> found that in the demonstration the link provided, it does not allow to

add
> new records, so it is the same to my database. I am being hanged up here.
> Please help.
>
> "whitesnow" wrote:
>
> > Many thanks, Douglas. This solved the problem.
> >
> > "Douglas J. Steele" wrote:
> >
> > > Hold on. You're talking about a continuous form, aren't you.
> > >
> > > See whether what Rob Mastrostefano has at
> > > http://www.fmsinc.com/free/newtips/a...ccesstip16.asp is what

you're
> > > talking about.
> > >
> > > --
> > > Doug Steele, Microsoft Access MVP
> > > http://I.Am/DougSteele
> > > (no private e-mails, please)
> > >
> > >
> > > "whitesnow" wrote in message
> > > news:B2219E42-FDD5-47CD-8C19-7079DABE961B@microsoft.com...
> > > > In the combo box of cboCategory, the bound column is 1 and the

visible
> > > > column
> > > > is the 2nd. In table of tblCategory, there are 2 fields, which are
> > > > categoryID and categoryName.
> > > >
> > > > I tried deleting Me.cboProduct = Null and Me.cboProduct =
> > > > Me.cboProduct.itemdata(0), it looks like the cbocategory and the
> > > > snycronized
> > > > combo boxes are working fine, but the product that I selected from

the
> > > > corresponding category is not kept visible when I click to the next

line.
> > > > I
> > > > just could not figure out why.
> > > >
> > > > I wish I could copy you the screen to better explain the problem.
> > > >
> > > > Many thanks for your great patient.
> > > >
> > > > "Douglas J. Steele" wrote:
> > > >
> > > >> What error are you getting?
> > > >>
> > > >> Which column is the bound column in your combo box, and which

column is
> > > >> the
> > > >> visible one?
> > > >>
> > > >> --
> > > >> Doug Steele, Microsoft Access MVP
> > > >> http://I.Am/DougSteele
> > > >> (no private e-mails, please)
> > > >>
> > > >>
> > > >> "whitesnow" wrote in message
> > > >> news:BB0A9F92-5C11-464E-8250-D00CEAA12F44@microsoft.com...
> > > >> > Sorry it was typo mistake, in fact it was correctly written as

itemdata
> > > >> > in
> > > >> > the cboCategory after update event procedure. Could you please

kindly
> > > >> > enough
> > > >> > to go ahead to point out what should I do next?
> > > >> >
> > > >> > Many thanks
> > > >> >
> > > >> > "Douglas J Steele" wrote:
> > > >> >
> > > >> >> Assuming that's copied and pasted, it should be itemdata, not
> > > >> >> itemdate.
> > > >> >>
> > > >> >> If it isn't copied and pasted, what's the real code you're

using?
> > > >> >>
> > > >> >> --
> > > >> >> Doug Steele, Microsoft Access MVP
> > > >> >> http://I.Am/DougSteele
> > > >> >> (no e-mails, please!)
> > > >> >>
> > > >> >>
> > > >> >> "whitesnow" wrote in

message
> > > >> >> news:0408E237-6746-4AB6-8A27-8EEEB9670E44@microsoft.com...
> > > >> >> > Thank you very much for your suggestion and I have now changed

them
> > > >> >> > to
> > > >> >> bound
> > > >> >> > boxes. But then I have other problems, when I try to make

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
selection
> > > >> >> > for
> > > >> >> the
> > > >> >> > new record from the list of category, the run time error

dialogue
> > > >> >> > pops
> > > >> >> > up.
> > > >> >> In
> > > >> >> > fact I put below codes into the cbocategory afterupdated

event:
> > > >> >> >
> > > >> >> > private sub cboCategory_AfterUpdate()
> > > >> >> > me.cboproduct = Null
> > > >> >> > Me.cboproduct.requery
> > > >> >> > me.cboproduct = me.cboproduct.itemdate(0)
> > > >> >> > End sub
> > > >> >> >
> > > >> >> > Could you please kind enought to point out what should I do

and
> > > >> >> > thank
> > > >> >> > you
> > > >> >> > again for taking the time to address my inquiry as well as

bearing
> > > >> >> > with
> > > >> >> > me
> > > >> >> > that I am a beginner of using Access.
> > > >> >> >
> > > >> >> > "Douglas J. Steele" wrote:
> > > >> >> >
> > > >> >> > > Sounds as though you don't have the combo boxes bound to a

field
> > > >> >> > > in
> > > >> >> > > the
> > > >> >> > > underlying table/query.
> > > >> >> > >
> > > >> >> > > --
> > > >> >> > > Doug Steele, Microsoft Access MVP
> > > >> >> > > http://I.Am/DougSteele
> > > >> >> > > (no private e-mails, please)
> > > >> >> > >
> > > >> >> > >
> > > >> >> > > "whitesnow" wrote in

message
> > > >> >> > > news:95332592-7984-4E37-AD1C-B857068A7824@microsoft.com...
> > > >> >> > > >I have successfully synchronize two combo boxes on a

subform
> > > >> >> > > >named
> > > >> >> > > >as
> > > >> >> > > > suborderdetail and the master form is frmorderentry. The

two
> > > >> >> > > > combo
> > > >> >> boxes
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> > > >> >> > > > is
> > > >> >> > > > cbocategory and cboproduct. Unfortunately, when I try to

enter
> > > >> >> > > > the
> > > >> >> > > > orderdetail and to make selection in list of the category

and
> > > >> >> products,
> > > >> >> > > > all
> > > >> >> > > > the rest of the records changed and became exactly the

same as
> > > >> >> > > > the
> > > >> >> latest
> > > >> >> > > > entry I just made. For instance, when I enter in the 10th

order
> > > >> >> > > > with
> > > >> >> > > > cat-A,
> > > >> >> > > > prod-a, all my previous entries and the entries that I

have not
> > > >> >> > > > made,
> > > >> >> they
> > > >> >> > > > all shows cat-A, prod-a. Please kindly advice what should

I do?I
> > > >> >> > > > want
> > > >> >> > > > every
> > > >> >> > > > single entry is kept as I selected from the list of those

two
> > > >> >> > > > combo
> > > >> >> boxes.
> > > >> >> > > >
> > > >> >> > >
> > > >> >> > >
> > > >> >> > >
> > > >> >>
> > > >> >>
> > > >> >>
> > > >>
> > > >>
> > > >>
> > >
> > >
> > >



Reply With Quote
  #12 (permalink)  
Old 28-Jul-2006, 08:17 AM
whitesnow's Avatar whitesnow
Guest
 
Posts: n/a
   
   
Re: seeking solution to synchronize two combo boxes on a subform

Douglas, I do appreciate your reply very much. The link you offered is very
helpful. In the subform, I inserted the text box of Product to the order
detail subform by reference to the sample provided. The #error is no longer
shown. Wow, so thankful to you. But I do not know how to make the product
control directly over the cboproductID control, as a result, the control
source of product and productID are both shown in the subform. Pls. how can I
get it done?

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
I wish I could see the “Access Answers” you published in Smart Access. That
would be great.

"Douglas J Steele" wrote:

> Check whether Sandra Daigle's "Synch Combo Continuous" example at
> http://www.daiglenet.com/MSAccess.htm helps.
>
> If not, post back, and I'll try and pull something together based on my
> Febuary, 2006 "Access Answers" column in Pinnacle Publication's "Smart
> Access". (Unfortunately, my contract with them doesn't allow me to post my
> columns on the web until 6 months after they appear in print)
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
> "whitesnow" wrote in message
> news:AA410CEE-B277-40E9-B14B-0649DECA3A1D@microsoft.com...
> > Douglas, Even though it solved the problem of disappeared selection, but I
> > found that in the demonstration the link provided, it does not allow to

> add
> > new records, so it is the same to my database. I am being hanged up here.
> > Please help.
> >
> > "whitesnow" wrote:
> >
> > > Many thanks, Douglas. This solved the problem.
> > >
> > > "Douglas J. Steele" wrote:
> > >
> > > > Hold on. You're talking about a continuous form, aren't you.
> > > >
> > > > See whether what Rob Mastrostefano has at
> > > > http://www.fmsinc.com/free/newtips/a...ccesstip16.asp is what

> you're
> > > > talking about.
> > > >
> > > > --
> > > > Doug Steele, Microsoft Access MVP
> > > > http://I.Am/DougSteele
> > > > (no private e-mails, please)
> > > >
> > > >
> > > > "whitesnow" wrote in message
> > > > news:B2219E42-FDD5-47CD-8C19-7079DABE961B@microsoft.com...
> > > > > In the combo box of cboCategory, the bound column is 1 and the

> visible
> > > > > column
> > > > > is the 2nd. In table of tblCategory, there are 2 fields, which are
> > > > > categoryID and categoryName.
> > > > >
> > > > > I tried deleting Me.cboProduct = Null and Me.cboProduct =
> > > > > Me.cboProduct.itemdata(0), it looks like the cbocategory and the
> > > > > snycronized
> > > > > combo boxes are working fine, but the product that I selected from

> the
> > > > > corresponding category is not kept visible when I click to the next

> line.
> > > > > I
> > > > > just could not figure out why.
> > > > >
> > > > > I wish I could copy you the screen to better explain the problem.
> > > > >
> > > > > Many thanks for your great patient.
> > > > >
> > > > > "Douglas J. Steele" wrote:
> > > > >
> > > > >> What error are you getting?
> > > > >>
> > > > >> Which column is the bound column in your combo box, and which

> column is
> > > > >> the
> > > > >> visible one?
> > > > >>
> > > > >> --
> > > > >> Doug Steele, Microsoft Access MVP
> > > > >> http://I.Am/DougSteele
> > > > >> (no private e-mails, please)
> > > > >>
> > > > >>
> > > > >> "whitesnow" wrote in message
> > > > >> news:BB0A9F92-5C11-464E-8250-D00CEAA12F44@microsoft.com...
> > > > >> > Sorry it was typo mistake, in fact it was correctly written as

> itemdata
> > > > >> > in
> > > > >> > the cboCategory after update event procedure. Could you please

> kindly
> > > > >> > enough
> > > > >> > to go ahead to point out what should I do next?
> > > > >> >
> > > > >> > Many thanks
> > > > >> >
> > > > >> > "Douglas J Steele" wrote:
> > > > >> >
> > > > >> >> Assuming that's copied and pasted, it should be itemdata, not
> > > > >> >> itemdate.
> > > > >> >>
> > > > >> >> If it isn't copied and pasted, what's the real code you're

> using?
> > > > >> >>
> > > > >> >> --
> > > > >> >> Doug Steele, Microsoft Access MVP
> > > > >> >> http://I.Am/DougSteele
> > > > >> >> (no e-mails, please!)
> > > > >> >>
> > > > >> >>
> > > > >> >> "whitesnow" wrote in

> message
> > > > >> >> news:0408E237-6746-4AB6-8A27-8EEEB9670E44@microsoft.com...
> > > > >> >> > Thank you very much for your suggestion and I have now changed

> them
> > > > >> >> > to
> > > > >> >> bound
> > > > >> >> > boxes. But then I have other problems, when I try to make

> selection
> > > > >> >> > for
> > > > >> >> the
> > > > >> >> > new record from the list of category, the run time error

> dialogue
> > > > >> >> > pops
> > > > >> >> > up.
> > > > >> >> In
> > > > >> >> > fact I put below codes into the cbocategory afterupdated

> event:
> > > > >> >> >
> > > > >> >> > private sub cboCategory_AfterUpdate()
> > > > >> >> > me.cboproduct = Null
> > > > >> >> > Me.cboproduct.requery
> > > > >> >> > me.cboproduct = me.cboproduct.itemdate(0)
> > > > >> >> > End sub
> > > > >> >> >
> > > > >> >> > Could you please kind enought to point out what should I do

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> and
> > > > >> >> > thank
> > > > >> >> > you
> > > > >> >> > again for taking the time to address my inquiry as well as

> bearing
> > > > >> >> > with
> > > > >> >> > me
> > > > >> >> > that I am a beginner of using Access.
> > > > >> >> >
> > > > >> >> > "Douglas J. Steele" wrote:
> > > > >> >> >
> > > > >> >> > > Sounds as though you don't have the combo boxes bound to a

> field
> > > > >> >> > > in
> > > > >> >> > > the
> > > > >> >> > > underlying table/query.
> > > > >> >> > >
> > > > >> >> > > --
> > > > >> >> > > Doug Steele, Microsoft Access MVP
> > > > >> >> > > http://I.Am/DougSteele
> > > > >> >> > > (no private e-mails, please)
> > > > >> >> > >
> > > > >> >> > >
> > > > >> >> > > "whitesnow" wrote in

> message
> > > > >> >> > > news:95332592-7984-4E37-AD1C-B857068A7824@microsoft.com...
> > > > >> >> > > >I have successfully synchronize two combo boxes on a

> subform
> > > > >> >> > > >named
> > > > >> >> > > >as
> > > > >> >> > > > suborderdetail and the master form is frmorderentry. The

> two
> > > > >> >> > > > combo
> > > > >> >> boxes
> > > > >> >> > > > is
> > > > >> >> > > > cbocategory and cboproduct. Unfortunately, when I try to

> enter
> > > > >> >> > > > the
> > > > >> >> > > > orderdetail and to make selection in list of the category

> and
> > > > >> >> products,
> > > > >> >> > > > all
> > > > >> >> > > > the rest of the records changed and became exactly the

> same as
> > > > >> >> > > > the
> > > > >> >> latest
> > > > >> >> > > > entry I just made. For instance, when I enter in the 10th

> order
> > > > >> >> > > > with
> > > > >> >> > > > cat-A,
> > > > >> >> > > > prod-a, all my previous entries and the entries that I

> have not
> > > > >> >> > > > made,
> > > > >> >> they
> > > > >> >> > > > all shows cat-A, prod-a. Please kindly advice what should

> I do?I
> > > > >> >> > > > want
> > > > >> >> > > > every
> > > > >> >> > > > single entry is kept as I selected from the list of those

> two
> > > > >> >> > > > combo
> > > > >> >> boxes.
> > > > >> >> > > >
> > > > >> >> > >
> > > > >> >> > >
> > > > >> >> > >
> > > > >> >>
> > > > >> >>
> > > > >> >>
> > > > >>
> > > > >>
> > > > >>
> > > >
> > > >
> > > >

>
>
>

Reply With Quote
  #13 (permalink)  
Old 28-Jul-2006, 08:17 AM
Douglas J Steele's Avatar Douglas J Steele
Guest
 
Posts: n/a
   
   
Re: seeking solution to synchronize two combo boxes on a subform

You can put the text box over the combo box using code. Try something like
the following in the form's Load event:

Me.MyTextBox.Left = Me.MyComboBox.Left
Me.MyTextBox.Top = Me.MyComboBox.Top
Me.MyTextBox.Width = Me.MyComboBox.Width - 250

(replace "MyTextBox" and "MyComboBox" with the appropriate control names)

Unfortunately, the column won't be on-line for another 2 months.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"whitesnow" wrote in message
news:57E6BEAA-D606-4B42-BCBF-BFBA4195A348@microsoft.com...
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> Douglas, I do appreciate your reply very much. The link you offered is

very
> helpful. In the subform, I inserted the text box of Product to the order
> detail subform by reference to the sample provided. The #error is no

longer
> shown. Wow, so thankful to you. But I do not know how to make the product
> control directly over the cboproductID control, as a result, the control
> source of product and productID are both shown in the subform. Pls. how

can I
> get it done?
>
> I wish I could see the "Access Answers" you published in Smart Access.

That
> would be great.
>
> "Douglas J Steele" wrote:
>
> > Check whether Sandra Daigle's "Synch Combo Continuous" example at
> > http://www.daiglenet.com/MSAccess.htm helps.
> >
> > If not, post back, and I'll try and pull something together based on my
> > Febuary, 2006 "Access Answers" column in Pinnacle Publication's "Smart
> > Access". (Unfortunately, my contract with them doesn't allow me to post

my
> > columns on the web until 6 months after they appear in print)
> >
> > --
> > Doug Steele, Microsoft Access MVP
> > http://I.Am/DougSteele
> > (no e-mails, please!)
> >
> >
> > "whitesnow" wrote in message
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> > news:AA410CEE-B277-40E9-B14B-0649DECA3A1D@microsoft.com...
> > > Douglas, Even though it solved the problem of disappeared selection,

but I
> > > found that in the demonstration the link provided, it does not allow

to
> > add
> > > new records, so it is the same to my database. I am being hanged up

here.
> > > Please help.
> > >
> > > "whitesnow" wrote:
> > >
> > > > Many thanks, Douglas. This solved the problem.
> > > >
> > > > "Douglas J. Steele" wrote:
> > > >
> > > > > Hold on. You're talking about a continuous form, aren't you.
> > > > >
> > > > > See whether what Rob Mastrostefano has at
> > > > > http://www.fmsinc.com/free/newtips/a...ccesstip16.asp is what

> > you're
> > > > > talking about.
> > > > >
> > > > > --
> > > > > Doug Steele, Microsoft Access MVP
> > > > > http://I.Am/DougSteele
> > > > > (no private e-mails, please)
> > > > >
> > > > >
> > > > > "whitesnow" wrote in message
> > > > > news:B2219E42-FDD5-47CD-8C19-7079DABE961B@microsoft.com...
> > > > > > In the combo box of cboCategory, the bound column is 1 and the

> > visible
> > > > > > column
> > > > > > is the 2nd. In table of tblCategory, there are 2 fields, which

are
> > > > > > categoryID and categoryName.
> > > > > >
> > > > > > I tried deleting Me.cboProduct = Null and Me.cboProduct =
> > > > > > Me.cboProduct.itemdata(0), it looks like the cbocategory and the
> > > > > > snycronized
> > > > > > combo boxes are working fine, but the product that I selected

from
> > the
> > > > > > corresponding category is not kept visible when I click to the

next
> > line.
> > > > > > I
> > > > > > just could not figure out why.
> > > > > >
> > > > > > I wish I could copy you the screen to better explain the

problem.
> > > > > >
> > > > > > Many thanks for your great patient.
> > > > > >
> > > > > > "Douglas J. Steele" wrote:
> > > > > >
> > > > > >> What error are you getting?
> > > > > >>
> > > > > >> Which column is the bound column in your combo box, and which

> > column is
> > > > > >> the
> > > > > >> visible one?
> > > > > >>
> > > > > >> --
> > > > > >> Doug Steele, Microsoft Access MVP
> > > > > >> http://I.Am/DougSteele
> > > > > >> (no private e-mails, please)
> > > > > >>
> > > > > >>
> > > > > >> "whitesnow" wrote in

message
> > > > > >> news:BB0A9F92-5C11-464E-8250-D00CEAA12F44@microsoft.com...
> > > > > >> > Sorry it was typo mistake, in fact it was correctly written

as
> > itemdata
> > > > > >> > in
> > > > > >> > the cboCategory after update event procedure. Could you

please
> > kindly
> > > > > >> > enough
> > > > > >> > to go ahead to point out what should I do next?
> > > > > >> >
> > > > > >> > Many thanks
> > > > > >> >
> > > > > >> > "Douglas J Steele" wrote:
> > > > > >> >
> > > > > >> >> Assuming that's copied and pasted, it should be itemdata,

not
> > > > > >> >> itemdate.
> > > > > >> >>
> > > > > >> >> If it isn't copied and pasted, what's the real code you're

> > using?
> > > > > >> >>
> > > > > >> >> --
> > > > > >> >> Doug Steele, Microsoft Access MVP
> > > > > >> >> http://I.Am/DougSteele
> > > > > >> >> (no e-mails, please!)
> > > > > >> >>
> > > > > >> >>
> > > > > >> >> "whitesnow" wrote in

> > message
> > > > > >> >> news:0408E237-6746-4AB6-8A27-8EEEB9670E44@microsoft.com...
> > > > > >> >> > Thank you very much for your suggestion and I have now

changed
> > them
> > > > > >> >> > to
> > > > > >> >> bound
> > > > > >> >> > boxes. But then I have other problems, when I try to make

> > selection
> > > > > >> >> > for
> > > > > >> >> the
> > > > > >> >> > new record from the list of category, the run time error

> > dialogue
> > > > > >> >> > pops
> > > > > >> >> > up.
> > > > > >> >> In
> > > > > >> >> > fact I put below codes into the cbocategory afterupdated

> > event:
> > > > > >> >> >
> > > > > >> >> > private sub cboCategory_AfterUpdate()
> > > > > >> >> > me.cboproduct = Null
> > > > > >> >> > Me.cboproduct.requery
> > > > > >> >> > me.cboproduct = me.cboproduct.itemdate(0)
> > > > > >> >> > End sub
> > > > > >> >> >
> > > > > >> >> > Could you please kind enought to point out what should I

do
> > and
> > > > > >> >> > thank
> > > > > >> >> > you
> > > > > >> >> > again for taking the time to address my inquiry as well as

> > bearing
> > > > > >> >> > with
> > > > > >> >> > me
> > > > > >> >> > that I am a beginner of using Access.
> > > > > >> >> >
> > > > > >> >> > "Douglas J. Steele" wrote:
> > > > > >> >> >
> > > > > >> >> > > Sounds as though you don't have the combo boxes bound to

a
> > field
> > > > > >> >> > > in
> > > > > >> >> > > the
> > > > > >> >> > > underlying table/query.
> > > > > >> >> > >
> > > > > >> >> > > --
> > > > > >> >> > > Doug Steele, Microsoft Access MVP
> > > > > >> >> > > http://I.Am/DougSteele
> > > > > >> >> > > (no private e-mails, please)
> > > > > >> >> > >
> > > > > >> >> > >
> > > > > >> >> > > "whitesnow" wrote

in
> > message
> > > > > >> >> > >

news:95332592-7984-4E37-AD1C-B857068A7824@microsoft.com...
> > > > > >> >> > > >I have successfully synchronize two combo boxes on a

> > subform
> > > > > >> >> > > >named
> > > > > >> >> > > >as
> > > > > >> >> > > > suborderdetail and the master form is frmorderentry.

The
> > two
> > > > > >> >> > > > combo
> > > > > >> >> boxes
> > > > > >> >> > > > is
> > > > > >> >> > > > cbocategory and cboproduct. Unfortunately, when I try

to
> > enter
> > > > > >> >> > > > the
> > > > > >> >> > > > orderdetail and to make selection in list of the

category
> > and
> > > > > >> >> products,
> > > > > >> >> > > > all
> > > > > >> >> > > > the rest of the records changed and became exactly the

> > same as
> > > > > >> >> > > > the
> > > > > >> >> latest
> > > > > >> >> > > > entry I just made. For instance, when I enter in the

10th
> > order
> > > > > >> >> > > > with
> > > > > >> >> > > > cat-A,
> > > > > >> >> > > > prod-a, all my previous entries and the entries that I

> > have not
> > > > > >> >> > > > made,
> > > > > >> >> they
> > > > > >> >> > > > all shows cat-A, prod-a. Please kindly advice what

should
> > I do?I
> > > > > >> >> > > > want
> > > > > >> >> > > > every
> > > > > >> >> > > > single entry is kept as I selected from the list of

those
> > two
> > > > > >> >> > > > combo
> > > > > >> >> boxes.
> > > > > >> >> > > >
> > > > > >> >> > >
> > > > > >> >> > >
> > > > > >> >> > >
> > > > > >> >>
> > > > > >> >>
> > > > > >> >>
> > > > > >>
> > > > > >>
> > > > > >>
> > > > >
> > > > >
> > > > >

> >
> >
> >



Reply With Quote
  #14 (permalink)  
Old 28-Jul-2006, 08:17 AM
whitesnow's Avatar whitesnow
Guest
 
Posts: n/a
   
   
Re: seeking solution to synchronize two combo boxes on a subform

Doug, it is suceeded! Many thankful to you. With your BIG help, I would like
to continue having fun with my access database and looking forward to reading
your column on-line. Would that be all right for you to keep me posted?

"Douglas J Steele" wrote:

> You can put the text box over the combo box using code. Try something like
> the following in the form's Load event:
>
> Me.MyTextBox.Left = Me.MyComboBox.Left
> Me.MyTextBox.Top = Me.MyComboBox.Top
> Me.MyTextBox.Width = Me.MyComboBox.Width - 250
>
> (replace "MyTextBox" and "MyComboBox" with the appropriate control names)
>
> Unfortunately, the column won't be on-line for another 2 months.
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
> "whitesnow" wrote in message
> news:57E6BEAA-D606-4B42-BCBF-BFBA4195A348@microsoft.com...
> > Douglas, I do appreciate your reply very much. The link you offered is

> very
> > helpful. In the subform, I inserted the text box of Product to the order
> > detail subform by reference to the sample provided. The #error is no

> longer
> > shown. Wow, so thankful to you. But I do not know how to make the product
> > control directly over the cboproductID control, as a result, the control
> > source of product and productID are both shown in the subform. Pls. how

> can I
> > get it done?
> >
> > I wish I could see the "Access Answers" you published in Smart Access.

> That
> > would be great.
> >
> > "Douglas J Steele" wrote:
> >
> > > Check whether Sandra Daigle's "Synch Combo Continuous" example at
> > > http://www.daiglenet.com/MSAccess.htm helps.
> > >
> > > If not, post back, and I'll try and pull something together based on my
> > > Febuary, 2006 "Access Answers" column in Pinnacle Publication's "Smart
> > > Access". (Unfortunately, my contract with them doesn't allow me to post

> my
> > > columns on the web until 6 months after they appear in print)
> > >
> > > --
> > > Doug Steele, Microsoft Access MVP
> > > http://I.Am/DougSteele
> > > (no e-mails, please!)
> > >
> > >
> > > "whitesnow" wrote in message
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> > > news:AA410CEE-B277-40E9-B14B-0649DECA3A1D@microsoft.com...
> > > > Douglas, Even though it solved the problem of disappeared selection,

> but I
> > > > found that in the demonstration the link provided, it does not allow

> to
> > > add
> > > > new records, so it is the same to my database. I am being hanged up

> here.
> > > > Please help.
> > > >
> > > > "whitesnow" wrote:
> > > >
> > > > > Many thanks, Douglas. This solved the problem.
> > > > >
> > > > > "Douglas J. Steele" wrote:
> > > > >
> > > > > > Hold on. You're talking about a continuous form, aren't you.
> > > > > >
> > > > > > See whether what Rob Mastrostefano has at
> > > > > > http://www.fmsinc.com/free/newtips/a...ccesstip16.asp is what
> > > you're
> > > > > > talking about.
> > > > > >
> > > > > > --
> > > > > > Doug Steele, Microsoft Access MVP
> > > > > > http://I.Am/DougSteele
> > > > > > (no private e-mails, please)
> > > > > >
> > > > > >
> > > > > > "whitesnow" wrote in message
> > > > > > news:B2219E42-FDD5-47CD-8C19-7079DABE961B@microsoft.com...
> > > > > > > In the combo box of cboCategory, the bound column is 1 and the
> > > visible
> > > > > > > column
> > > > > > > is the 2nd. In table of tblCategory, there are 2 fields, which

> are
> > > > > > > categoryID and categoryName.
> > > > > > >
> > > > > > > I tried deleting Me.cboProduct = Null and Me.cboProduct =
> > > > > > > Me.cboProduct.itemdata(0), it looks like the cbocategory and the
> > > > > > > snycronized
> > > > > > > combo boxes are working fine, but the product that I selected

> from
> > > the
> > > > > > > corresponding category is not kept visible when I click to the

> next
> > > line.
> > > > > > > I
> > > > > > > just could not figure out why.
> > > > > > >
> > > > > > > I wish I could copy you the screen to better explain the

> problem.
> > > > > > >
> > > > > > > Many thanks for your great patient.
> > > > > > >
> > > > > > > "Douglas J. Steele" wrote:
> > > > > > >
> > > > > > >> What error are you getting?
> > > > > > >>
> > > > > > >> Which column is the bound column in your combo box, and which
> > > column is
> > > > > > >> the
> > > > > > >> visible one?
> > > > > > >>
> > > > > > >> --
> > > > > > >> Doug Steele, Microsoft Access MVP
> > > > > > >> http://I.Am/DougSteele
> > > > > > >> (no private e-mails, please)
> > > > > > >>
> > > > > > >>
> > > > > > >> "whitesnow" wrote in

> message
> > > > > > >> news:BB0A9F92-5C11-464E-8250-D00CEAA12F44@microsoft.com...
> > > > > > >> > Sorry it was typo mistake, in fact it was correctly written

> as
> > > itemdata
> > > > > > >> > in
> > > > > > >> > the cboCategory after update event procedure. Could you

> please
> > > kindly
> > > > > > >> > enough
> > > > > > >> > to go ahead to point out what should I do next?
> > > > > > >> >
> > > > > > >> > Many thanks
> > > > > > >> >
> > > > > > >> > "Douglas J Steele" wrote:
> > > > > > >> >
> > > > > > >> >> Assuming that's copied and pasted, it should be itemdata,

> not
> > > > > > >> >> itemdate.
> > > > > > >> >>
> > > > > > >> >> If it isn't copied and pasted, what's the real code you're
> > > using?
> > > > > > >> >>
> > > > > > >> >> --
> > > > > > >> >> Doug Steele, Microsoft Access MVP
> > > > > > >> >> http://I.Am/DougSteele
> > > > > > >> >> (no e-mails, please!)
> > > > > > >> >>
> > > > > > >> >>
> > > > > > >> >> "whitesnow" wrote in
> > > message
> > > > > > >> >> news:0408E237-6746-4AB6-8A27-8EEEB9670E44@microsoft.com...
> > > > > > >> >> > Thank you very much for your suggestion and I have now

> changed
> > > them
> > > > > > >> >> > to
> > > > > > >> >> bound
> > > > > > >> >> > boxes. But then I have other problems, when I try to make
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> > > selection
> > > > > > >> >> > for
> > > > > > >> >> the
> > > > > > >> >> > new record from the list of category, the run time error
> > > dialogue
> > > > > > >> >> > pops
> > > > > > >> >> > up.
> > > > > > >> >> In
> > > > > > >> >> > fact I put below codes into the cbocategory afterupdated
> > > event:
> > > > > > >> >> >
> > > > > > >> >> > private sub cboCategory_AfterUpdate()
> > > > > > >> >> > me.cboproduct = Null
> > > > > > >> >> > Me.cboproduct.requery
> > > > > > >> >> > me.cboproduct = me.cboproduct.itemdate(0)
> > > > > > >> >> > End sub
> > > > > > >> >> >
> > > > > > >> >> > Could you please kind enought to point out what should I

> do
> > > and
> > > > > > >> >> > thank
> > > > > > >> >> > you
> > > > > > >> >> > again for taking the time to address my inquiry as well as
> > > bearing
> > > > > > >> >> > with
> > > > > > >> >> > me
> > > > > > >> >> > that I am a beginner of using Access.
> > > > > > >> >> >
> > > > > > >> >> > "Douglas J. Steele" wrote:
> > > > > > >> >> >
> > > > > > >> >> > > Sounds as though you don't have the combo boxes bound to

> a
> > > field
> > > > > > >> >> > > in
> > > > > > >> >> > > the
> > > > > > >> >> > > underlying table/query.
> > > > > > >> >> > >
> > > > > > >> >> > > --
> > > > > > >> >> > > Doug Steele, Microsoft Access MVP
> > > > > > >> >> > > http://I.Am/DougSteele
> > > > > > >> >> > > (no private e-mails, please)
> > > > > > >> >> > >
> > > > > > >> >> > >
> > > > > > >> >> > > "whitesnow" wrote

> in
> > > message
> > > > > > >> >> > >

> news:95332592-7984-4E37-AD1C-B857068A7824@microsoft.com...
> > > > > > >> >> > > >I have successfully synchronize two combo boxes on a
> > > subform
> > > > > > >> >> > > >named
> > > > > > >> >> > > >as
> > > > > > >> >> > > > suborderdetail and the master form is frmorderentry.

> The
> > > two
> > > > > > >> >> > > > combo
> > > > > > >> >> boxes
> > > > > > >> >> > > > is
> > > > > > >> >> > > > cbocategory and cboproduct. Unfortunately, when I try

> to
> > > enter
> > > > > > >> >> > > > the
> > > > > > >> >> > > > orderdetail and to make selection in list of the

> category
> > > and
> > > > > > >> >> products,
> > > > > > >> >> > > > all
> > > > > > >> >> > > > the rest of the records changed and became exactly the
> > > same as
> > > > > > >> >> > > > the
> > > > > > >> >> latest
> > > > > > >> >> > > > entry I just made. For instance, when I enter in the

> 10th
> > > order
> > > > > > >> >> > > > with
> > > > > > >> >> > > > cat-A,
> > > > > > >> >> > > > prod-a, all my previous entries and the entries that I
> > > have not
> > > > > > >> >> > > > made,
> > > > > > >> >> they
> > > > > > >> >> > > > all shows cat-A, prod-a. Please kindly advice what

> should
> > > I do?I
> > > > > > >> >> > > > want
> > > > > > >> >> > > > every
> > > > > > >> >> > > > single entry is kept as I selected from the list of

> those
> > > two
> > > > > > >> >> > > > combo
> > > > > > >> >> boxes.
> > > > > > >> >> > > >
> > > > > > >> >> > >
> > > > > > >> >> > >
> > > > > > >> >> > >
> > > > > > >> >>
> > > > > > >> >>
> > > > > > >> >>
> > > > > > >>
> > > > > > >>
> > > > > > >>
> > > > > >
> > > > > >
> > > > > >
> > >
> > >
> > >

>
>
>

Reply With Quote
  #15 (permalink)  
Old 28-Jul-2006, 08:17 AM
Douglas J Steele's Avatar Douglas J Steele
Guest
 
Posts: n/a
   
   
Re: seeking solution to synchronize two combo boxes on a subform

There are 28 columns already posted at
http://www.accessmvp.com/DJSteele/SmartAccess.html

I try to update the page during the first few days of the month, so the
Febuary one should be there in early August.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"whitesnow" wrote in message
news:E35482F6-255D-40A3-A410-176D91BBA007@microsoft.com...
> Doug, it is suceeded! Many thankful to you. With your BIG help, I would

like
> to continue having fun with my access database and looking forward to

reading
> your column on-line. Would that be all right for you to keep me posted?
>
> "Douglas J Steele" wrote:
>
> > You can put the text box over the combo box using code. Try something

like
> > the following in the form's Load event:
> >
> > Me.MyTextBox.Left = Me.MyComboBox.Left
> > Me.MyTextBox.Top = Me.MyComboBox.Top
> > Me.MyTextBox.Width = Me.MyComboBox.Width - 250
> >
> > (replace "MyTextBox" and "MyComboBox" with the appropriate control

names)
> >
> > Unfortunately, the column won't be on-line for another 2 months.
> >
> > --
> > Doug Steele, Microsoft Access MVP
> > http://I.Am/DougSteele
> > (no e-mails, please!)
> >
> >
> > "whitesnow" wrote in message
> > news:57E6BEAA-D606-4B42-BCBF-BFBA4195A348@microsoft.com...
> > > Douglas, I do appreciate your reply very much. The link you offered is

> > very
> > > helpful. In the subform, I inserted the text box of Product to the

order
> > > detail subform by reference to the sample provided. The #error is no

> > longer
> > > shown. Wow, so thankful to you. But I do not know how to make the

product
> > > control directly over the cboproductID control, as a result, the

control
> > > source of product and productID are both shown in the subform. Pls.

how
> > can I
> > > get it done?
> > >
> > > I wish I could see the "Access Answers" you published in Smart Access.

> > That
> > > would be great.
> > >
> > > "Douglas J Steele" wrote:
> > >
> > > > Check whether Sandra Daigle's "Synch Combo Continuous" example at
> > > > http://www.daiglenet.com/MSAccess.htm helps.
> > > >
> > > > If not, post back, and I'll try and pull something together based on

my
> > > > Febuary, 2006 "Access Answers" column in Pinnacle Publication's

"Smart
> > > > Access". (Unfortunately, my contract with them doesn't allow me to

post
> > my
> > > > columns on the web until 6 months after they appear in print)
> > > >
> > > > --
> > > > Doug Steele, Microsoft Access MVP
> > > > http://I.Am/DougSteele
> > > > (no e-mails, please!)
> > > >
> > > >
> > > > "whitesnow" wrote in message
> > > > news:AA410CEE-B277-40E9-B14B-0649DECA3A1D@microsoft.com...
> > > > > Douglas, Even though it solved the problem of disappeared

selection,
> > but I
> > > > > found that in the demonstration the link provided, it does not

allow
> > to
> > > > add
> > > > > new records, so it is the same to my database. I am being hanged

up
> > here.
> > > > > Please help.
> > > > >
> > > > > "whitesnow" wrote:
> > > > >
> > > > > > Many thanks, Douglas. This solved the problem.
> > > > > >
> > > > > > "Douglas J. Steele" wrote:
> > > > > >
> > > > > > > Hold on. You're talking about a continuous form, aren't you.
> > > > > > >
> > > > > > > See whether what Rob Mastrostefano has at
> > > > > > > http://www.fmsinc.com/free/newtips/a...ccesstip16.asp is

what
> > > > you're
> > > > > > > talking about.
> > > > > > >
> > > > > > > --
> > > > > > > Doug Steele, Microsoft Access MVP
> > > > > > > http://I.Am/DougSteele
> > > > > > > (no private e-mails, please)
> > > > > > >
> > > > > > >
> > > > > > > "whitesnow" wrote in

message
> > > > > > > news:B2219E42-FDD5-47CD-8C19-7079DABE961B@microsoft.com...
> > > > > > > > In the combo box of cboCategory, the bound column is 1 and

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
the
> > > > visible
> > > > > > > > column
> > > > > > > > is the 2nd. In table of tblCategory, there are 2 fields,

which
> > are
> > > > > > > > categoryID and categoryName.
> > > > > > > >
> > > > > > > > I tried deleting Me.cboProduct = Null and Me.cboProduct =
> > > > > > > > Me.cboProduct.itemdata(0), it looks like the cbocategory and

the
> > > > > > > > snycronized
> > > > > > > > combo boxes are working fine, but the product that I

selected
> > from
> > > > the
> > > > > > > > corresponding category is not kept visible when I click to

the
> > next
> > > > line.
> > > > > > > > I
> > > > > > > > just could not figure out why.
> > > > > > > >
> > > > > > > > I wish I could copy you the screen to better explain the

> > problem.
> > > > > > > >
> > > > > > > > Many thanks for your great patient.
> > > > > > > >
> > > > > > > > "Douglas J. Steele" wrote:
> > > > > > > >
> > > > > > > >> What error are you getting?
> > > > > > > >>
> > > > > > > >> Which column is the bound column in your combo box, and

which
> > > > column is
> > > > > > > >> the
> > > > > > > >> visible one?
> > > > > > > >>
> > > > > > > >> --
> > > > > > > >> Doug Steele, Microsoft Access MVP
> > > > > > > >> http://I.Am/DougSteele
> > > > > > > >> (no private e-mails, please)
> > > > > > > >>
> > > > > > > >>
> > > > > > > >> "whitesnow" wrote in

> > message
> > > > > > > >> news:BB0A9F92-5C11-464E-8250-D00CEAA12F44@microsoft.com...
> > > > > > > >> > Sorry it was typo mistake, in fact it was correctly

written
> > as
> > > > itemdata
> > > > > > > >> > in
> > > > > > > >> > the cboCategory after update event procedure. Could you

> > please
> > > > kindly
> > > > > > > >> > enough
> > > > > > > >> > to go ahead to point out what should I do next?
> > > > > > > >> >
> > > > > > > >> > Many thanks
> > > > > > > >> >
> > > > > > > >> > "Douglas J Steele" wrote:
> > > > > > > >> >
> > > > > > > >> >> Assuming that's copied and pasted, it should be

itemdata,
> > not
> > > > > > > >> >> itemdate.
> > > > > > > >> >>
> > > > > > > >> >> If it isn't copied and pasted, what's the real code

you're
> > > > using?
> > > > > > > >> >>
> > > > > > > >> >> --
> > > > > > > >> >> Doug Steele, Microsoft Access MVP
> > > > > > > >> >> http://I.Am/DougSteele
> > > > > > > >> >> (no e-mails, please!)
> > > > > > > >> >>
> > > > > > > >> >>
> > > > > > > >> >> "whitesnow" wrote

in
> > > > message
> > > > > > > >> >>

news:0408E237-6746-4AB6-8A27-8EEEB9670E44@microsoft.com...
> > > > > > > >> >> > Thank you very much for your suggestion and I have now

> > changed
> > > > them
> > > > > > > >> >> > to
> > > > > > > >> >> bound
> > > > > > > >> >> > boxes. But then I have other problems, when I try to

make
> > > > selection
> > > > > > > >> >> > for
> > > > > > > >> >> the
> > > > > > > >> >> > new record from the list of category, the run time

error
> > > > dialogue
> > > > > > > >> >> > pops
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> > > > > > > >> >> > up.
> > > > > > > >> >> In
> > > > > > > >> >> > fact I put below codes into the cbocategory

afterupdated
> > > > event:
> > > > > > > >> >> >
> > > > > > > >> >> > private sub cboCategory_AfterUpdate()
> > > > > > > >> >> > me.cboproduct = Null
> > > > > > > >> >> > Me.cboproduct.requery
> > > > > > > >> >> > me.cboproduct = me.cboproduct.itemdate(0)
> > > > > > > >> >> > End sub
> > > > > > > >> >> >
> > > > > > > >> >> > Could you please kind enought to point out what should

I
> > do
> > > > and
> > > > > > > >> >> > thank
> > > > > > > >> >> > you
> > > > > > > >> >> > again for taking the time to address my inquiry as

well as
> > > > bearing
> > > > > > > >> >> > with
> > > > > > > >> >> > me
> > > > > > > >> >> > that I am a beginner of using Access.
> > > > > > > >> >> >
> > > > > > > >> >> > "Douglas J. Steele" wrote:
> > > > > > > >> >> >
> > > > > > > >> >> > > Sounds as though you don't have the combo boxes

bound to
> > a
> > > > field
> > > > > > > >> >> > > in
> > > > > > > >> >> > > the
> > > > > > > >> >> > > underlying table/query.
> > > > > > > >> >> > >
> > > > > > > >> >> > > --
> > > > > > > >> >> > > Doug Steele, Microsoft Access MVP
> > > > > > > >> >> > > http://I.Am/DougSteele
> > > > > > > >> >> > > (no private e-mails, please)
> > > > > > > >> >> > >
> > > > > > > >> >> > >
> > > > > > > >> >> > > "whitesnow"

wrote
> > in
> > > > message
> > > > > > > >> >> > >

> > news:95332592-7984-4E37-AD1C-B857068A7824@microsoft.com...
> > > > > > > >> >> > > >I have successfully synchronize two combo boxes on

a
> > > > subform
> > > > > > > >> >> > > >named
> > > > > > > >> >> > > >as
> > > > > > > >> >> > > > suborderdetail and the master form is

frmorderentry.
> > The
> > > > two
> > > > > > > >> >> > > > combo
> > > > > > > >> >> boxes
> > > > > > > >> >> > > > is
> > > > > > > >> >> > > > cbocategory and cboproduct. Unfortunately, when I

try
> > to
> > > > enter
> > > > > > > >> >> > > > the
> > > > > > > >> >> > > > orderdetail and to make selection in list of the

> > category
> > > > and
> > > > > > > >> >> products,
> > > > > > > >> >> > > > all
> > > > > > > >> >> > > > the rest of the records changed and became exactly

the
> > > > same as
> > > > > > > >> >> > > > the
> > > > > > > >> >> latest
> > > > > > > >> >> > > > entry I just made. For instance, when I enter in

the
> > 10th
> > > > order
> > > > > > > >> >> > > > with
> > > > > > > >> >> > > > cat-A,
> > > > > > > >> >> > > > prod-a, all my previous entries and the entries

that I
> > > > have not
> > > > > > > >> >> > > > made,
> > > > > > > >> >> they
> > > > > > > >> >> > > > all shows cat-A, prod-a. Please kindly advice what

> > should
> > > > I do?I
> > > > > > > >> >> > > > want
> > > > > > > >> >> > > > every
> > > > > > > >> >> > > > single entry is kept as I selected from the list

of
> > those
> > > > two
> > > > > > > >> >> > > > combo
> > > > > > > >> >> boxes.
> > > > > > > >> >> > > >
> > > > > > > >> >> > >
> > > > > > > >> >> > >
> > > > > > > >> >> > >
> > > > > > > >> >>
> > > > > > > >> >>
> > > > > > > >> >>
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > > >
> > > >
> > > >
> > > >

> >
> >
> >



Reply With Quote
  #16 (permalink)  
Old 28-Jul-2006, 08:18 AM
whitesnow's Avatar whitesnow
Guest
 
Posts: n/a
   
   
Re: seeking solution to synchronize two combo boxes on a subform

Doug, thanks for the link and it's very helpful to me.
As for my database, I notice that it was not completely succeeded. When I
tried to add new records, the selection for the product could not keep
visible when moving on to the next line. Well, I actually refer to the sample
of form frmSyncComboInContinuous in SynchComboContinuous.mdb, which is from
http://www.daiglenet.com/MSAccess.htm. Everything is the same except that I
built the continuous form in the subform I guess it is because I did not
successfully made the text box over the combo box. Even thought I have added
the codes that you offered into the load event of the subform, on design
view, I still see the ProductID over the ProductName. Pls advice what should
I do next. I really wish I could scan you the picture or even send you the
database.

"Douglas J Steele" wrote:

> There are 28 columns already posted at
> http://www.accessmvp.com/DJSteele/SmartAccess.html
>
> I try to update the page during the first few days of the month, so the
> Febuary one should be there in early August.
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
> "whitesnow" wrote in message
> news:E35482F6-255D-40A3-A410-176D91BBA007@microsoft.com...
> > Doug, it is suceeded! Many thankful to you. With your BIG help, I would

> like
> > to continue having fun with my access database and looking forward to

> reading
> > your column on-line. Would that be all right for you to keep me posted?
> >
> > "Douglas J Steele" wrote:
> >
> > > You can put the text box over the combo box using code. Try something

> like
> > > the following in the form's Load event:
> > >
> > > Me.MyTextBox.Left = Me.MyComboBox.Left
> > > Me.MyTextBox.Top = Me.MyComboBox.Top
> > > Me.MyTextBox.Width = Me.MyComboBox.Width - 250
> > >
> > > (replace "MyTextBox" and "MyComboBox" with the appropriate control

> names)
> > >
> > > Unfortunately, the column won't be on-line for another 2 months.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> > >
> > > --
> > > Doug Steele, Microsoft Access MVP
> > > http://I.Am/DougSteele
> > > (no e-mails, please!)
> > >
> > >
> > > "whitesnow" wrote in message
> > > news:57E6BEAA-D606-4B42-BCBF-BFBA4195A348@microsoft.com...
> > > > Douglas, I do appreciate your reply very much. The link you offered is
> > > very
> > > > helpful. In the subform, I inserted the text box of Product to the

> order
> > > > detail subform by reference to the sample provided. The #error is no
> > > longer
> > > > shown. Wow, so thankful to you. But I do not know how to make the

> product
> > > > control directly over the cboproductID control, as a result, the

> control
> > > > source of product and productID are both shown in the subform. Pls.

> how
> > > can I
> > > > get it done?
> > > >
> > > > I wish I could see the "Access Answers" you published in Smart Access.
> > > That
> > > > would be great.
> > > >
> > > > "Douglas J Steele" wrote:
> > > >
> > > > > Check whether Sandra Daigle's "Synch Combo Continuous" example at
> > > > > http://www.daiglenet.com/MSAccess.htm helps.
> > > > >
> > > > > If not, post back, and I'll try and pull something together based on

> my
> > > > > Febuary, 2006 "Access Answers" column in Pinnacle Publication's

> "Smart
> > > > > Access". (Unfortunately, my contract with them doesn't allow me to

> post
> > > my
> > > > > columns on the web until 6 months after they appear in print)
> > > > >
> > > > > --
> > > > > Doug Steele, Microsoft Access MVP
> > > > > http://I.Am/DougSteele
> > > > > (no e-mails, please!)
> > > > >
> > > > >
> > > > > "whitesnow" wrote in message
> > > > > news:AA410CEE-B277-40E9-B14B-0649DECA3A1D@microsoft.com...
> > > > > > Douglas, Even though it solved the problem of disappeared

> selection,
> > > but I
> > > > > > found that in the demonstration the link provided, it does not

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> allow
> > > to
> > > > > add
> > > > > > new records, so it is the same to my database. I am being hanged

> up
> > > here.
> > > > > > Please help.
> > > > > >
> > > > > > "whitesnow" wrote:
> > > > > >
> > > > > > > Many thanks, Douglas. This solved the problem.
> > > > > > >
> > > > > > > "Douglas J. Steele" wrote:
> > > > > > >
> > > > > > > > Hold on. You're talking about a continuous form, aren't you.
> > > > > > > >
> > > > > > > > See whether what Rob Mastrostefano has at
> > > > > > > > http://www.fmsinc.com/free/newtips/a...ccesstip16.asp is

> what
> > > > > you're
> > > > > > > > talking about.
> > > > > > > >
> > > > > > > > --
> > > > > > > > Doug Steele, Microsoft Access MVP
> > > > > > > > http://I.Am/DougSteele
> > > > > > > > (no private e-mails, please)
> > > > > > > >
> > > > > > > >
> > > > > > > > "whitesnow" wrote in

> message
> > > > > > > > news:B2219E42-FDD5-47CD-8C19-7079DABE961B@microsoft.com...
> > > > > > > > > In the combo box of cboCategory, the bound column is 1 and

> the
> > > > > visible
> > > > > > > > > column
> > > > > > > > > is the 2nd. In table of tblCategory, there are 2 fields,

> which
> > > are
> > > > > > > > > categoryID and categoryName.
> > > > > > > > >
> > > > > > > > > I tried deleting Me.cboProduct = Null and Me.cboProduct =
> > > > > > > > > Me.cboProduct.itemdata(0), it looks like the cbocategory and

> the
> > > > > > > > > snycronized
> > > > > > > > > combo boxes are working fine, but the product that I

> selected
> > > from
> > > > > the
> > > > > > > > > corresponding category is not kept visible when I click to

> the
> > > next
> > > > > line.
> > > > > > > > > I
> > > > > > > > > just could not figure out why.
> > > > > > > > >
> > > > > > > > > I wish I could copy you the screen to better explain the
> > > problem.
> > > > > > > > >
> > > > > > > > > Many thanks for your great patient.
> > > > > > > > >
> > > > > > > > > "Douglas J. Steele" wrote:
> > > > > > > > >
> > > > > > > > >> What error are you getting?
> > > > > > > > >>
> > > > > > > > >> Which column is the bound column in your combo box, and

> which
> > > > > column is
> > > > > > > > >> the
> > > > > > > > >> visible one?
> > > > > > > > >>
> > > > > > > > >> --
> > > > > > > > >> Doug Steele, Microsoft Access MVP
> > > > > > > > >> http://I.Am/DougSteele
> > > > > > > > >> (no private e-mails, please)
> > > > > > > > >>
> > > > > > > > >>
> > > > > > > > >> "whitesnow" wrote in
> > > message
> > > > > > > > >> news:BB0A9F92-5C11-464E-8250-D00CEAA12F44@microsoft.com...
> > > > > > > > >> > Sorry it was typo mistake, in fact it was correctly

> written
> > > as
> > > > > itemdata
> > > > > > > > >> > in
> > > > > > > > >> > the cboCategory after update event procedure. Could you
> > > please
> > > > > kindly
> > > > > > > > >> > enough
> > > > > > > > >> > to go ahead to point out what should I do next?
> > > > > > > > >> >
> > > > > > > > >> > Many thanks
> > > > > > > > >> >
> > > > > > > > >> > "Douglas J Steele" wrote:
> > > > > > > > >> >
> > > > > > > > >> >> Assuming that's copied and pasted, it should be

> itemdata,
> > > not
> > > > > > > > >> >> itemdate.
> > > > > > > > >> >>
> > > > > > > > >> >> If it isn't copied and pasted, what's the real code

> you're
> > > > > using?
> > > > > > > > >> >>
> > > > > > > > >> >> --
> > > > > > > > >> >> Doug Steele, Microsoft Access MVP
> > > > > > > > >> >> http://I.Am/DougSteele
> > > > > > > > >> >> (no e-mails, please!)
> > > > > > > > >> >>
> > > > > > > > >> >>
> > > > > > > > >> >> "whitesnow" wrote

> in
> > > > > message
> > > > > > > > >> >>

> news:0408E237-6746-4AB6-8A27-8EEEB9670E44@microsoft.com...
> > > > > > > > >> >> > Thank you very much for your suggestion and I have now
> > > changed
> > > > > them
> > > > > > > > >> >> > to
> > > > > > > > >> >> bound
> > > > > > > > >> >> > boxes. But then I have other problems, when I try to

> make
> > > > > selection
> > > > > > > > >> >> > for
> > > > > > > > >> >> the
> > > > > > > > >> >> > new record from the list of category, the run time

> error
> > > > > dialogue
> > > > > > > > >> >> > pops
> > > > > > > > >> >> > up.
> > > > > > > > >> >> In
> > > > > > > > >> >> > fact I put below codes into the cbocategory

> afterupdated
> > > > > event:
> > > > > > > > >> >> >
> > > > > > > > >> >> > private sub cboCategory_AfterUpdate()
> > > > > > > > >> >> > me.cboproduct = Null
> > > > > > > > >> >> > Me.cboproduct.requery
> > > > > > > > >> >> > me.cboproduct = me.cboproduct.itemdate(0)
> > > > > > > > >> >> > End sub
> > > > > > > > >> >> >
> > > > > > > > >> >> > Could you please kind enought to point out what should

> I
> > > do
> > > > > and
> > > > > > > > >> >> > thank
> > > > > > > > >> >> > you
> > > > > > > > >> >> > again for taking the time to address my inquiry as

> well as
> > > > > bearing
> > > > > > > > >> >> > with
> > > > > > > > >> >> > me
> > > > > > > > >> >> > that I am a beginner of using Access.
> > > > > > > > >> >> >
> > > > > > > > >> >> > "Douglas J. Steele" wrote:
> > > > > > > > >> >> >
> > > > > > > > >> >> > > Sounds as though you don't have the combo boxes

> bound to
> > > a
> > > > > field
> > > > > > > > >> >> > > in
> > > > > > > > >> >> > > the
> > > > > > > > >> >> > > underlying table/query.
> > > > > > > > >> >> > >
> > > > > > > > >> >> > > --
> > > > > > > > >> >> > > Doug Steele, Microsoft Access MVP
> > > > > > > > >> >> > > http://I.Am/DougSteele
> > > > > > > > >> >> > > (no private e-mails, please)
> > > > > > > > >> >> > >
> > > > > > > > >> >> > >
> > > > > > > > >> >> > > "whitesnow"

> wrote
> > > in
> > > > > message
> > > > > > > > >> >> > >
> > > news:95332592-7984-4E37-AD1C-B857068A7824@microsoft.com...
> > > > > > > > >> >> > > >I have successfully synchronize two combo boxes on

> a
> > > > > subform
> > > > > > > > >> >> > > >named
> > > > > > > > >> >> > > >as
> > > > > > > > >> >> > > > suborderdetail and the master form is

> frmorderentry.
> > > The
> > > > > two
> > > > > > > > >> >> > > > combo
> > > > > > > > >> >> boxes
> > > > > > > > >> >> > > > is
> > > > > > > > >> >> > > > cbocategory and cboproduct. Unfortunately, when I

> try
> > > to
> > > > > enter
> > > > > > > > >> >> > > > the
> > > > > > > > >> >> > > > orderdetail and to make selection in list of the
> > > category
> > > > > and
> > > > > > > > >> >> products,
> > > > > > > > >> >> > > > all
> > > > > > > > >> >> > > > the rest of the records changed and became exactly

> the
> > > > > same as
> > > > > > > > >> >> > > > the
> > > > > > > > >> >> latest
> > > > > > > > >> >> > > > entry I just made. For instance, when I enter in

> the
> > > 10th
> > > > > order
> > > > > > > > >> >> > > > with
> > > > > > > > >> >> > > > cat-A,
> > > > > > > > >> >> > > > prod-a, all my previous entries and the entries

> that I
> > > > > have not
> > > > > > > > >> >> > > > made,

Reply With Quote
  #17 (permalink)  
Old 28-Jul-2006, 08:19 AM
whitesnow's Avatar whitesnow
Guest
 
Posts: n/a
   
   
Re: seeking solution to synchronize two combo boxes on a subform

  Donate Today!  
Doug, Good news is that my subform works smoothly now after I copied those
text and combo controls directly from the sample and made the necessary
changes to fit mine. It is amazing that it worked. I still want to thank you
for all your time spended in replying my questions.

With regards,

"whitesnow" wrote:

> Doug, thanks for the link and it's very helpful to me.
> As for my database, I notice that it was not completely succeeded. When I
> tried to add new records, the selection for the product could not keep
> visible when moving on to the next line. Well, I actually refer to the sample
> of form frmSyncComboInContinuous in SynchComboContinuous.mdb, which is from
> http://www.daiglenet.com/MSAccess.htm. Everything is the same except that I
> built the continuous form in the subform I guess it is because I did not
> successfully made the text box over the combo box. Even thought I have added
> the codes that you offered into the load event of the subform, on design
> view, I still see the ProductID over the ProductName. Pls advice what should
> I do next. I really wish I could scan you the picture or even send you the
> database.
>
> "Douglas J Steele" wrote:
>
> > There are 28 columns already posted at
> > http://www.accessmvp.com/DJSteele/SmartAccess.html
> >
> > I try to update the page during the first few days of the month, so the
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> > Febuary one should be there in early August.
> >
> > --
> > Doug Steele, Microsoft Access MVP
> > http://I.Am/DougSteele
> > (no e-mails, please!)
> >
> >
> > "whitesnow" wrote in message
> > news:E35482F6-255D-40A3-A410-176D91BBA007@microsoft.com...
> > > Doug, it is suceeded! Many thankful to you. With your BIG help, I would

> > like
> > > to continue having fun with my access database and looking forward to

> > reading
> > > your column on-line. Would that be all right for you to keep me posted?
> > >
> > > "Douglas J Steele" wrote:
> > >
> > > > You can put the text box over the combo box using code. Try something

> > like
> > > > the following in the form's Load event:
> > > >
> > > > Me.MyTextBox.Left = Me.MyComboBox.Left
> > > > Me.MyTextBox.Top = Me.MyComboBox.Top
> > > > Me.MyTextBox.Width = Me.MyComboBox.Width - 250
> > > >
> > > > (replace "MyTextBox" and "MyComboBox" with the appropriate control

> > names)
> > > >
> > > > Unfortunately, the column won't be on-line for another 2 months.
> > > >
> > > > --
> > > > Doug Steele, Microsoft Access MVP
> > > > http://I.Am/DougSteele
> > > > (no e-mails, please!)
> > > >
> > > >
> > > > "whitesnow" wrote in message
> > > > news:57E6BEAA-D606-4B42-BCBF-BFBA4195A348@microsoft.com...
> > > > > Douglas, I do appreciate your reply very much. The link you offered is
> > > > very
> > > > > helpful. In the subform, I inserted the text box of Product to the

> > order
> > > > > detail subform by reference to the sample provided. The #error is no
> > > > longer
> > > > > shown. Wow, so thankful to you. But I do not know how to make the

> > product
> > > > > control directly over the cboproductID control, as a result, the

> > control
> > > > > source of product and productID are both shown in the subform. Pls.

> > how
> > > > can I
> > > > > get it done?
> > > > >
> > > > > I wish I could see the "Access Answers" you published in Smart Access.
> > > > That
> > > > > would be great.
> > > > >
> > > > > "Douglas J Steele" wrote:
> > > > >
> > > > > > Check whether Sandra Daigle's "Synch Combo Continuous" example at
> > > > > > http://www.daiglenet.com/MSAccess.htm helps.
> > > > > >
> > > > > > If not, post back, and I'll try and pull something together based on

> > my
> > > > > > Febuary, 2006 "Access Answers" column in Pinnacle Publication's

> > "Smart
> > > > > > Access". (Unfortunately, my contract with them doesn't allow me to

> > post
> > > > my
> > > > > > columns on the web until 6 months after they appear in print)
> > > > > >
> > > > > > --
> > > > > > Doug Steele, Microsoft Access MVP
> > > > > > http://I.Am/DougSteele
> > > > > > (no e-mails, please!)
> > > > > >
> > > > > >
> > > > > > "whitesnow" wrote in message
> > > > > > news:AA410CEE-B277-40E9-B14B-0649DECA3A1D@microsoft.com...
> > > > > > > Douglas, Even though it solved the problem of disappeared

> > selection,
> > > > but I
> > > > > > > found that in the demonstration the link provided, it does not

> > allow
> > > > to
> > > > > > add
> > > > > > > new records, so it is the same to my database. I am being hanged

> > up
> > > > here.
> > > > > > > Please help.
> > > > > > >
> > > > > > > "whitesnow" wrote:
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> > > > > > >
> > > > > > > > Many thanks, Douglas. This solved the problem.
> > > > > > > >
> > > > > > > > "Douglas J. Steele" wrote:
> > > > > > > >
> > > > > > > > > Hold on. You're talking about a continuous form, aren't you.
> > > > > > > > >
> > > > > > > > > See whether what Rob Mastrostefano has at
> > > > > > > > > http://www.fmsinc.com/free/newtips/a...ccesstip16.asp is

> > what
> > > > > > you're
> > > > > > > > > talking about.
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Doug Steele, Microsoft Access MVP
> > > > > > > > > http://I.Am/DougSteele
> > > > > > > > > (no private e-mails, please)
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > "whitesnow" wrote in

> > message
> > > > > > > > > news:B2219E42-FDD5-47CD-8C19-7079DABE961B@microsoft.com...
> > > > > > > > > > In the combo box of cboCategory, the bound column is 1 and

> > the
> > > > > > visible
> > > > > > > > > > column
> > > > > > > > > > is the 2nd. In table of tblCategory, there are 2 fields,

> > which
> > > > are
> > > > > > > > > > categoryID and categoryName.
> > > > > > > > > >
> > > > > > > > > > I tried deleting Me.cboProduct = Null and Me.cboProduct =
> > > > > > > > > > Me.cboProduct.itemdata(0), it looks like the cbocategory and

> > the
> > > > > > > > > > snycronized
> > > > > > > > > > combo boxes are working fine, but the product that I

> > selected
> > > > from
> > > > > > the
> > > > > > > > > > corresponding category is not kept visible when I click to

> > the
> > > > next
> > > > > > line.
> > > > > > > > > > I
> > > > > > > > > > just could not figure out why.
> > > > > > > > > >
> > > > > > > > > > I wish I could copy you the screen to better explain the
> > > > problem.
> > > > > > > > > >
> > > > > > > > > > Many thanks for your great patient.
> > > > > > > > > >
> > > > > > > > > > "Douglas J. Steele" wrote:
> > > > > > > > > >
> > > > > > > > > >> What error are you getting?
> > > > > > > > > >>
> > > > > > > > > >> Which column is the bound column in your combo box, and

> > which
> > > > > > column is
> > > > > > > > > >> the
> > > > > > > > > >> visible one?
> > > > > > > > > >>
> > > > > > > > > >> --
> > > > > > > > > >> Doug Steele, Microsoft Access MVP
> > > > > > > > > >> http://I.Am/DougSteele
> > > > > > > > > >> (no private e-mails, please)
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > > >> "whitesnow" wrote in
> > > > message
> > > > > > > > > >> news:BB0A9F92-5C11-464E-8250-D00CEAA12F44@microsoft.com...
> > > > > > > > > >> > Sorry it was typo mistake, in fact it was correctly

> > written
> > > > as
> > > > > > itemdata
> > > > > > > > > >> > in
> > > > > > > > > >> > the cboCategory after update event procedure. Could you
> > > > please
> > > > > > kindly
> > > > > > > > > >> > enough
> > > > > > > > > >> > to go ahead to point out what should I do next?
> > > > > > > > > >> >
> > > > > > > > > >> > Many thanks
> > > > > > > > > >> >
> > > > > > > > > >> > "Douglas J Steele" wrote:
> > > > > > > > > >> >
> > > > > > > > > >> >> Assuming that's copied and pasted, it should be

> > itemdata,
> > > > not
> > > > > > > > > >> >> itemdate.
> > > > > > > > > >> >>
> > > > > > > > > >> >> If it isn't copied and pasted, what's the real code

> > you're
> > > > > > using?
> > > > > > > > > >> >>
> > > > > > > > > >> >> --
> > > > > > > > > >> >> Doug Steele, Microsoft Access MVP
> > > > > > > > > >> >> http://I.Am/DougSteele
> > > > > > > > > >> >> (no e-mails, please!)
> > > > > > > > > >> >>
> > > > > > > > > >> >>
> > > > > > > > > >> >> "whitesnow" wrote

> > in
> > > > > > message
> > > > > > > > > >> >>

> > news:0408E237-6746-4AB6-8A27-8EEEB9670E44@microsoft.com...
> > > > > > > > > >> >> > Thank you very much for your suggestion and I have now
> > > > changed
> > > > > > them
> > > > > > > > > >> >> > to
> > > > > > > > > >> >> bound
> > > > > > > > > >> >> > boxes. But then I have other problems, when I try to

> > make
> > > > > > selection
> > > > > > > > > >> >> > for
> > > > > > > > > >> >> the
> > > > > > > > > >> >> > new record from the list of category, the run time

> > error
> > > > > > dialogue
> > > > > > > > > >> >> > pops
> > > > > > > > > >> >> > up.
> > > > > > > > > >> >> In
> > > > > > > > > >> >> > fact I put below codes into the cbocategory

> > afterupdated
> > > > > > event:
> > > > > > > > > >> >> >
> > > > > > > > > >> >> > private sub cboCategory_AfterUpdate()
> > > > > > > > > >> >> > me.cboproduct = Null
> > > > > > > > > >> >> > Me.cboproduct.requery
> > > > > > > > > >> >> > me.cboproduct = me.cboproduct.itemdate(0)
> > > > > > > > > >> >> > End sub
> > > > > > > > > >> >> >
> > > > > > > > > >> >> > Could you please kind enought to point out what should

> > I
> > > > do
> > > > > > and
> > > > > > > > > >> >> > thank
> > > > > > > > > >> >> > you
> > > > > > > > > >> >> > again for taking the time to address my inquiry as

> > well as
> > > > > > bearing
> > > > > > > > > >> >> > with
> > > > > > > > > >> >> > me
> > > > > > > > > >> >> > that I am a beginner of using Access.
> > > > > > > > > >> >> >
> > > > > > > > > >> >> > "Douglas J. Steele" wrote:
> > > > > > > > > >> >> >
> > > > > > > > > >> >> > > Sounds as though you don't have the combo boxes

> > bound to
> > > > a
> > > > > > field
> > > > > > > > > >> >> > > in
> > > > > > > > > >> >> > > the
> > > > > > > > > >> >> > > underlying table/query.
> > > > > > > > > >> >> > >
> > > > > > > > > >> >> > > --
> > > > > > > > > >> >> > > Doug Steele, Microsoft Access MVP
> > > > > > > > > >> >> > > http://I.Am/DougSteele
> > > > > > > > > >> >> > > (no private e-mails, please)
> > > > > > > > > >> >> > >
> > > > > > > > > >> >> > >
> > > > > > > > > >> >> > > "whitesnow"

> > wrote
> > > > in
> > > > > > message
> > > > > > > > > >> >> > >
> > > > news:95332592-7984-4E37-AD1C-B857068A7824@microsoft.com...
> > > > > > > > > >> >> > > >I have successfully synchronize two combo boxes on

> > a
> > > > > > subform
> > > > > > > > > >> >> > > >named
> > > > > > > > > >> >> > > >as
> > > > > > > > > >> >> > > > suborderdetail and the master form is

> > frmorderentry.
> > > > The
> > > > > > two
> > > > > > > > > >> >> > > > combo
> > > > > > > > > >> >> boxes
> > > > > > > > > >> >> > > > is
> > > > > > > > > >> >> > > > cbocategory and cboproduct. Unfortunately, when I

> > try
> > > > to
> > > > > > enter
> > > > > > > > > >> >> > > > the
> > > > > > > > > >> >> > > > orderdetail and to make selection in list of the
> > > > category
> > > > > > and
> > > > > > > > > >> >> products,
> > > > > > > > > >> >> > > > all

Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Gurbani Jukebox
Listen to Gurbani while surfing SPN!
» Active Discussions
sikhism Who is "Mohan"?
Today 06:52 AM
21 Replies, 315 Views
sikhism need urgent advice.......
Today 06:46 AM
6 Replies, 69 Views
sikhism ਨਾਮਾ
Today 06:37 AM
2 Replies, 43 Views
sikhism Sikh Diamonds Video...
Today 04:23 AM
6 Replies, 112 Views
sikhism Are Creator and Creation...
Today 01:30 AM
44 Replies, 2,829 Views
sikhism Herman Hesse,...
Today 00:54 AM
13 Replies, 225 Views
sikhism On a Scale of Most...
Yesterday 21:42 PM
30 Replies, 1,271 Views
sikhism I became victim by...
Yesterday 19:50 PM
0 Replies, 39 Views
sikhism How important is Matha...
By Ishna
Yesterday 19:05 PM
58 Replies, 1,025 Views
sikhism Sikh Books downloads
Yesterday 15:39 PM
2 Replies, 62 Views
sikhism Salok Sheikh Farid ji...
Yesterday 09:35 AM
0 Replies, 42 Views
sikhism In Punjab, three farmers...
Yesterday 05:36 AM
0 Replies, 45 Views
sikhism Supernatural Sikhs, what...
Yesterday 03:45 AM
19 Replies, 408 Views
sikhism Sukhmani Sahib Astpadi...
26-May-2012 22:57 PM
0 Replies, 46 Views
Do You Think You Are...
26-May-2012 09:59 AM
94 Replies, 8,258 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.2

All times are GMT +6.5. The time now is 06:53 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.2 Copyright 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 1.56980 seconds with 30 queries