BrowseDialog and Foriegn Keys


Author
Message
Kevin Lingofelter
Kevin Lingofelter
StrataFrame Novice (87 reputation)StrataFrame Novice (87 reputation)StrataFrame Novice (87 reputation)StrataFrame Novice (87 reputation)StrataFrame Novice (87 reputation)StrataFrame Novice (87 reputation)StrataFrame Novice (87 reputation)StrataFrame Novice (87 reputation)StrataFrame Novice (87 reputation)
Group: Forum Members
Posts: 77, Visits: 804
I wanted to explore other options to my previous post about custom fields being searched in the BrowseDialog.

I am using custom fields to display foreign key values from a table. I'd like to be able to search on the textual representation of the foriegn key. For example, say I have a table:

OrderID
OrderDate
SalesPersonID

I created a custom field which grabs the sales person's name (based on the SalesPersonID).  As per my previous post, I was having problems with my logic.

What would be the best way to accomplish this? I've tried setting up a view (this is in Access, BTW) and used the DDK to create the structure.

In the resulting BO, I use a FillAll method which simply fills the datatable using select * from MyView.

The problem I'm having with it, is that I am getting a required parameter is missing error when I try to save a record. I'm assuming it's because of the view.

Any ideas?

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Kevin Lingofelter - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Chris Crabtree - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Chris Crabtree - 17 Years Ago
                         Yeah, we actually added this before the last training class. You can...
Trent L. Taylor - 17 Years Ago
                             Interesting. How do I tell what version of the docs I have? I have the...
Chris Crabtree - 17 Years Ago
                                 You may just want to download the latest build from the website. I am...
Trent L. Taylor - 17 Years Ago
                                     Worked as advertised. Thanks!
Chris Crabtree - 17 Years Ago
                                         Good. Glad to hear it!
Trent L. Taylor - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search