Browse Dialog question...


Author
Message
StarkMike
StarkMike
Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)
Group: Forum Members
Posts: 436, Visits: 944
I'll do my best to put my question into words... just not sure how to.



Consider I have a table with these fields



TableName: Employees

EmployeeID

FirstName

LastName

LocationID



Here is an excerpt from the Locations table



LocationID LocationName

1 United States

2 Canada

3 Mexico



Lets say I created a BO based on this Employees table. Now I create a maintenance form based on this Employees BO.



Now I want to create a BrowseDialog. The question I have is when I create the browse dialog how can I display the locationnames and have them be searchable instead of the ID.



I had thought about creating another BO based on a view I would create with the columns i need but I'm not sure how the browsedialog returns results to the BO its filling if the BO its browsing is different than the Primary BO attached to the form.



I hope thats not too confusing.
Reply
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
As of right now, you can only search within a single BO.  Now you can display anything you want and use as many BO's as necessary for displaying a record...this is where the BrowseInformationPanel would be helpful.  But I have run into this several times myself and have just had to work around it.  Really what you need is to be able to specify a combo box for the item and have it already populated with the Locations.  This way the end-user could select the location via a combo but the search would be performed by respecting the integer value in the table.  So for now this really isn't possible.  Sorry Ermm
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search