Results 1 to 10 of 10
  1. #1
    George is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Feb 2012
    Posts
    295

    Using a unbounded Datasheet form

    Good Day.

    I created an unbounded datasheet form which I want to use without a connection to a table. I just want to enter values to operate on and then discard.

    My problem is that it would not accept entries. I cant even click into a cell.



    Can anyone please guide me with this problem.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    datasheets MUST connect to a table. It is the basis of Access. (it has to store the value somewhere)
    you can enter into a temp table.

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Or a Continuous form with UNBOUND textboxes arranged to look like datasheet.
    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.

  4. #4
    George is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Feb 2012
    Posts
    295
    Thanks for your guidance.
    However how can you rationalize the fact that unbounded controls are used, stores values, and are not connected to tables?

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    An UNBOUND control will hold a value but is not 'stored' anywhere without code to save to table.
    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.

  6. #6
    George is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Feb 2012
    Posts
    295
    But that is exactly how I want a datasheet to work in this instance. That is I want it to be unbounded, hold some values, and perish when the datasheet is closed. by that time I would have already used the values in the datasheet.

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    As already stated, it won't work and options have been suggested.
    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.

  8. #8
    George is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Feb 2012
    Posts
    295
    Thanks. I have been using the options, which works very well. However Curiosity stills got the better of me. So I can't still understand why a datasheet cannot be used as an unbounded control.

  9. #9
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    A form is not a control object, it is a form object. All data controls in DetailSection on an UNBOUND form, regardless of how arranged, will show as only a single row in DatasheetView. This is because there are no records to cause the controls to 'replicate', data controls must be BOUND to data for Datasheet to display as multiple rows - rows are records.
    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.

  10. #10
    George is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Feb 2012
    Posts
    295
    Thank you. I now understand.

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

Similar Threads

  1. unbounded Combo box
    By Khalil Handal in forum Forms
    Replies: 2
    Last Post: 06-24-2016, 11:51 PM
  2. Replies: 1
    Last Post: 12-09-2015, 10:23 AM
  3. Replies: 8
    Last Post: 08-26-2012, 11:11 PM
  4. Replies: 4
    Last Post: 05-04-2012, 03:41 PM
  5. Unbounded combo box
    By wasim_sono in forum Programming
    Replies: 3
    Last Post: 01-26-2006, 10:14 AM

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