StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
Subset of BO's data
Subset of BO's data
Post Reply
Like
0
Subset of BO's data
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Ian Hammond
Ian Hammond
posted 15 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 57,
Visits: 277
I have a table comprising a list of file paths for images and an associated identity. Images for the same item share the same identity. I have loaded the entire data into the BO to save on accesses to the database. My intention is to get a subset of the data using the associated identity, but I'm not sure how to achieve this. Can anyone point me in the right direction.
Many thanks in advance.
Reply
Like
0
Replies
Edhy Rijo
E
Edhy Rijo
posted 15 Years Ago
ANSWER
Post Details
Share Post
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Ian Hammond (05/24/2010)
I thought that the Filter would do the trick but I can't find any info about how to use it and if its the right method for what I'm trying to achieve.
Thanks for explain.
Yes the BO.Filter will give you what you want, just need to use it carefully because the filter will affect the BO.CurrentView and BO index, so the bo.Count will reflect the records shown in in the CurrentView which may be filtered or not.
There are plenty of samples on how to use the filter here in the forums and also in the help file.
Basically you add the filter like: bo.Filter = "MyFieldName=" & FieldValue, then to reset the filter just set it to blank space bo.Filter = ""
Hope this help.
Edhy Rijo
Reply
Like
0
Ian Hammond
Ian Hammond
posted 15 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 57,
Visits: 277
Many thanks for that pointer, it helped a great deal.
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
Subset of BO's data
Ian Hammond
-
15 Years Ago
Hi Ian,
I don't quite understand what you want here, so...
Edhy Rijo
-
15 Years Ago
Hi, Thanks for your response. I realise that I could just stick a...
Ian Hammond
-
15 Years Ago
[quote][b]Ian Hammond (05/24/2010)[/b][hr]I thought that the Filter...
Edhy Rijo
-
15 Years Ago
Many thanks for that pointer, it helped a great deal.
Ian Hammond
-
15 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