StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
browseDialog
browseDialog
Post Reply
Like
0
browseDialog
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Ian Johnston
Ian Johnston
posted 14 Years Ago
ANSWER
HOT
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 77,
Visits: 470
I have a view as a BO named cert_viewBO this I set as the BussinessObjectToPopulate and BusinessObjectType, I have selected the search fields and the resultlayout but when I run the browsezDialog no results are returned.
Any ideas?
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
browseDialog
Ian Johnston
-
14 Years Ago
Hi Ian. For a View, you need to have a Pk into it, and the override...
Ivan George Borges
-
14 Years Ago
here is the code for the view: SELECT dbo.Certificate.Cert_number AS...
Ian Johnston
-
14 Years Ago
After you set the Primary Key Specification, have you rebuilt the...
Ivan George Borges
-
14 Years Ago
Yes and rebuilt project.
Ian Johnston
-
14 Years Ago
From what you are showing, it looks correct. Maybe you couldwrite a...
Ivan George Borges
-
14 Years Ago
Ian, follow this post, maybe there is something there that might help...
Ivan George Borges
-
14 Years Ago
Correct, I used PK_certificate. Below is the code for the fill of the...
Ian Johnston
-
14 Years Ago
I'm sorry Ian, I'm a bit lost now. I thought you were using a...
Ivan George Borges
-
14 Years Ago
So maybe I am on the wrong track, my thinking was that the BO would be...
Ian Johnston
-
14 Years Ago
Nope, it sounds like you are on the right track. You can fill any...
Ivan George Borges
-
14 Years Ago
OK so how do I populate the view BO?
Ian Johnston
-
14 Years Ago
You don't. If your ViewBO instance is set as the BrowseDialog's...
Ivan George Borges
-
14 Years Ago
In the samples database I deployed the following view: SELECT...
Ian Johnston
-
14 Years Ago
Please, post your sample and I will have a look.
Ivan George Borges
-
14 Years Ago
And sorry, I meant zip your sample solution and attach it to a post so...
Ivan George Borges
-
14 Years Ago
What to post and where
Ian Johnston
-
14 Years Ago
How do you attach to a post?
Ian Johnston
-
14 Years Ago
Please see ttached
Ian Johnston
-
14 Years Ago
OK, some considerations: You mapped your view to Customer_poBO, which...
Ivan George Borges
-
14 Years Ago
Thanks for looking at it. It is working in that the browse window...
Ian Johnston
-
14 Years Ago
Great, we are getting there. Your issue now seems to be with your...
Ivan George Borges
-
14 Years Ago
I had to comment out the code from CustomerBrowseDetails to get it to...
Ian Johnston
-
14 Years Ago
Yep.
Ivan George Borges
-
14 Years Ago
Sorry for the question, Ian... but once you entered the BrowseDialog,...
Ivan George Borges
-
14 Years Ago
:P Yes, don't blame you for asking! Very strange, I am wondering if it...
Ian Johnston
-
14 Years Ago
I asked that just because it happens to me all the time! :D Strange...
Ivan George Borges
-
14 Years Ago
Was working and now I just tried to runand got the error in the...
Ian Johnston
-
14 Years Ago
Just open your form's code and get rid of the RowPopulating event...
Ivan George Borges
-
14 Years Ago
Just curious but what is your development platform, I am using Vista...
Ian Johnston
-
14 Years Ago
Right now I am on a Win7 64 Professional with VS2008. But I also have...
Ivan George Borges
-
14 Years Ago
Browse dialog in the sample form works. What version of stratafarme &...
Ian Johnston
-
14 Years Ago
Well, that is a good sign then. It should work just as well with your...
Ivan George Borges
-
14 Years Ago
I tried my code on the same plaform as you, same result - still not...
Ian Johnston
-
14 Years Ago
I understand. But as soon as you want to come back to this, let us...
Ivan George Borges
-
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