Do you just want to copy the client ID or an entire row? Are you having two table that have the same columns? If yes than you might want to have a close look at your database model first.
You can create new rows on another form very easily. In the method on that form navigate to the form you want to create the record on click on it’s controller object and doubleclick the newRecord item. Once you have that you can start setting data by doubleclicking the dataproviders on the desitination form typing = then clicking the dataproviders you want assigned to them on your original form.
Form.sales
-Table.sales
-fields: -number
-date
-client_name |
-client_ID > I am interested to put in a row of sales
-client_address | only 3 fields of 1 row clients.
-item
-etc…
The origin of problem was this: that an operator wich is working on the Form.sales, when he arrives to client have the possibility of made 2 quickly:
To choose one of clients whose name starts vith “string%” [ The Forum helped me in this];
Insert with a click in the form.sales and in the table.sales, not all the choosed row of clients, but only 3 (some) filelds of clients..
Please Mr. Aleman, i am beginning with Servoy and Jscript and my knowledge is rudimentary. Kyndly could you write code?