R
Rob W
Greetings,
It must be late at night as I cant seem to do the most simplest of
activities, a form is used to enter new records.
It displays details and at the bottom is summary information, a text box has
a control source of the following :-
=DCount("[StudentID]", "tblStudent","[AwardId]= '" & [txt.AwardId] &"')
Firstly I keep getting syntax errors and the expression builder upon editing
what i have copied and pasted into the control source property likes
to add quotes and removes the %.
What should the correct syntax be?
Secondly when I navigate or add records how can I get it to be a dynamic
value.
I originally had vba code to set teh txt.Award = DCount("[StudentID]",
"tblStudent","[AwardId]='" & [txt.AwardId] &"') on the form load.
This means though I would have to add the code to my navition buttons (next,
previous, first and last).
Im sure there is an easier way though.
Can anyone please assist?
Apologies for the number of questions tonight!!!
Thanks
Rob
It must be late at night as I cant seem to do the most simplest of
activities, a form is used to enter new records.
It displays details and at the bottom is summary information, a text box has
a control source of the following :-
=DCount("[StudentID]", "tblStudent","[AwardId]= '" & [txt.AwardId] &"')
Firstly I keep getting syntax errors and the expression builder upon editing
what i have copied and pasted into the control source property likes
to add quotes and removes the %.
What should the correct syntax be?
Secondly when I navigate or add records how can I get it to be a dynamic
value.
I originally had vba code to set teh txt.Award = DCount("[StudentID]",
"tblStudent","[AwardId]='" & [txt.AwardId] &"') on the form load.
This means though I would have to add the code to my navition buttons (next,
previous, first and last).
Im sure there is an easier way though.
Can anyone please assist?
Apologies for the number of questions tonight!!!
Thanks
Rob