Data not showing properly in subform

M

Michelle

I have a form for software tracking it has a sub form for license information
and one for system the software is assigned to.
When I enter information for license information for one piece of software
it shows up in all of them (same with system but if I get the one to work
then I will be able to get the other to work)

tblsoftware
ID (AutoNum)
Company
Title
MediaType
NumMedia
NumLicense
NumberAssigned

tblLicenseKey
ID (AutoNum) - Primary Key
SWID
LicenseKey
CertiicateNum
OrderNum
ExpDate
NoPerCert

Relationship is one to many tblSoftware [ID] to tblLicenseKeys [SWID]

For some reason when I enter data into the subform it is not getting the ID
from the mainform (can this be done?)
 
A

Al Campagna

Michelle,
Have you entered the Parent and Child property of the subform as...
Parent = ID
Child = SWID
(SWID should be a Numeric Long field)

Even though you may have set up a relationship in the Relationship
window, you still have to call that relationship on your forms with
the Parent/Child.
--
hth
Al Campagna
Microsoft Access MVP
http://home.comcast.net/~cccsolutions/index.html

"Find a job that you love... and you'll never work a day in your life."
 
M

Michelle

That worked...thanks

Al Campagna said:
Michelle,
Have you entered the Parent and Child property of the subform as...
Parent = ID
Child = SWID
(SWID should be a Numeric Long field)

Even though you may have set up a relationship in the Relationship
window, you still have to call that relationship on your forms with
the Parent/Child.
--
hth
Al Campagna
Microsoft Access MVP
http://home.comcast.net/~cccsolutions/index.html

"Find a job that you love... and you'll never work a day in your life."

Michelle said:
I have a form for software tracking it has a sub form for license
information
and one for system the software is assigned to.
When I enter information for license information for one piece of software
it shows up in all of them (same with system but if I get the one to work
then I will be able to get the other to work)

tblsoftware
ID (AutoNum)
Company
Title
MediaType
NumMedia
NumLicense
NumberAssigned

tblLicenseKey
ID (AutoNum) - Primary Key
SWID
LicenseKey
CertiicateNum
OrderNum
ExpDate
NoPerCert

Relationship is one to many tblSoftware [ID] to tblLicenseKeys [SWID]

For some reason when I enter data into the subform it is not getting the
ID
from the mainform (can this be done?)
 

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

Top