D Diana Guest Aug 26, 2000 #1 I have a combo box to select the company name and a search button. After the search is done I want to refresh the combo box to set the ListIndex property to -1. Any suggestion? Thanks.
I have a combo box to select the company name and a search button. After the search is done I want to refresh the combo box to set the ListIndex property to -1. Any suggestion? Thanks.
A AHMED KHALAF Registered User. Local time Today, 05:51 Joined Feb 13, 2008 Messages 20 May 24, 2009 #2 I have the same problem and i can not set the controlname to be null value BECAUSE IT IS PRIMARY KYE AND THIS IS MY LIKE TO THE PROBLEM http://www.access-programmers.co.uk/forums/showthread.php?t=170879&page=2 so i need the listindex to -1 but i do not the way any help i'll appreciate Last edited: May 24, 2009
I have the same problem and i can not set the controlname to be null value BECAUSE IT IS PRIMARY KYE AND THIS IS MY LIKE TO THE PROBLEM http://www.access-programmers.co.uk/forums/showthread.php?t=170879&page=2 so i need the listindex to -1 but i do not the way any help i'll appreciate
A AHMED KHALAF Registered User. Local time Today, 05:51 Joined Feb 13, 2008 Messages 20 May 26, 2009 #3 Isn't there any code instead of the listindex -1 to do that ?
A AHMED KHALAF Registered User. Local time Today, 05:51 Joined Feb 13, 2008 Messages 20 May 31, 2009 #4 Hey guys isn't there any solution for this problem ?
gemma-the-husky Super Moderator Staff member Local time Today, 13:51 Joined Sep 12, 2006 Messages 16,053 May 31, 2009 #5 is the combo box bound? if so, then changing its value will affect the current record, so its unwise to do if not, then it will have no effect anyway but simply mycombobox = 0 should do what you want
is the combo box bound? if so, then changing its value will affect the current record, so its unwise to do if not, then it will have no effect anyway but simply mycombobox = 0 should do what you want
A AHMED KHALAF Registered User. Local time Today, 05:51 Joined Feb 13, 2008 Messages 20 Jun 7, 2009 #6 Thanks for your reply but the combo box is a bound to field in table and can not have null value because it is primary key
Thanks for your reply but the combo box is a bound to field in table and can not have null value because it is primary key
gemma-the-husky Super Moderator Staff member Local time Today, 13:51 Joined Sep 12, 2006 Messages 16,053 Jun 8, 2009 #7 but if its bound, then changing it to -1 (or anything else) will set that as the value in the underlying record why would you want to do that?
but if its bound, then changing it to -1 (or anything else) will set that as the value in the underlying record why would you want to do that?
A AHMED KHALAF Registered User. Local time Today, 05:51 Joined Feb 13, 2008 Messages 20 Jun 8, 2009 #8 THIS PHOTO EXPLAIN WHAT I NEED AND I ATTACHED MY FORM TO MAKE THE MODIFICATION THANK YOU FOR YOUR PATIENCE Attachments PURCHASE.zip PURCHASE.zip 221.1 KB · Views: 197 Last edited: Jun 8, 2009
THIS PHOTO EXPLAIN WHAT I NEED AND I ATTACHED MY FORM TO MAKE THE MODIFICATION THANK YOU FOR YOUR PATIENCE
A AHMED KHALAF Registered User. Local time Today, 05:51 Joined Feb 13, 2008 Messages 20 Jun 14, 2009 #9 Is there any one have solution for this problem