-
Feb 2nd, 2000, 10:13 PM
#1
Thread Starter
Member
-
Feb 2nd, 2000, 10:31 PM
#2
Hyperactive Member
first, kill the " around the text reference-
.Contacts "txtCust.Text" 'My Parameter
make it:
.Contacts txtCust.Text
you are sending in the string txtCust.text.
Now, .Contacts - what is this?
IS it supposed to be .rsContacts?
If so, what are you doing with it since you close it above. Are you trying to open it using the txtCust.text as the paramater?
-
Feb 3rd, 2000, 02:49 PM
#3
Thread Starter
Member
OK I killed the " around my parameters.(Still no success)
The .Contacts must be right because when i change my parameter to a value the code works quite well.
So what must I do to get rid of the error "type mismatch" when i pass a string as a parameter.
Any help will be appreciated.
Thanks.
-
Feb 3rd, 2000, 08:42 PM
#4
New Member
Have you checked in the dataenvironment to see if the the expected parameter is a string?
As a long shot try dimming a var as string and set the contents of the text box to the string and pass in the string.
Karl
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
|