?
Solved

Need good learning source for Progression VBA - Macola Flexibility Module

Posted on 2004-09-17
6
Medium Priority
?
1,002 Views
Last Modified: 2013-12-25
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
Comment
Question by:bruno71
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 29

Expert Comment

by:leonstryker
ID: 12086860
There little to no difference between VB and VBA in terms of ADO.  What differences specifically do not see?

Leon
0
 

Author Comment

by:bruno71
ID: 12112569
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
 
LVL 29

Accepted Solution

by:
leonstryker earned 375 total points
ID: 12112640
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.

 

Author Comment

by:bruno71
ID: 12112898
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
 
LVL 29

Expert Comment

by:leonstryker
ID: 12113055
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
 

Author Comment

by:bruno71
ID: 12113605
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

Independent Software Vendors: 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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month14 days, 7 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question