|
-
Jul 28th, 2000, 02:17 AM
#1
Thread Starter
Junior Member
What command do you use to compare fields in vb and then join them together. You know a command similar to the strcmp and strcat in C.
Thanks.
-
Jul 28th, 2000, 02:19 AM
#2
Fanatic Member
umm..me don know C, but i think you are talking about
Field1 = Field2
Field1 & Field2
Hope that helps,
D!m
-
Jul 28th, 2000, 02:58 AM
#3
Junior Member
To compare to strings, you can use the following function
strcomp(str1,str2,vbTextCompare)
it returns :
If StrComp returns
str1 is less than str2 -1
str1 is equal to str2 0
str1 is greater than str2 1
str1 or str2 is Null Null
Hope this helps
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
|