BO problem


Author
Message
Joseph-Carl Theodat
Joseph-Carl Theodat
StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)
Group: Forum Members
Posts: 29, Visits: 79
Hi,

After configuring my project for the my business object (BO), setting the table for the BO,. I try to use the listbox control on my main form. My problem is that i can't set the primarybusinessobject property of my form. Am I forgetting something?

I think that my DataLayer.Datasource.Add ("", connectionstring) is wrong. To give you a better feel of my SF application with security, I have a DB different than the one use by SF (containing the table of my BO). Eventhough the help is well written, it doesn't see to explain the procedure to create a perfect BO Smile. The first time I ran the application, the connection wizard was use to specify the SF DB. Is it the way it's supposed to work? Or I was supposed to specify my other DB? I hope I was clear enough ...

A quick answer will be greatly appreciated.

Thanks in advance

StrataFrame Team
S
StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
We use the ConnectionManager within the Visual Studio AddIn to specify the StrataFrame database.  You can use the ConnectionManager within your application to connect to your database.  So, the first time you run VS after installing SF, you will be prompted for the SF connection string.  The first time you run your own application, you will be prompted for the connection string to your application. 

As for why the primary BO cannot be set on the form... you have to have a business object dropped on the form.  The drop down list will list all of the business objects that have been dropped on the form.  Configuring the business object is much like creating your own custom control.  Once it's created, it's just added do your project.  You then have to drop it on a form to use it.

Joseph-Carl Theodat
Joseph-Carl Theodat
StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)
Group: Forum Members
Posts: 29, Visits: 79
Thanks. But... where can i find the newly BO? It's not in the toolbox tab...
StrataFrame Team
S
StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
When you configure a business object, you have to build the project containing the business object for it to automatically show up in the toolbox.  A new tab will be added to the toolbox named something like "ProjectName Components" and it will contain all of your business objects.  If you see a tab that contains toolbox items that all have the blue gear icon, then it's an automatically generated tab.
Joseph-Carl Theodat
Joseph-Carl Theodat
StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)
Group: Forum Members
Posts: 29, Visits: 79
Thanks! I'm a newbie and give me a couple days and I'l be the one answering the post Tongue
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