StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
Browse Dialog Question
Browse Dialog Question
Post Reply
Like
1
Browse Dialog Question
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Paul Chase
Paul Chase
posted 18 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 414,
Visits: 2.8K
I am using the following code to populate a browse dialog of possible zip code for a city. The problem I am having is that the record pointer does not seem to move to the selected city/zip combination after the browse intead it is sitting on the first record of the browse resultd for that city. I would think the record pointer of the BO would be set on the record selected from the browse results dialog instead of the first record of the result set. any ideas on whats going on
'''
<summary>
''' Populates a Browse Dialog of Possible ZipCodes For a City
'''
</summary>
'''
<param name="sender"></param>
'''
<param name="e"></param>
'''
<remarks></remarks>
Private
Sub
ShowZipCodes(
ByVal
sender
As
Object
,
ByVal
e
As
System.Windows.Forms.KeyEventArgs)
Handles
txtjscity.KeyDown
If
e.KeyCode = Keys.Enter
Then
Me
.ZipCodeDialog.SearchFields.Item(0).InitialValue =
Me
.txtjscity.Text.Trim
If
Me
.ZipCodeDialog.ShowDialog(
True
) = Windows.Forms.DialogResult.OK
Then
Me
.txtjscity.Text =
Me
.ZipCodesBO1.CITY
Me
.txtjsstate.Text =
Me
.ZipCodesBO1.STATE
Me
.txtjszip.Text =
Me
.ZipCodesBO1.ZIP
Else
'Nothing was Selected-- ///*TODO-- Do we want to do anything here?
End
If
End
If
End
Sub
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Browse Dialog Question
Paul Chase
-
18 Years Ago
Are you saying the when you click the OK button in the browse, the BO...
Trent L. Taylor
-
18 Years Ago
Trent, That is whatI am saying when I select a record by hitting the...
Paul Chase
-
18 Years Ago
I just added to same logic to another form and it does work as...
Paul Chase
-
18 Years Ago
I don't know what the problem wasI looked to everything a few times...
Paul Chase
-
18 Years Ago
Configuring the browse dialog generates quite a bit of code within the...
StrataFrame Team
-
18 Years Ago
That may be what happened. I did some renaming awile back and just may...
Paul Chase
-
18 Years Ago
I ran into this problem today. I created a Browse Dialog and it would...
Govinda Berrio
-
11 Years Ago
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search