Results 1 to 2 of 2
  1. #1
    mike760534211 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2014
    Posts
    12

    Query Help

    I have DB were the tables are all stored on a sharepoint site. I am using a form that uses =CurrentWebUser(1) in a field for the default value. When I look at the records in the form view they reflect who created the record correctly. So I believe this field is updating correctly.

    In the query I created for a report I am using Between [Start Date:] And [End Date:] as a criteria to prompt the user to input the start and end dates for the report. But I would also like to be able to prompt the user for [Created By] and they input their name and it return the results of the date filter and the user that created the record.

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Why use a parameterized query to get information that you already have with CurrentWebUser()? I have never used CurrentWebUser() so if it is not providing you with the correct info I suggest having some sort of user authentication implemented at login. Use the authenticated ID value

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

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