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!
  #1 (permalink)  
Old 28-Jul-2006, 08:12 AM
whitesnow's Avatar whitesnow
Guest
 
Posts: n/a
   
   
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
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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/10417-seeking-solution-synchronize-two-combo-boxes.html
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
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
  #2 (permalink)  
Old 28-Jul-2006, 08:12 AM
Douglas J. Steele's Avatar Douglas J. Steele
Guest
 
Posts: n/a
   
   
Re: seeking solution to synchronize two combo boxes on a subform

Sounds as though you don't have the combo boxes bound to a field in the
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
underlying table/query.

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


"whitesnow" wrote in message
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
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
  #3 (permalink)  
Old 28-Jul-2006, 08:13 AM
whitesnow's Avatar whitesnow
Guest
 
Posts: n/a
   
   
Re: seeking solution to synchronize two combo boxes on a subform

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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> 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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> > 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
  #4 (permalink)  
Old 28-Jul-2006, 08:13 AM
Douglas J Steele's Avatar Douglas J Steele
Guest
 
Posts: n/a
   
   
Re: seeking solution to synchronize two combo boxes on a subform

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:
>
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> > 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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> > 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
  #5 (permalink)  
Old 28-Jul-2006, 08:13 AM
whitesnow's Avatar whitesnow
Guest
 
Posts: n/a
   
   
Re: seeking solution to synchronize two combo boxes on a subform

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.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
>
> 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

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> 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
  #6 (permalink)  
Old 28-Jul-2006, 08:13 AM
Douglas J. Steele's Avatar Douglas J. Steele
Guest
 
Posts: n/a
   
   
Re: seeking solution to synchronize two combo boxes on a subform

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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
(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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
>> > 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
  #7 (permalink)  
Old 28-Jul-2006, 08:14 AM
whitesnow's Avatar whitesnow
Guest
 
Posts: n/a
   
   
Re: seeking solution to synchronize two combo boxes on a subform

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
> >
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> > "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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> >> > 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
  #8 (permalink)  
Old 28-Jul-2006, 08:14 AM
Douglas J. Steele's Avatar Douglas J. Steele
Guest
 
Posts: n/a
   
   
Re: seeking solution to synchronize two combo boxes on a subform

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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
>> 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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
>> >> > > 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
  #9 (permalink)  
Old 28-Jul-2006, 08:14 AM
whitesnow's Avatar whitesnow
Guest
 
Posts: n/a
   
   
Re: seeking solution to synchronize two combo boxes on a subform

  Donate Today!  
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/showthread.php?t=10417
> >
> > "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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10417
> >> > 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
   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 0.72878 seconds with 30 queries