GinaWhipp
AWF VIP
- Local time
- Today, 16:51
- Joined
- Jun 21, 2011
- Messages
- 5,899
Syntax...
This will very depending on whether your field is TEXT or NUMERIC...
If your field is numeric...
If your field is text…
OR
If a Combo Box…
…and remember Combo Boxes start with 0 not 1.
Combo Box...
I think we talking apples and oranges. WHAT are you trying to auto-popluate, the Combo Box or the field adjenct to it? For example...
Combo Box Here - Autopopulate Related Information Here
Row Source vs. Control Source...
Those two are two different things. The Row Source is where the Data is coming from. The Control Source is the Field Name in the Table or Query OR it can also be an expression. Both are located on the Data tab of the Property Sheet. If you do not see them... have you selected the Control? When you first go into the Design Mode of the Form unless you click the Control you will not see those properties in the Property SHeet, instead you see the Properties of the Form.
Based on what you said about not understanding Crystal's tutorial I'm going to suggest you start from Chapter one, so you can get a better understanding of Access because I'm thinking it will help, feel free to ignore.
This will very depending on whether your field is TEXT or NUMERIC...
If your field is numeric...
Code:
=DLookup("FieldFromTableOrQuery", "YourTableOrQuery", "[FieldFromTableOrQuery]=" & Me![FieldFromForm])
Code:
=DLookup("FieldFromTableOrQuery", "YourTable", "[FieldFromTableOrQuery]='" & Me![FieldFromForm] & "'")
If a Combo Box…
Code:
=[ComboNameHere].[Column](PutColumnNumberHere)
…and remember Combo Boxes start with 0 not 1.
Combo Box...
I think we talking apples and oranges. WHAT are you trying to auto-popluate, the Combo Box or the field adjenct to it? For example...
Combo Box Here - Autopopulate Related Information Here
Row Source vs. Control Source...
Those two are two different things. The Row Source is where the Data is coming from. The Control Source is the Field Name in the Table or Query OR it can also be an expression. Both are located on the Data tab of the Property Sheet. If you do not see them... have you selected the Control? When you first go into the Design Mode of the Form unless you click the Control you will not see those properties in the Property SHeet, instead you see the Properties of the Form.
Based on what you said about not understanding Crystal's tutorial I'm going to suggest you start from Chapter one, so you can get a better understanding of Access because I'm thinking it will help, feel free to ignore.