StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



SampleCRApplication ProblemExpand / Collapse
Author
Message
Posted 06/22/2007 6:08:31 PM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 10/01/2008 3:54:20 PM
Posts: 106, Visits: 447
It uses the SampleCRMApplication example to reproduce the problem.

I intend that lstCard sorts the registers for the column to cc_CardNumber.

Then, I modified the "Private Sub EditCreditCard()" including CustomerCreditCards.Sort = "cc_CardNumber" after lstCards.Requery()

When you edit or include a register from the CreditCardEditor form the lines of lstCards you start to present given incorrect, demonstrating that, of some form, sort affected the routine. Remembering, an option luck is important.

It includes some registers and later it edits the line to understand the problem better.

It forgives me if the translation of the Alta Vista is not if making to understand.

Rogério Mauri


http://blog.licitec.com.br
Post #9758
Posted 06/22/2007 6:28:49 PM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 10/01/2008 3:54:20 PM
Posts: 106, Visits: 447
Applying a filter (CustomerCreditCards.Filter = "....") the error also occurs.

Rogério Mauri
http://blog.licitec.com.br
Post #9759
Posted 06/22/2007 9:02:58 PM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 10/01/2008 3:54:20 PM
Posts: 106, Visits: 447
In the SampleListViewPopulation example I found as to classify columns in the ListView.

Tks!!!

Rogério Mauri


http://blog.licitec.com.br
Post #9760
Posted 06/23/2007 10:59:30 AM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: StrataFrame Users
Last Login: Today @ 4:47:31 PM
Posts: 700, Visits: 11,196
Hi Rogerio.

Guess you are fine now...

Post #9762
Posted 06/25/2007 8:51:49 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 09/26/2008 8:30:36 AM
Posts: 2,685, Visits: 1,886
Yeah, when you are editing data within a business object, it's recommended to turn off any filters or sorts because the business object will change it's CurrentRow as the data within the sorted column changes.  The CurrentRow property doesn't have a backing field... it's just a wrapper that returns CurrentView(CurrentRowIndex).  So, since the row index is static as the data changes, the CurrentRow will pull different rows because the rows are being reordered/filtered.


www.bungie.net
Post #9767
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 10:50pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 13 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.