Saving Data and Getting First and Last Records?


Author
Message
Terry Bottorff
Terry Bottorff
Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)
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)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Terry Bottorff - 14 Years Ago
Edhy Rijo - 14 Years Ago
Terry Bottorff - 14 Years Ago
Terry Bottorff - 14 Years Ago
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

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search