[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1037
  • Last Modified:

Need good learning source for Progression VBA - Macola Flexibility Module

We recently installed the Flexibility add-on for Macola Progression.  This allows you to add functionality through VBA.  We also use a SQL 2000 server for the databases.  I had been trying to do some record navigation using ADO, but the more I struggled the more I realized that there is a big difference (limitation?) between VBA and VB.  I found this after I opened Visual Studio 6 and found options/methods/properties not available to me in Progression VBA for Flexibility.

Does anyone know of a good source for learning VBA/ADO?  Or is there a better method than ADO for data manipulation?  I have pleanty of VB sources, but I need something more specific to my situation.  Any help is appreciated.  Thanks.

~bruno71
0
bruno71
Asked:
bruno71
  • 3
  • 3
1 Solution
 
leonstrykerCommented:
There little to no difference between VB and VBA in terms of ADO.  What differences specifically do not see?

Leon
0
 
bruno71Author Commented:
For example...

I open Visual Studio and add a "Microsoft ADO Data Control 6.0 (SP4) (OLEDB)" control to a form.  Then I add a text box.  The text box has properties such as DataField, DataFormat, DataMember, and DataSource which are used to bind it to the datasource specified with the ADO control.

However, when using VBA in Flexibility, I repeat the same process but the text box does not have those properties available.  I can add the ADO control, but I can't bind the text boxes to it.

~bruno71  
0
 
leonstrykerCommented:
bruno71,

You should not be using that in the first place.  All you need is to establish a reference to Microsoft ActiveX Data Objects 2.x Library and use ADO directly.

Dim cnConn As ADO.Connection
Dim rsRecSet As ADO.Recordset

Once you retrieve the recordset you can display the information in your controls.

Leon
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
bruno71Author Commented:
That's what I'm doing now...but I was just wondering if there were any good resources for using VBA/ADO like this.  Anything I've found deals with VB and the ADO control.

~bruno71
0
 
leonstrykerCommented:
There are of course differences between VB and VBA, since VBA is a subset of VB, but they are not great.  As you discovered there are differences in the controls, however different applications, which use VBA, may have differences in controls as well.  Any book on VBA would be specific to the application which hosts it.

if you really want a book or something, you should look for tech support/white papers concerning your specific application Macola Progression.  There should be a chapter somewhere on ADO, but I expect not a big one.

Leon
0
 
bruno71Author Commented:
This is the only real reference I've found to Macola and VBA.

http://www22.inetba.com/ibs7/filecabinet/macolapdf/flex.pdf

Everything else is focused on MS Office VBA.  Oh well...I guess I can take what I've got and try to figure it out myself:)  Thanks for your help.

~bruno71
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now