Results 1 to 9 of 9
  1. #1
    alex_raju is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jun 2011
    Posts
    56

    Question i want use combo box as text also it should work not in the list option.

    hi,



    i have a combo box in my sales invoice form to select PRODUCT ID and i have given not in the list option. so, created product id only allowed. but now i changed combo box to text ( to be good look), now if i enter product id it is working as before but not in the list is not working. please help me to i want use combo box as text also it should work whatever created data only can be valid.

    thank you
    alex

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Show these properties of the combobox:
    RowSource
    BoundColumn
    Column Widths
    NumberOfColumns
    ControlSource
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    alex_raju is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jun 2011
    Posts
    56

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    alex, your last post shows no info. Just type the properties into post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    alex_raju is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jun 2011
    Posts
    56
    RowSource=========== table/query
    BoundColumn=========1
    Column Widths========0";2.2";1"
    NumberOfColumns(columns count)===3
    ControlSource========SELECT DISTINCT ProductID, ProductName, Discontinued FROM Products ORDER BY [ProductName];

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    What you show as ControlSource is actually RowSource.

    What you show as RowSource is actually RowSourceType.

    What is the ControlSource? This should be field in table.

    You have LimitToList set to Yes? AutoExpand set to Yes?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    alex_raju is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jun 2011
    Posts
    56

    i want use combo box as text also it should work not in the list option.

    hi sir,

    my database ( forms, table, etc..) working perfect, nothing wrong, just i want to know presently i am using a combo box with not in the list potion, now i want change that combo box to text box and i want apply same or like not in the list option.

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    A textbox does not have a list so that option is not available. It has ValidationRule property where you can put criteria for valid data, such as: >0 And <100. Otherwise, use the textbox BeforeUpdate event for code to check the entered value meets criteria.

    Why not stay with the combobox?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  9. #9
    alex_raju is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jun 2011
    Posts
    56
    Quote Originally Posted by June7 View Post
    A textbox does not have a list so that option is not available. It has ValidationRule property where you can put criteria for valid data, such as: >0 And <100. Otherwise, use the textbox BeforeUpdate event for code to check the entered value meets criteria.

    Why not stay with the combobox?
    thank you.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. setting up option boxes for text values
    By wlumpkin in forum Access
    Replies: 4
    Last Post: 02-08-2011, 09:33 AM
  2. Replies: 1
    Last Post: 11-23-2010, 01:30 PM
  3. Replies: 2
    Last Post: 09-16-2010, 06:12 AM
  4. Converting Option value to text
    By James3mc in forum Forms
    Replies: 4
    Last Post: 11-28-2009, 11:19 PM
  5. Replies: 0
    Last Post: 02-24-2009, 12:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums