Click to See Complete Forum and Search --> : Help!


bthomas
October 5th, 2001, 08:37 AM
I have a Main form with a subform, and when my users copy a record they are only pasting the record from the main form and not the subform. Can anyone help me??

Cimperiali
October 5th, 2001, 09:28 AM
>I have a Main form with a subform
Do you mean a Mdi application?

>and when my users copy a record
using Ado? from textbox via clipboard? From a grid via variables?

>they are only pasting the record from the main form and not the subform
pasting where?




Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Michael
and all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.

The Rater

bthomas
October 5th, 2001, 09:42 AM
What is Mdi?

copy the displaying record and paste using the clipboard to a new record in the same form.

Cimperiali
October 8th, 2001, 07:28 AM
Mdi is "Multiple Document Interface", which means to build app similar to word (where you have a Main form and a lot of Children forms) as opposed to Sdi ("Single Document Interface") which is represented by Notepad (all in a single form).
>copy the displaying record and paste using the clipboard to a new record in the same form.
You should add some more detail: in your form there is a grid (or flexgrid)? Are you copying from a richtexbox?...In any case, if you are able to put data in clipboard and to paste from it, I think your matter (in main and not in subform or viceversa) is only a matter of focus: before pasting, put focus on the correct form (ie: Form1.setfocus).
Hope this may help.

Cesare Imperiali



Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Michael
and all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.

The Rater