By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,654 Members | 1,599 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,654 IT Pros & Developers. It's quick & easy.

Retrieval of Specific Text from Data Table Field

blhuff
P: 2
I would like to know if there is some code and/or function that will give me a way of retrieving a certain text string from a data table that I have established in MS Access. The text in question is isolated by return carriages. I look at the Left/Right/Trim Functions; howver, neither of these could singularly accomplish what I need to do. Can someone help?
Oct 3 '06 #1
Share this Question
Share on Google+
2 Replies


PEB
Expert 100+
P: 1,418
PEB
Yeah

The mentionned functions exist in Access

Left("Your String",2)
Right("Your String",2)
Mid("Your String",1,2)

But to retrieve data use the function:

Dlookup("YourField", "Your Table", "Your Criteria")

:)
Oct 8 '06 #2

blhuff
P: 2
Thanks for the suggestion. I found what I was looking for by using the InStr() Funtion. Thanks again for your help
Oct 14 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.