creat new rows of controls in aform

eldarbs

New member
Local time
Tomorrow, 01:54
Joined
Aug 25, 2012
Messages
9
creat a button that add a new rows of controls in a form

I have an example for a form that I want to create , i'ts a order products
form's
I want to create a button that every time I
clicked on it, it wiill add/create a lines of controls in the form like I
showed in the example I brought up
 

Attachments

  • Form_prd.jpg
    Form_prd.jpg
    51.7 KB · Views: 95
  • form_prd.mdb
    form_prd.mdb
    264 KB · Views: 93
Last edited:
I don't see how useful that will be to your application but it cannot be done without creating dummy records in the underlying Record Source of the form and opening the form as a Continuous Form. It can also be done on a Single Form but this will just be a wasted exercise because you will be re-inventing the wheel.
 
it's mean that it possible?
What do you mean you can do this only in continuous form ?
And where I need to create dummy records ? What is the source of the basic registration ?
Can you give an example for a code taht adding these records ??
 
Thank's for the replies..
First of all because we have an example of such an action other software..
in that way you can also add as many items tou need for the order an if i will put let's say ten rows it will limmit it for ten items...
I know about the option with use a subform with the prosuct table for order details, but I want it to look more beautiful and better organized than in table view..
i don't know' it look and functioning better that way
The question is if there is a code that allows to add the controls to a new line on the form and select the items from the order each time you want to add new item ?
 

Users who are viewing this thread

Back
Top Bottom