|
-
Mar 14th, 2000, 04:30 PM
#1
Thread Starter
New Member
Dear all,
everytime i use the Right or Left function i get the error "Datafield expected". I can remember that with SP2 for VB5 the function worked fine but now it doesn't why? To walk around that problem i'm always using the Mid function but i don't think that's a good solution.
-
Mar 14th, 2000, 04:43 PM
#2
Frenzied Member
Do you still get the error if you use VBA.Left() and VBA.Right() ?
-
Mar 14th, 2000, 05:23 PM
#3
Conquistador
do you know how to use the left function?
Code:
Dim myString As String
myString = Left("Hello my name is David!", 5)
'myString now = "Hello"
'or for the right function
myString = Right(""Hello my name is David!", 6)
'myString now = "David!"
understood 
if not email me ok
-
Mar 13th, 2001, 12:52 AM
#4
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|