Results 1 to 3 of 3
  1. #1
    miziri is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    80

    Post combox find record field

    Hi,
    I have two form,master and child
    i need to make combox field find record in master while original record search will in child form .
    example
    I have in master form company name and items and qty. child phone and address
    both are form are connect via key i mean master and child appear in one form.


    I want to put combox filed for find record on master form ,but my search will by in filed of child like phone number
    i must show up company items and qty.

    Thanks

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    for the master form combo
    combo after_update() event

    Code:
    me.filter = "[CoName]=' " & cboCo & "'"
    me.filteron = true
    for the combo to find phone in child, but not knowing the master name
    Code:
    vName = Dlookup("[coName]","query","[phone]='" & txtPhone & "'"
     
    if not Isnull(vName ) then 
       cboCo = vName
       combo after_update() event
    endif

  3. #3
    miziri is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    80
    Hi
    See attached and I think I was not very clear to u,
    may this photo is more clear,if need i attached my database

    ThanksClick image for larger version. 

Name:	see.jpg 
Views:	3 
Size:	53.2 KB 
ID:	18129

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 06-23-2014, 07:21 AM
  2. Replies: 1
    Last Post: 06-06-2014, 06:32 AM
  3. Replies: 6
    Last Post: 06-03-2014, 06:23 AM
  4. Replies: 1
    Last Post: 05-26-2014, 12:39 PM
  5. Replies: 5
    Last Post: 03-15-2013, 10:53 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