FindRecordItem |
Post Reply |
Author | |
markmark
Senior Member Joined: 30 November 2007 Status: Offline Points: 142 |
Post Options
Thanks(0)
Posted: 07 June 2009 at 6:33am |
Hi
Please could someone help me with the code below,
I cannot get FindRecordItem to work.
It should find the value "Wendy" i think!
Thanks
MArk
##################################################
Private Sub cmdFind_Click()
Dim lngCount As Long lngCount = ReportControl1.Rows.Count
Else Private Sub Form_Load()
Set rRecord = ReportControl1.Records.Add ReportControl1.Populate End Sub |
|
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi Mark,
It looks OK to me
There are a few issues with this method, please read post https://forum.codejock.com/forum_posts.asp?TID=12897
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
markmark
Senior Member Joined: 30 November 2007 Status: Offline Points: 142 |
Post Options
Thanks(0)
|
Hi Aaron
Have looked through that post, but still can't get the FindRecordItem to work.
I'm on ver 13.
Do you have a working sample?
Thanks
MArk
|
|
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
I didn't see that you didn't use first column as start column, you have first column with Index 0;
This will work:
Set repRecItem = wndReportControl.Records.FindRecordItem(1, lngCount, 0, 1, 0, 0, "Wendy", xtpReportTextSearchExactPhrase)
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
markmark
Senior Member Joined: 30 November 2007 Status: Offline Points: 142 |
Post Options
Thanks(0)
|
Hi Aaron.
Support have told me to download 13.1 which fixes the problem.
However if it does work with 13.0 I would like to try, otherwise I will have to release a whole new setup and that is a real pain.
Here is my code
Thanks
MArk
|
|
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi Mark,
I'm sorry (again) but I did test with some beta version and of course it works, Mark fixed these. But you can use one option with V13.0 that actually works:
Set repRecItem = ReportControl1.Records.FindRecordItem(0, lngCount, 0, 1, 0, 0, "rk", xtpReportTextSearchBackward)
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
markmark
Senior Member Joined: 30 November 2007 Status: Offline Points: 142 |
Post Options
Thanks(0)
|
Thanks Aaron
Mark
|
|
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |