Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 27th, 2003, 09:24 PM
Authorized User
 
Join Date: Oct 2003
Location: , , .
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

Reply With Quote
  #2 (permalink)  
Old October 27th, 2003, 09:30 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Location: Clarksville, TN, USA.
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
Reply With Quote
  #3 (permalink)  
Old October 27th, 2003, 11:48 PM
Authorized User
 
Join Date: Oct 2003
Location: , , .
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
Reply With Quote
  #4 (permalink)  
Old October 28th, 2003, 10:34 AM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Location: Clarksville, TN, USA.
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 04:50 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.