J jobro Registered User. Local time Today, 12:54 Joined Nov 3, 2007 Messages 21 Nov 3, 2007 #1 So I need to know this. How do I: *Add 2 text fields together with a space between? *Truncating field 1 to the first character and field 2 to the two first characters? Sorry for my noob questions
So I need to know this. How do I: *Add 2 text fields together with a space between? *Truncating field 1 to the first character and field 2 to the two first characters? Sorry for my noob questions
Friday Registered User. Local time Today, 20:54 Joined Apr 11, 2003 Messages 540 Nov 3, 2007 #2 jobro said: So I need to know this. How do I: *Add 2 text fields together with a space between? *Truncating field 1 to the first character and field 2 to the two first characters? Sorry for my noob questions Click to expand... field1 & " " & field2 Left(field1,1) Left(field2,2)
jobro said: So I need to know this. How do I: *Add 2 text fields together with a space between? *Truncating field 1 to the first character and field 2 to the two first characters? Sorry for my noob questions Click to expand... field1 & " " & field2 Left(field1,1) Left(field2,2)
J jobro Registered User. Local time Today, 12:54 Joined Nov 3, 2007 Messages 21 Nov 4, 2007 #3 Care to explain a bit further? Because when I do this then all I get is #Error when I'm trying to print it in a report.
Care to explain a bit further? Because when I do this then all I get is #Error when I'm trying to print it in a report.
boblarson Smeghead Local time Today, 12:54 Joined Jan 12, 2001 Messages 32,040 Nov 4, 2007 #4 If you want your field in a report you need to add it to the controlsource like this: =Left([Field1InBrackets],1) & " " & Left([Field2InBrackets],2)
If you want your field in a report you need to add it to the controlsource like this: =Left([Field1InBrackets],1) & " " & Left([Field2InBrackets],2)
J jobro Registered User. Local time Today, 12:54 Joined Nov 3, 2007 Messages 21 Nov 4, 2007 #5 Ok so here is my control source as it is now: =[Förnamn] & " " & [Efternamn] just to simplify the process. Giving this control source gives me an error while giving another reference to another field gives me the result.
Ok so here is my control source as it is now: =[Förnamn] & " " & [Efternamn] just to simplify the process. Giving this control source gives me an error while giving another reference to another field gives me the result.
Friday Registered User. Local time Today, 20:54 Joined Apr 11, 2003 Messages 540 Nov 6, 2007 #6 jobro said: Ok so here is my control source as it is now: =[Förnamn] & " " & [Efternamn] just to simplify the process. Giving this control source gives me an error while giving another reference to another field gives me the result. Click to expand... Are Förnamn and Efternamn both fields in the underlying data source?
jobro said: Ok so here is my control source as it is now: =[Förnamn] & " " & [Efternamn] just to simplify the process. Giving this control source gives me an error while giving another reference to another field gives me the result. Click to expand... Are Förnamn and Efternamn both fields in the underlying data source?
boblarson Smeghead Local time Today, 12:54 Joined Jan 12, 2001 Messages 32,040 Nov 6, 2007 #7 Also, check to see that the field name and the text box that is bound to each of those are not the same. When using calculations in controls (or concatenations), you will run into errors if they are the same.
Also, check to see that the field name and the text box that is bound to each of those are not the same. When using calculations in controls (or concatenations), you will run into errors if they are the same.