Help with ideal

D

David Ehrenreich

Hello,

In one of my forms I have a sub-form displayed as a
datasheet. This sub-form is unbound. It's purpose is to
let our proctors see what students have signed in. When a
proctor needs to bring up a students record they find that
students social security in the sub-form(datasheet), and
then enter the number. I was wondering is their a way the
user could click on the ssn feild and the ssn number would
be copied to a feild in the main form. We have been
cutting and pasting, but I would like this process to be
automatic.

Any help would be great
 
S

Steve Coombes

Hi David -

Try using either the Click or DoubleClick event of the field (or better yet,
consider adding a command button to make it more obvious), and add code like
this to your subform's event:

' Rename the fields as appropriate
Me.Parent.txtParentFormSSN = Me.txtSubFormSSN
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Show Button 3
Calculation 1
Sub-Forms 1
Excel Need Countifs Formula Help 0
Open form from subform 1
Use a button to filter a sub subform 2
Datasheet View 3
Problem Cancelling Form that Uses Paramater Query 3

Top