Results 1 to 7 of 7
  1. #1
    sankar519 is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2014
    Posts
    8

    creating Form like as user Receipt


    Hai All,

    i have one table example xx. and its having columns item name,quantity,price.

    i want to create a user form and when i enter the item name and press search downside it will come 3 columns data automatically.
    Actually its a retail company and i want to create a receipt when customer purchase the items.
    Click image for larger version. 

Name:	ACCESS IMAGE.jpg 
Views:	12 
Size:	29.3 KB 
ID:	16752

    I just want to create a form and if i select 3 items then it will add downside automatically.
    Click image for larger version. 

Name:	access image1.jpg 
Views:	12 
Size:	33.9 KB 
ID:	16753

    pls help me to do this in Access 2007.its very urjent for me.
    pls help me to do this.

    thanks & Regards
    Ravi.

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Before you can build a form, you need a table. Before you can build a form that creates a sales transaction, you need more than one table and at least one query.

    Suggest building a Named Saved Query Object that allows you to append at least one of your tables (an event table). Combo Box controls on your form can populate Foreign Key fields in your event table (table to store new sales) that the Query Object did not populate.

  3. #3
    sankar519 is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2014
    Posts
    8
    Thank you so much your reply.

    i created the table and i created the query based on that table. but i am not able to create a form like above mentioned images.i want to display the items only what user is searching and if user want that items we can add it in the below details andwe can generate the receipt and print it.

    Pls help me to do this...

    thanks

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    The only way I know to do what you are describing is through VBA. You will need to add criteria to the form's Filter or RecordSource property.

    The simplest may be something like



    dim strFilter as string
    strFilter = ""

    if isnull(Me.txtOne) = False Then
    if strfilter = "" then
    strFilter = "[Item] = " & Me.txtOne
    else
    strFilter = strFilter & " AND [Item] = " & Me.txtOne
    End if

    End if

    me.filteron = false
    Me.Filter = ""
    Me.Filter = strFilter
    me.filteron = true

  5. #5
    sankar519 is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2014
    Posts
    8

    MS Access Form

    thanks for your reply.
    Actually i don't no anything about Access. i done this in EXCEL but i am not able to do this in Access.i am trying for this from last 4 days but i cant.
    .Click image for larger version. 

Name:	ACCESS IMAGE.jpg 
Views:	6 
Size:	35.8 KB 
ID:	16775

    Click image for larger version. 

Name:	access image1.jpg 
Views:	6 
Size:	29.0 KB 
ID:	16776

    when i select the items it will effect in another sheet and then we will print it.
    if customer dont want any items just click on clear button then it will clear all the fields.

    just help me to do only first form atleast.

  6. #6
    sankar519 is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2014
    Posts
    8
    thanks for your reply.
    Actually i don't no anything about Access. i done this in EXCEL but i am not able to do this in Access.
    i am trying for this from last 4 days but i cant.

  7. #7
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Quote Originally Posted by sankar519 View Post
    ...
    Actually i don't no anything about Access. i done this in EXCEL but i am not able to do this in Access.
    ...
    Before you can build a form, you need a table. Before you can build a form that creates a sales transaction, you need more than one table and at least one query.

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

Similar Threads

  1. Printing a receipt automatically
    By jalals in forum Programming
    Replies: 1
    Last Post: 04-17-2013, 03:53 PM
  2. How to print receipt with auto number
    By jalals in forum Programming
    Replies: 1
    Last Post: 04-05-2013, 06:46 AM
  3. Creating Incremental Receipt Numbers
    By JorgeCUC in forum Queries
    Replies: 15
    Last Post: 08-25-2011, 08:50 AM
  4. Creating a Clean User Application
    By sesproul in forum Forms
    Replies: 1
    Last Post: 03-05-2010, 06:32 PM
  5. HELP with crazy receipt numbering
    By jlm722 in forum Forms
    Replies: 15
    Last Post: 09-23-2009, 01:49 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