Results 1 to 10 of 10
  1. #1
    mejia.j88 is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Nov 2011
    Location
    california
    Posts
    228

    Viewing a read-only table

    Hi all,



    i have a simple db that contains a table in which temperatures are dumped via Labview program.

    the program records temperatures of a furnace every 12 seconds for an hour.

    in my swithboard, i have added a button that opens the table for people to view the data if needed.

    ideally, i would want this table to be read only; what is the best way to accomplish this?

    should i make a form in which to display the records?
    is there a read-only option?
    what would you do?

    thanks!

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    I would use a form, and set the various Allow Edits/Additions/Deletions properties to No. I never let users view tables or queries directly.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    mejia.j88 is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Nov 2011
    Location
    california
    Posts
    228
    and to display the table on the form?
    would i have to use a subform or any sort?

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Just bind the form to the table (record source). You shouldn't need a subform, generally speaking.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    mejia.j88 is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Nov 2011
    Location
    california
    Posts
    228
    if i bind the table to the form and nothing else, the form will come up blank.

    i want the user to be able to see all of the temperatures at once, as if they were looking at the table.

    on a given profile of a furnace, there will be 300 records to look at.

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Well, you'd obviously have to have text boxes with control sources of fields in that table. Did you try the form wizard?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  7. #7
    mejia.j88 is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Nov 2011
    Location
    california
    Posts
    228
    i didn't use the wizard; i also didnt want to use text boxes because i didnt want the operator to click through 300 records; that is why i wanted to display it as a table, it would be easier to view 300 records by scrolling down through them.
    Last edited by mejia.j88; 04-16-2012 at 05:10 PM. Reason: i have terrible typing skills and terrible spelling.

  8. #8
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    You can use Continuous or Datasheet view, either of which will look more like the table. I prefer Continuous, but you might prefer Datasheet as it will look almost exactly like the table.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  9. #9
    mejia.j88 is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Nov 2011
    Location
    california
    Posts
    228
    ohh, i see, first time creating a form that works this way.

    thanks so much pbaldy

  10. #10
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Happy to help.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 3
    Last Post: 10-24-2011, 08:13 AM
  2. VBA: Read table & write values to another table
    By compooper in forum Programming
    Replies: 6
    Last Post: 07-29-2011, 11:19 AM
  3. Table '' is read only
    By jaybee3 in forum Forms
    Replies: 7
    Last Post: 03-24-2011, 01:54 PM
  4. ODBC table read to blank Access table write
    By dibblejon in forum Access
    Replies: 2
    Last Post: 03-10-2010, 08:39 AM
  5. Replies: 2
    Last Post: 10-19-2006, 04: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