Changing PrimaryBusinessObject using Code


Author
Message
Terry Bottorff
Terry Bottorff
Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)
Group: Forum Members
Posts: 448, Visits: 12K
Let's assume I have 2 Tables with the following Fields:

Dogs
PK int
Name varchar(50)
Age int

Cats
PK int
Name Varchar(50)
Age int

I want to create one (1) SF Mainteance form to edit the above tables.

Let's assume a user selects Dogs to edit and I want to load the Maintenance form using Dogs as the PrimaryBusinessObject and if that same user had selected Cats the same form would be used but the PrimaryBusinessObject would be Cats.

Since the table structure is the same if there is a way to get this to happen one would only have to create one maintenance form instead of two. I would hope the toolbar would also work. Just curious about this since I have a very simple project that could use this procedure.

TIA.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search