If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
"Init: Left([Firstname],1)" in Access Qry
I need to take first letter of Firstname to provide Initial to add to
Surname. Have entered above in the field row of a query which has Firstname. Have tried many approaches and all return "Undefined Function". Any suggestions would be appreciated. I am using Access 2003 |
#2
|
|||
|
|||
Remove the space after the colon. Access thinks your function is (space)Left
rather than just Left. -- PC Datasheet Your Resource For Help With Access, Excel And Word Applications www.pcdatasheet.com "DFA" wrote in message ... I need to take first letter of Firstname to provide Initial to add to Surname. Have entered above in the field row of a query which has Firstname. Have tried many approaches and all return "Undefined Function". Any suggestions would be appreciated. I am using Access 2003 |
#3
|
|||
|
|||
DFA,
The expression you are using is correct. This probably indicates a References problem. To quote from MVP Doug Steele's treatise on the subject: "This can be caused by differences in either the location or file version of certain files between the machine where the application was developed, and where it's being run (or the file missing completely from the target machine). Such differences are common when new software is installed. On the machine(s) where it's not working, open any code module (or open the Debug Window, using Ctrl-G, provided you haven't selected the "keep debug window on top" option). Select Tools | References from the menu bar. Examine all of the selected references. If any of the selected references have "MISSING:" in front of them, unselect them, and back out of the dialog. If you really need the reference(s) you just unselected (you can tell by doing a Compile All Modules), go back in and reselect them. If none have "MISSING:", select an additional reference at random, back out of the dialog, then go back in and unselect the reference you just added. If that doesn't solve the problem, try to unselect as many of the selected references as you can (Access may not let you unselect them all), back out of the dialog, then go back in and reselect the references you just unselected. (NOTE: write down what the references are before you delete them, because they'll be in a different order when you go back in)" *********** -- Steve Schapel, Microsoft Access MVP DFA wrote: I need to take first letter of Firstname to provide Initial to add to Surname. Have entered above in the field row of a query which has Firstname. Have tried many approaches and all return "Undefined Function". Any suggestions would be appreciated. I am using Access 2003 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2002 vs 2003 | Patrick Stubbin | General Discussion | 2 | May 17th, 2005 07:27 AM |
The "Right" web hosting for data access pages?? | Ron Ehrlich | General Discussion | 9 | May 6th, 2005 05:49 AM |
Book recommendations, please | Top Spin | New Users | 2 | March 1st, 2005 12:43 AM |
is Access 2003 any better than XP? | Gorb | General Discussion | 4 | November 11th, 2004 09:44 PM |
is Access 2003 any better than XP? | Gorb | Using Forms | 2 | November 11th, 2004 09:20 AM |