Results 1 to 12 of 12
  1. #1
    tamilarasi is offline Novice
    Windows 8 Access 2013
    Join Date
    Apr 2014
    Posts
    9

    pulling datas from the table in the form

    Hi,



    I am not sure whether i am doing it right. I have created tables and queries. I am trying to create a form . It would contain one field. When the values are entered in that field , it should produce the details pertaining to that field.

    to give more details. I have two tables

    order table: which contain order number, part number,....
    supplier table: supplier name, invoice number ... so on

    I wanted to have a form with order number blank. when either I type/scan the order number, it should pull the details of part number, supplier name, invoice number from the
    two tables pertaining to that order number.
    could you please help me...

    thank you

  2. #2
    jjitss is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    8
    Perhaps you can use a search box in a form? I'm not sure this is exactly what you want, but I think it comes close.

    - Create a form.- Place in the header an additional text box for input and a button next to it
    - On the properties of the button, you select Event, on Click, Macro Builder
    - Select the option Apply filter in the dropdown menu.
    - Use an condition equivalent to: [NameVariableOrderID] Like [Forms]![NameForm]![NameTextBox]
    Or use the folowing condition when parts of the order number are also fine: [NameVariableOrderID] Like "*" & [Forms]![NameForm]![NameTextBox] & "*"

    For the combination of two tables, just select the query of the combining tables instead of one table as source.
    I hope you find out!

  3. #3
    tamilarasi is offline Novice
    Windows 8 Access 2013
    Join Date
    Apr 2014
    Posts
    9
    thank you for your reply. i followed the method

    where command [Forms]![primary details]![Purchase Order Number]=[primary details]![Purchase Order Number]. It gets me to the blank screen..

    thanks

  4. #4
    jjitss is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    8
    Are you using that command as condition of the filter?

  5. #5
    tamilarasi is offline Novice
    Windows 8 Access 2013
    Join Date
    Apr 2014
    Posts
    9
    hi, i did used in the where condition... in build event
    it opens up the form but on a add mode rather than pulling the details pertaining to that requirement.

  6. #6
    jjitss is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    8
    Is it possible that the condition should be:

    [Forms]![primary details]![Purchase Order Number]=
    [Forms]![primary details]![and here the name of the textbox]

    Name of the textbox is like Text76 or something (you can find it in the property sheet). Because you want the Purchase Order Number be equal to the text entered in the textbox, right?


  7. #7
    tamilarasi is offline Novice
    Windows 8 Access 2013
    Join Date
    Apr 2014
    Posts
    9
    It is still the same. It opens a new window with "Enter Parameter Value" with primary details!Purchase Order Number!text0 and when i reenter the order number it opens up the form on an addition mode.sorry...

  8. #8
    jjitss is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    8

  9. #9
    tamilarasi is offline Novice
    Windows 8 Access 2013
    Join Date
    Apr 2014
    Posts
    9
    looks great. let me try my inputs.wonderful..

  10. #10
    tamilarasi is offline Novice
    Windows 8 Access 2013
    Join Date
    Apr 2014
    Posts
    9
    Hi
    database.zip

    if you look at the database, when i do the search there is another pop-up says "enter parameter value" . then the value appears.
    Is anything i have not considered in this

    thanks

  11. #11
    jjitss is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    8
    Is database_Backup.zip this helpful?

  12. #12
    tamilarasi is offline Novice
    Windows 8 Access 2013
    Join Date
    Apr 2014
    Posts
    9
    hi, that is wonderful. it works. I am doing a search with serial numbers, if you please look at my last added record.
    My next step on this is to enable the other person to enter only the serial number .
    for this i have disabled all the other fields except quantity ordered and serial numbers for the other person to enter those details on order received and save those record.
    When i search through serial number, i am getting no datas retrieved. is it because i have got more than one serial number on the record??.
    just attached the databasedatabase_Backup.zip

    thanks for your help

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

Similar Threads

  1. Replies: 3
    Last Post: 12-07-2012, 04:26 PM
  2. Replies: 2
    Last Post: 05-26-2012, 10:39 AM
  3. Save datas in the table
    By monica in forum Programming
    Replies: 2
    Last Post: 04-13-2012, 07:03 AM
  4. Replies: 1
    Last Post: 12-05-2011, 03:26 PM
  5. Manipulating datas on access table
    By 3rdeye in forum Access
    Replies: 6
    Last Post: 10-12-2010, 02:47 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