Results 1 to 4 of 4
  1. #1
    David Randle is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2016
    Posts
    6

    How to bind unbound data to table


    Hi

    I would like to know how to populate a table field with unbound data from a form.

    Thank you

    David

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 8 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    What have you tried?

    Readers need more info re your situation. Why not use bound form?

  3. #3
    NTC is offline VIP
    Windows 7 64bit Access 2013
    Join Date
    Nov 2009
    Posts
    2,392
    one has no choice but to write into the table via an append query or update query....

  4. #4
    David Randle is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2016
    Posts
    6
    Thanks

    I fixed this using

    With rst
    .AddNew
    !ProductId = Me!TxtID
    !ProductDescription = Me!TxtProductDescription
    !TransDate = Me!TransDate
    !InorOut = Me!Frame27
    !Quantity = Me!txtQuantity
    !UnitCost = Me!UnitCost
    !GST = Me!GST
    !TotalCost = Me!TotalCost
    .Update
    End With
    rst.Close

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

Similar Threads

  1. Replies: 2
    Last Post: 11-26-2015, 01:24 PM
  2. Replies: 9
    Last Post: 07-13-2015, 09:46 AM
  3. When to Bind data in Form Event Lifecycle
    By Perceptus in forum Programming
    Replies: 3
    Last Post: 12-02-2014, 11:08 AM
  4. Replies: 7
    Last Post: 09-10-2014, 06:56 PM
  5. Replies: 2
    Last Post: 11-07-2012, 08:29 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