Page 3 of 5 FirstFirst 12345 LastLast
Results 31 to 45 of 64
  1. #31
    June7's Avatar
    June7 is online now VIP
    Windows 11 Access 2021
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Why would Form1 even have a RecordSource? Again, don't see need for Form2 to have RecordSource either.



    Yes, I modified table and now your query works. I just wouldn't use this method at all.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  2. #32
    guest is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2024
    Posts
    61
    sorry combo boxes are not translated i will fix them than send you new one.

  3. #33
    guest is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2024
    Posts
    61
    Here it is final version. Search.zip

  4. #34
    guest is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2024
    Posts
    61
    Well at the time i was learning how to do it example was with recordsource so i did that way. form2 was copied from form1 and then edited or vice versa.

  5. #35
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,822
    Hi
    The frmLedgerSearch in the attached is another method of searching records within a Split Form
    Attached Files Attached Files

  6. #36
    guest is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2024
    Posts
    61
    Mike I downloaded your version. Nice and clean but how it works. tried searching not response. should I change something.

  7. #37
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,822
    Hi
    You type whatever you want to search for and then hit the Enter Key.

    Once you finish searching you hit the Clear button to clear the filter.

  8. #38
    guest is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2024
    Posts
    61
    I tried nothing happened. which field is should search and why not responding?

  9. #39
    guest is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2024
    Posts
    61
    after enable content it start working but not searching all fields and there are sometimes mistakes in searching.

  10. #40
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,822
    Hi
    The Controls which are in the Search String are as follows:-

    [BasicNumber]
    [NameOfRecipient]
    [Transfer]
    [NumberDate]
    [DateOfReceipt]
    [OrganizationalUnit]
    [Content]

    If you type John and hit the enter key it will return 1 Record

    If you want to search on other Controls then you would need to add these to the After Update event of the Search Box

  11. #41
    guest is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2024
    Posts
    61
    Thanks I will try all that. I have material to study. Thanks again.

  12. #42
    guest is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2024
    Posts
    61
    Mike I added two more fields. they work fine but I have still problems with date of receipt field. if I search for date 22-12-2024 I get empty record. Solution?

  13. #43
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,570
    Works for me?, which I suprised TBH, as dates normally need # surrounding them
    Attached Thumbnails Attached Thumbnails Screenshot 2024-12-22 170038.png  
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  14. #44
    guest is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2024
    Posts
    61
    I am not sure why not for me. this date fields are big trouble. i GOT IT. it accept only date format 22.12.2024.
    Last edited by guest; 12-22-2024 at 11:08 AM. Reason: adding

  15. #45
    guest is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2024
    Posts
    61
    Guys thanks for help this is it I am closing this now. thanks to all of you.

Page 3 of 5 FirstFirst 12345 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 01-25-2024, 02:46 PM
  2. Replies: 2
    Last Post: 04-15-2017, 11:09 AM
  3. Replies: 3
    Last Post: 09-12-2016, 11:49 AM
  4. Replies: 3
    Last Post: 09-02-2013, 04:33 PM
  5. Search form getting wrong results
    By Ruegen in forum Programming
    Replies: 1
    Last Post: 08-22-2013, 06:32 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