StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
Saving Data and Getting First and Last Records?
Saving Data and Getting First and Last Records?
Post Reply
Like
0
Saving Data and Getting First and Last Records?
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Terry Bottorff
Terry Bottorff
posted 14 Years Ago
ANSWER
HOT
Topic Details
Share Topic
Group: Forum Members
Posts: 448,
Visits: 12K
I was just trying this simple code and notice in attachment that the only check numbers that got saved are the first and last ones???
I know that the code may not be the best but I could not get getenumerabe to work so I was trying this way.
' Now Add the Check Numbers
If RbStockChecksBO1.MoveFirst Then
For i = 1 To RbStockChecksBO1.Count
Me.RbStockChecksBO1.checknum = nchk
nchk += 1
Me.RbStockChecksBO1.MoveNext()
Next
Me.RbStockChecksBO1.Save()
End If
What am I overlooking? TIA.
Attachments
checknums.png
(
102 views,
2.00 KB
)
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Saving Data and Getting First and Last Records?
Terry Bottorff
-
14 Years Ago
Hi Terry,
Here is the GetEnumerable() version, see if that...
Edhy Rijo
-
14 Years Ago
Edhy now I get only the first record saved with this code? See the...
Terry Bottorff
-
14 Years Ago
I put the messagebox in the code for my own sanity and by the attached...
Terry Bottorff
-
14 Years Ago
Are you using some filter or sort in the BO? if so, then reset those...
Edhy Rijo
-
14 Years Ago
None that I put on. I did fill the BO with an 'order by' in the stored...
Terry Bottorff
-
14 Years Ago
I found a way around it by executing an ExecuteScalar and all seems to...
Terry Bottorff
-
14 Years Ago
Hi Terry,
Sorry for delay in getting back to you!
...
Edhy Rijo
-
14 Years Ago
Thank you for the extreme amount of help you have given me. I will try...
Terry Bottorff
-
14 Years Ago
[quote][b]Terry Bottorff (08/20/2010)[/b][hr]Thank you for the extreme...
Edhy Rijo
-
14 Years Ago
OK, Thanks I will put some time on this.
Terry Bottorff
-
14 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search