Embedding a Function in a SQL string in Access

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

jimml

Thread Starter
Joined
Mar 31, 2004
Messages
2
Is it possible to have a FUNCTION within the SELECT portion of a SQL string. MID, LEFT, and RIGHT all work OK. If it is possible, how do you create the string with the FUNCTION in it ?
 
Joined
Feb 12, 2001
Messages
3,420
Did you try something like:

SELECT LEFT(MyTable.MyField, 5)
FROM MyTable
 

jimml

Thread Starter
Joined
Mar 31, 2004
Messages
2
Yes LEFT, RIGHT, and MID functions work ok. I am trying to embed a function I created and am having no luck .
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top