Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Form/Subform Searching

 
   Database Help (Home) -> MS Access RSS
Next:  AQ and JMS Question  
Author Message
Simone

External


Since: Feb 09, 2005
Posts: 3



(Msg. 1) Posted: Wed Feb 23, 2005 12:58 am
Post subject: Form/Subform Searching
Archived from groups: comp>databases>ms-access (more info?)

Hi All,

I have a Find Record button setup in most of my forms in order to find
a specific customer's details. I have just noticed today though that
this search will only find the customer if it already has linked data
in the subform. This totally defeats the purpose of my search, which
is to find an existing customer's details in order to enter new data
in the subform.

I was wondering if there is a way, in the form/subform situation, to
find an existing customer and bring up their details and a new record
to be linked in the subform. Or must I resort to seperate forms???

This is my existing find record code from using the button wizard so I
don't actually understand it.
DoCmd.GoToControl "Surname"
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70

The GoToControl I had to change from the generic wizard code which was
Screen.PreviousControl.SetFocus
and did not work.

This situation occurs for forms that are sourced from a query and
directly from the table. Using access 2000.

Thanks.

 >> Stay informed about: Form/Subform Searching 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Form & Subform Searching - Hi, I have 2 subforms embedded within a main form. Whenever I do a Filter, the data in the main form appears, but nothing shows in either subform? Is there a way round this? I was using the Filter-by-Form button on the toolbar. I've also got a Find..

Form Searching - Hi, I've got a form which logs various issues. What I'm after is a blank version of this form where I can input data. Then hit a button and it finds all records with that data. I remeber doing this at uni a few yrs ago - but typically, in the workplace...

Searching for a record from an 'edit' form - Hi all. Hope you can help. I have created a form to edit existing records. I want to do two things: 1/ When the form opens, I want it to give a search field (searching on a string) which then returns a list of matching records which I can choose from. ...

use the Form property to refer to a form associated with a.. - When button_1 clicked it must sets price of specific item in a sub form specific row using following code Forms(formA)(formB)!Price.SetFocus But it always set prices of first row of formB instead of setting price for 3rd or 4th row of sub form so I...

Form and subform - Hi all, I'm a newbie with Access but am learning thanks to all the great people inthis group. Once again, I need help - I'm having difficulties achieving the following: I want to create a form, with a drop down list (combo box) containing employee..
   Database Help (Home) -> MS Access All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]