Populating a ComboBox


Author
Message
Ian Hammond
Ian Hammond
StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)
Group: Forum Members
Posts: 57, Visits: 277
Hi,

I am a total newbie to StrataFrame and I'm trying to write a simple WInForm app. I have a maintaenance form on which I have placed 2 BO's. A secondary BO is used to populate a combobox. I have set the combo properties as have been described in the Tutorial but using my database and my combo is empty. I'm not quite sure where to look next. Also I would like to display text in the item data and an identifier for the valuemember property, but I cannot find any documentation.

Could anyone advise,

Many thanks.

Replies
Charles R Hankey
Charles R Hankey
StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)
Group: Forum Members
Posts: 524, Visits: 30K
The sample uses the Strataframe Sample database. You first need to open the BO Mapper from the SF menu, create a project ( just call it the name of the sample) and say it uses SQL Server and point to the SF Sample.



Then map the three tables in the BOLibrary proj to the three tables in the SF Sample database, click Rebuild all and close.



Build the bo library1 proj and then run the app. First time you'll select the SF Sample database again and then you should be good to go.



BO mapper stuff is stored in your local SF database so it did not travel with the sample when it was posted.



Now your SF database has the mapping info for this project's BOs
balexander
balexander
StrataFrame Beginner (20 reputation)StrataFrame Beginner (20 reputation)StrataFrame Beginner (20 reputation)StrataFrame Beginner (20 reputation)StrataFrame Beginner (20 reputation)StrataFrame Beginner (20 reputation)StrataFrame Beginner (20 reputation)StrataFrame Beginner (20 reputation)StrataFrame Beginner (20 reputation)
Group: Forum Members
Posts: 4, Visits: 9
Thank you Charles!
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