Click to See Complete Forum and Search --> : Filling fields on form based on selection from dropdown list
gknierim
January 28th, 2000, 08:56 AM
I have a dropdown list that is populated with a field from my recordset. I also have text boxes on my form from the same recordset. When I select a value from the dropdown, it doesn't populate(update) the rest of the text boxes on the form. I know that I am probably missing something simple here but I can't figure this out. Anyone have any suggestions?
nsundara
January 28th, 2000, 11:15 AM
There should be something wrong with the code. If I can take a look at the code, I may be able to help.
gknierim
January 28th, 2000, 01:10 PM
Well, um..there is no code. I just have the DataCombo box painted on my form with the DataSource as my 'datPrimaryRS' and the DataField as the field in my database. Also, the RowSource is set to 'datPrimaryRS'. The other text fields on my form have the same properties except the DataField property. Is there some other property or extra code I need to update those fields?
nsundara
January 28th, 2000, 01:31 PM
You have to write code to do what you want! It cannot be done by setting properties.
gknierim
January 28th, 2000, 01:41 PM
Ok, then I am back to my original question ...how do I do this?
Thank you
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.