Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Aspen77

    Changing default file location when adding attachments

    I created a form that allows a user to add an attachment. This is working fine however, the user is having to browse through many folders to get to a location where all the files are stored. Where can I change the default file location when adding an attachment?
  2. Aspen77

    Unrecognized database format

    My database was originally created in Access 2007 and for the past year we have been using Access 2010. I recently moved the database to a Windows 8 Operating system. The DB opened fine and the users were able to add data, however, after a couple of weeks later is when we received the error...
  3. Aspen77

    automatically have the subform open on the a new record

    So you did not have to scroll down when there were 100's of records?
  4. Aspen77

    automatically have the subform open on the a new record

    Sorry, did not see the previous question. It is in the VBA code.
  5. Aspen77

    automatically have the subform open on the a new record

    Yes, I can add new records with the code. The code works great when I open the form directly but when it is called from the main form is when I have the problem of not being able to modify the data using the macro on current event in the subform. The datasheet now without any code works...
  6. Aspen77

    automatically have the subform open on the a new record

    Tried placing the code in the open event of the main form. It did not work. My datasheet subform has a master/child relationship. The only thing that seems to work partially is placing the gotorecord macro in the current event on the subform. It will let me add a new record but not modify any...
  7. Aspen77

    automatically have the subform open on the a new record

    I apologize the code you provided worked, however, if the datasheet had a few records then it opened on a new record. If the form had over 20 records then I had to scroll down to get to the new record. Whereas, the gotorecord took me directly to the new record regardless of how many records...
  8. Aspen77

    automatically have the subform open on the a new record

    Tried the code you provided in the open event , however, it did not jump to the bottom of the datasheet, I still needed to scroll down. I tried a gotorecord macro in the current event, it partially worked. When the subform opened it opened on the new record without scrolling down however, it...
  9. Aspen77

    automatically have the subform open on the a new record

    I am using Access 2010 and I have a tabbed form. On one tab I have a subform in datasheet view. The user is having to scroll down hundreds of records to add or modify the last entry. Is it possible once the form opens to jump to the last record or a new record so they do not need to scroll down?
  10. Aspen77

    Query

    It's working, thank you so much! You're awesome! Thank you! Thank you! Thank you!
  11. Aspen77

    Query

    Hello, Thank you for the new code, however, it is still including the guests that have both check-ins (overnight and dinner only). Any assistance would be greatly appreciated. Thank you!
  12. Aspen77

    Query

    SELECT Guests.ID, Guests.[Last Name], Guests.[First Name], [Guest Attendance].[Overnight/Dinner Only] FROM Guests INNER JOIN [Guest Attendance] ON Guests.ID = [Guest Attendance].ID GROUP BY Guests.ID, Guests.[Last Name], Guests.[First Name], [Guest Attendance].[Overnight/Dinner Only] HAVING...
  13. Aspen77

    Query

    The SQL code you provided returned all guests that ate dinner to include those guests that also stayed overnight throughout the season, however, I need the results to only include guests that ate dinner only and did not stay overnight throughout the season. Every night when a guest checks in...
  14. Aspen77

    Query

    Hello, Thank you so much for the query, it is partially working. However, the query is returning all guests that ate dinner including the guests that on some evenings stayed overnight. So in the example below I would not want Jane Smith to show because although she ate dinner on 1/1/13 she...
  15. Aspen77

    Query

    Please disregard the previous message,I found the problem. However, when I run the query no data shows up.
  16. Aspen77

    Query

    Hello, I am receiving the following error message: You tried to execute a query that does not include the specified expression 'And [Guest Attendance].[Overnight/Dinner Only]="Dinner Only" as part of an aggregate function. Please assist. Thank you!
  17. Aspen77

    Query

    Table Guests ID Last Name First Name Table Guest Attendance ID Date Overnight/Dinner Only Table Guest 1 Smith Jane 2 Doe John Table Guest Attendance 1 1/1/13 overnight 1 1/2/13 dinner only 2 1/1/13 dinner only 2 1/1/13 dinner only The only result I would like to see in the query is Guest...
  18. Aspen77

    Query

    Hello, I need assistance with a query. I have two tables: Table 1 - Guest Name Name of Guest Table 2- Attendance Date Overnight/Dinner Only I would like to query quests that only attended for Dinner Only for the season and that at no time stayed overnight. So if Jane Smith attended dinner...
  19. Aspen77

    filter last record for each Guest and display in report

    Hello, Using the Guest Admittance Status Table described above, is there a way that once the "Date Restriction is over" is less than the current date a new record is added to the Table for that guest with the Admittance Status of clear and the Date Restriction is over to a future date such as...
  20. Aspen77

    Display entry of last record added in a field from a different table

    The following code worked: =DLookUp("[Admittance Status]","Guest Admittance Status","[Guest]=" & Nz([Forms]![Student Details]![ID],0) & " AND [Date Restricted]=#" & Nz(DMax("[Date Restricted]","[Guest Admittance Status]","[Guest]=" & Nz([Forms]![Student Details]![ID],0)),#1901-01-01#) & "#")...

Part and Inventory Search

Back
Top