Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - SOLVED: Paste Validate
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: Paste Validate

 Post Reply Post Reply
Author
Message
ElvisM View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 October 2006
Location: Venezuela
Status: Offline
Points: 129
Post Options Post Options   Thanks (0) Thanks(0)   Quote ElvisM Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: Paste Validate
    Posted: 16 July 2008 at 3:08pm
Hi, is possible validate the record meanwhile they're pasting (in the air)?
I'm using the PasteRecordFromText event, but I don't know how it works. Because I can't take control over the clipboard data and I can't decide which records are good and which records are bad...
 
Please, excuseme my bad english.
Product: Xtreme SuitePro (ActiveX) version 17.2
Platform: Windows 10 64bits
Language: Visual Basic 2015
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 17 July 2008 at 7:18am
Elvis,
 
Please, upload sample project and maybe I can help you and in the meantime you can change the topic descriptions I asked you to and look at post: https://forum.codejock.com/forum_posts.asp?TID=11225
 
 
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....
Back to Top
ElvisM View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 October 2006
Location: Venezuela
Status: Offline
Points: 129
Post Options Post Options   Thanks (0) Thanks(0)   Quote ElvisM Quote  Post ReplyReply Direct Link To This Post Posted: 17 July 2008 at 12:50pm
Hi Aaron, I just have changed my signature.
Please, help me with my topic.
I need validate the text that the user is pasting in te reportcontrol, is this possible?
 
Elvis
Product: Xtreme SuitePro (ActiveX) version 17.2
Platform: Windows 10 64bits
Language: Visual Basic 2015
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 31 July 2008 at 2:48am
Elvis,
 
It's either SOLVED: or it stays a question
 
I'm not sure if I understand your question. If you would paste some text while editing report item, you want to check the contents?
 
If you use the:
 
Private Sub wndReportControl_InplaceEditChanging(ByVal Row As XtremeReportControl.IReportRow, ByVal Column As XtremeReportControl.IReportColumn, ByVal Item As XtremeReportControl.IReportRecordItem, NewValue As String, Cancel As Boolean)
    Me.Caption = NewValue
End Sub 
 
NewValue is contents of report item string (updates after typing or in your case pasting text).
 
Hope this helps
 
  
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....
Back to Top
ElvisM View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 October 2006
Location: Venezuela
Status: Offline
Points: 129
Post Options Post Options   Thanks (0) Thanks(0)   Quote ElvisM Quote  Post ReplyReply Direct Link To This Post Posted: 04 August 2008 at 3:04pm
Hi Aaron, definitively, I don't know express you my issue.
 
Look...
 
I'm pasting a lot of records from Excel, but I wolud like to validate this records by the same time (if is possible)  they're pasting in the reortcontrol, not after they were pasted.
For instance, if one of this records has an invalid date field, I would like to exclude this record "in the air" (before the pasting execute). If I have 10 lines in Excel, and one of them are invalid then in the reportcontrol only 9 records must be pasted.
 
I tried to work with the reportcontrol's BeforePasteFromText property but I don't know how it work...
 
The codejock's help is vwry simple and doesn't have enough examples.
 
Do you understand me?
 
Regards,
Elvis
 
 
Product: Xtreme SuitePro (ActiveX) version 17.2
Platform: Windows 10 64bits
Language: Visual Basic 2015
Back to Top
elchinote View Drop Down
Newbie
Newbie


Joined: 15 March 2013
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote elchinote Quote  Post ReplyReply Direct Link To This Post Posted: 15 March 2013 at 12:11am
hi how are you?
i'm searching how i can paste cells (data) from excel to the report control using VB6. I'm trying to copy/paste and transfer the data directly, without Excel References, only with clipboard. I've found this post. Can you show me how did you solve this issue?.
regards
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.