Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 27th, 2003, 09:24 PM
Authorized User
 
Join Date: Oct 2003
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default search on subform

hi,

i have a search function that works well if all the data retrieve from this search is in a main form itself but i have change the format to a subform within a main form and the search function wont work anymore. the search can only be done if the user entered the textfield. i am not using combo box due to user requirement.

could someone tell me what can i do to synchronize the search with my subform.

pls advice
nono

 
Old October 27th, 2003, 09:30 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please tell me what code you are using. How are you performing your search?

Are you doing a search or just a simple filter with a query? or with ADO?

Please be more specific.





Sal
 
Old October 27th, 2003, 11:48 PM
Authorized User
 
Join Date: Oct 2003
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi sal,

i have 2 radio button and 2 textbox which is link to the radio button.
when the user click on radio button 1, the first textbox will be enable for user to enter the search criteria. after entering the search criteria, click on the search and system will then base on the criteria to display result. The result displayed will be seperated into 2 section - a main form and a subform.

i have managed to search and display the result in the main form but fields in the subform cannot display the result. it prompt me a error message : variable not defined. pointing to my fields in the subform. i do not know why.

pls advice
:(nono
 
Old October 28th, 2003, 10:34 AM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are you using queries for this searches that are delimited by [form]!textbox or are you using ADO.

If you are using code, have you tried stepping through your code?

I really do not know how you are doing this to start to help you.




Sal





Similar Threads
Thread Thread Starter Forum Replies Last Post
New text search doesn't preselect search string planoie Visual Studio 2005 0 July 23rd, 2007 06:47 AM
Search in subform webace Access 0 June 12th, 2006 11:52 AM
Search a Subform desireemm Access 22 October 9th, 2005 04:18 AM
search on a subform desireemm Access 3 September 21st, 2005 02:44 PM
Filter Subform B Based on Field in Subform A SerranoG Access VBA 3 June 18th, 2004 12:23 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.