|
-
May 25th, 2006, 10:46 AM
#1
Thread Starter
Lively Member
formula help
Hi all,
I am trying to pass a string in the selection formula and I keep getting the selection error . Can anyone give ur inputs as how to assign string values in the selection formula. In crystal report i used the selection tool and was able to get the result {table1.field1}= "s" but when i try in vb6 i get this error
rptdetail.SelectionFormula = "{Table1.field1} =" & s
-
May 26th, 2006, 07:25 AM
#2
Thread Starter
Lively Member
Re: formula help
Guys Iam still stuck at this point, need ur inputs on this issue
thanks!
-
May 26th, 2006, 06:29 PM
#3
Re: formula help
Try :
rptdetail.SelectionFormula = "{Table1.field1} =" & chr(39) & s & chr(39)
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
|