Ask a Question related to Microsoft Access, Design and Development.
-
Peter De Baets #1
Re: Auto filling list boxes after combo box selection
"Mark Y" <mycy77@yahoo.com> wrote in message
news:04bd01c3464a$02bc87a0$a101280a@phx.gbl...First, I'd suggest not displaying the BookId if you don't need to. Just have> Hello, I would like a list or combo box to be
> automatically filled by data following the selection I
> make in a combo box. The combo box is selecting available
> books from a query of books not checked-out. I want the
> box filled with the bookId and the next box to be
> automatically updated with the title of the book. any
> suggestions?
one combo box with two columns, BookId and BookTitle, then set the width of
the first column to 0. Then your BookTitle will appear in the combo box, but
the value of the combo box will be the BookId (assuming you have BoundColumn
= 1).
If you must have a separate field for the book title, then it sounds like
you need a text box for this, not a combo or list box. Set the control
source of the text box to be the column of your BookId, BookTitle combo box
that contains the title. I.e.: =MyComboBox.Column(1). Then from the
AfterUpdate event procedure of your combo box put the code Me.Requery. Also
put this code in the form OnCurrent event procedure.
Hope this helps,
--
Peter De Baets
Peter's Software - MS Access Tools for Developers
[url]http://www.peterssoftware.com[/url]
Peter De Baets Guest
-
Need help with xml and combo boxes
Basically what im doing is a ui for a electronic book. The book is broken into 3 parts and each part has its own set of chapters. My xml schema... -
A selection changes on asp page with 6 dependent list boxes, when back
Hello I have 6 dependent list boxes on my ASP page: Faculty; Lecturer; Course; Course occurrence; Group; Week commencing date.... -
Auto filling HTTP Authentication with each WS call made
Hi Neil, You could try this: Override the GetWebRequest method in the proxy class and assign the credential info there for every WS call. ... -
Wizards (Combo and List boxes)
I'm having problems with the Combo box and List box wizards in Access 2000 (on Win XP) I have the Wizard button on the toolbox depressed. When I... -
Bigger list/combo boxes
Combos can work with hundreds of entries, or even thousands. -- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users -...



Reply With Quote

