|
-
Nov 30th, 2004, 08:57 AM
#1
Thread Starter
Lively Member
vb doesn't accept expressions for filtering?
Hi, this is driving me crazy... let's see:
I need to show a window with data of a client, now i need to tell the textboxes in this popping window (after I double click on a list of all my clients) to get the data from the dataset selecting the row where the idclient is the one the user double clicked on.
I'm using a dataview (also tried to use dataset.table.select(...)) but won't accept an expression like this Dataview1.Rowfilter="IdClient=var" where var is a variable which has the Id value I want to use.
what can I do?
Thanks in advance
Last edited by nacho2; Dec 1st, 2004 at 07:22 AM.
-
Nov 30th, 2004, 09:51 AM
#2
Re: vb doesn't accept expressions for filtering?
Originally posted by nacho2
Hi, this is driving me crazy... let's see:
I need to show a window with data of a client, now i need to tell the textboxes in this popping window (after I double click on a list of all my clients) to get the data from the dataset selecting the row where the idclient is the one the user double clicked on.
I'm using a dataview (also tried to use dataset.table.select(...)) but won't accept an expression like this Dataview1.Rowfilter="IdClient=var" where var is a variable which has the Id value I want to use.
what can I do?
Thanks in advance
That's because ADO has no clue about your variable......
Code:
Dataview1.Rowfilter="IdClient=" & var.ToString
Tg
-
Dec 1st, 2004, 07:21 AM
#3
Thread Starter
Lively Member
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
|