Results 1 to 2 of 2
  1. #1
    Twinnie is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2014
    Posts
    18

    Macros for web database using access 2010

    I am newbie in Access 2010 and now attempting to design a webdatabase.
    I successfully designed a database initially but it was aclient database (some functions were not supported in web databases)hence Icould not use it on Sharepoint.
    Kindly assist with macros for this web database.
    I have a form with 2 textboxes (txtFirstname, txtSurname), 5combo boxes (cboUnit,CboLevel,cboStd,cboBr,cboGold). Form name is 'frm_test'.
    I have been able to successfully populate the combo boxesusing select queries. When the level combo box is selected, it determines whatwill be displayed on the last 3 combo boxes (cboStd,cbobr,cboGold): I havesuccessfully implemented this and do not require assistance with this.
    However, please help with the 2 points below.


    1. Kindly assist with macros that will ensure form detailsare submitted into a table called Submission. The table has already beencreated with fields 'No', 'Firstname', 'Surname', 'unit', 'Level', 'Standard','Bronze' and 'Gold'. In the client database, I used an append query to submit form details intothe table but this is not supported in web databases, please assist with amacro that can perform same functionality as the append query.
    2. Which macro can I use to confirm if the current selectionfrom a combo box on the form already has up to 2 submissions in the Submissiontable. The function that I used in the client database is"DCount("[standard]","[submission]","[standard]='"& [cbostd] & "'")=2"
    If true, user will be prompted through a message box, tochange selection and pick another entry that still has less than 2 submissions.
    DCount is not supported in web databases, kindly assist withmacros that can perform the same task.
    Thank you.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    There really is no alternate append query. It's the only query that can add data.
    Perhaps another user in the forum can shed light on web version.

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

Similar Threads

  1. 2010 Macros
    By detaylor1242 in forum Programming
    Replies: 1
    Last Post: 09-20-2013, 09:06 PM
  2. Access 2010 audit log using table macros
    By nrgins in forum Programming
    Replies: 13
    Last Post: 05-18-2013, 07:03 AM
  3. Access 2010 Macros
    By jdftwrth98 in forum Programming
    Replies: 1
    Last Post: 07-01-2012, 12:11 PM
  4. Replies: 1
    Last Post: 01-05-2012, 02:34 PM
  5. Really need help with 2010 Macros
    By Tablerone in forum Programming
    Replies: 2
    Last Post: 10-04-2011, 04:27 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