B
blobb
I have a form based on a SQL query in the record source property. I am
having problems assigning the control record source.
Here is my SQL query:
SELECT DISTINCT D.PTid, T.T1_PTid, D.DateOfBirth, T.DOB, D.Gender, T.Gender,
D.Race, T.Race, D.Ethnicity, T.Ethnicity, D.Education, T.Education,
D.Handedness, T.Handedness, D.PFHxMD, T.FamilyHistoryOfMovementDisorder,
D.PFHxMDnum, T.NumberWithMD, D.PFHxPD, T.FamilyHistoryofParkinsonsDisease,
D.PFHxPDnum, T.NumberWithPD
FROM Demographics AS D RIGHT JOIN [Temporary] AS T ON D.PTid = T.T1_PTid
WHERE (((D.DemoID) Is Not Null));
Here are two of my controls (for illustration):
control 1: D.Gender
control 2: T.Gender
Everything looks fine on the design view but when I save the form or display
the form in form view the record source of control 2 changes from T.Gender to
D.Gender. I have reset the control record source many times but everytime I
review or save the form it resets back to D.Gender. Can anyone help me?
Thanks. blobb
having problems assigning the control record source.
Here is my SQL query:
SELECT DISTINCT D.PTid, T.T1_PTid, D.DateOfBirth, T.DOB, D.Gender, T.Gender,
D.Race, T.Race, D.Ethnicity, T.Ethnicity, D.Education, T.Education,
D.Handedness, T.Handedness, D.PFHxMD, T.FamilyHistoryOfMovementDisorder,
D.PFHxMDnum, T.NumberWithMD, D.PFHxPD, T.FamilyHistoryofParkinsonsDisease,
D.PFHxPDnum, T.NumberWithPD
FROM Demographics AS D RIGHT JOIN [Temporary] AS T ON D.PTid = T.T1_PTid
WHERE (((D.DemoID) Is Not Null));
Here are two of my controls (for illustration):
control 1: D.Gender
control 2: T.Gender
Everything looks fine on the design view but when I save the form or display
the form in form view the record source of control 2 changes from T.Gender to
D.Gender. I have reset the control record source many times but everytime I
review or save the form it resets back to D.Gender. Can anyone help me?
Thanks. blobb