×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Help in Accpac VBA

Help in Accpac VBA

Help in Accpac VBA

(OP)
Hi everybody,
I'm a new user in Accpac system.
I already try out the VBA coding to retrieve data from Accpac. In order to retrieve data, we use Openview statement.
syntax: Openview("ViewID", "ProgID")

My question is, where to get the ViewID and ProgID????
by the way, do you have the complete guide/sample to customize Accpac using VBA? and any sample of updating data to Accpac and pervasive sql server.
Thank you.

songlip

RE: Help in Accpac VBA

Hi Songlip

Your Question :

Songlip (Visitor) May 31, 2002
Hi everybody,
I'm a new user in Accpac system.
I already try out the VBA coding to retrieve data from Accpac. In order to retrieve data, we use Openview statement.
syntax: Openview("ViewID", "ProgID")

My question is, where to get the ViewID and ProgID????
by the way, do you have the complete guide/sample to customize Accpac using VBA? and any sample of updating data to Accpac and pervasive sql server.
Thank you.

songlip

My answer :

As far as I know (I might be wrong) , you have to have the SDK for AccPac Development. It is a lot like the MSDN libraries for Microsoft Development programs like Visual Basic ect and it is something that you must subscribe to. In that SDK you get fantastic material with things like ROTO-Views where you will get the information for that VIEWID and PROGID. Yes, you can develop without the SDK, but the SDK surely makes it a lot easier and more possible.

JayCee
 

RE: Help in Accpac VBA

Hey, I come here to get help but I found that I'm still better than someone else? If you wanna get the viewid, just open the .ini files like Gl.ini in the GL42A folder, AR.ini in AR42A folder etc...

RE: Help in Accpac VBA

(OP)
Why don't you just use the VBA Macro recorder and reuse the code generated. dealing with accpac views is not easy and not documented anywhere! the problem is not only with view id ( you get it if you have the customization kit ) there is a sequence of calling that should be followed which cannot be anticipated.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close