Cant add Business Object to a form


Author
Message
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
Just started to set up test app.

I have created a business object, and added it to an New Project. I've also added a Maintenence Form. Am in the maintenance from and am trying to add the bsuiness object. I have 2 problems:

1. From the Miantenece Form, I click on Toolbox, but cant see a buisness object anywhere to add.

2. If I F5 to compile and run the form, it comes up with a Database Connection Wizard, defaulting to Sql Server and asking me to select a Database. I am not sure what this is for.. The buisness object I have set up is based on a VFP database.

Reply
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Gerard,

1. From the Miantenece Form, I click on Toolbox, but cant see a buisness object anywhere to add.

When working with your BO, you must rebuild the BO's project in order to see it in the toolbox.

2. If I F5 to compile and run the form, it comes up with a Database Connection Wizard, defaulting to Sql Server and asking me to select a Database. I am not sure what this is for.. The buisness object I have set up is based on a VFP database.

I have not tried connecting to VFP tables, but the Connection Wizard will show up whenever a connection is not defined for your project, usually the first time the application is run, you can control this in the AppMain.vb file.

Edhy Rijo

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