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.
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.
sorry combo boxes are not translated i will fix them than send you new one.
Here it is final version. Search.zip
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.
Hi
The frmLedgerSearch in the attached is another method of searching records within a Split Form
You can PM me for help. Good Read https://docs.microsoft.com/en-gb/off...on-description
To attach file: https://www.accessforums.net/showthread.php?t=70301
Mike I downloaded your version. Nice and clean but how it works. tried searching not response. should I change something.
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.
You can PM me for help. Good Read https://docs.microsoft.com/en-gb/off...on-description
To attach file: https://www.accessforums.net/showthread.php?t=70301
I tried nothing happened. which field is should search and why not responding?
after enable content it start working but not searching all fields and there are sometimes mistakes in searching.
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
You can PM me for help. Good Read https://docs.microsoft.com/en-gb/off...on-description
To attach file: https://www.accessforums.net/showthread.php?t=70301
Thanks I will try all that. I have material to study. Thanks again.
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?
Works for me?, which I suprised TBH, as dates normally need # surrounding them
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
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
Guys thanks for help this is it I am closing this now. thanks to all of you.