Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Old ERS Script

Status
Not open for further replies.

DBergkamp10

IS-IT--Management
May 31, 2002
95
CA
Hi,

I have an old ERS script that I am converting to VBA. In the old scripts, there are two functions:

ERSSQLStmtPrep

and

ERSSQLExecPrep

What would be their equivalent in VBA?

Thanks in advance for any help.

Regards,

Ivan
 
I'm not sure, very few people ever used ERS. I've been doing this for 14 years and I have had exactly 1 customer that used ERS.

What does this script do? We can likely write it from scratch.

Software Sales, Training, Implementation and Support for Macola, Synergy, and Crystal Reports. Check out our Macola tools:
 
It's pretty huge. It does Provincial Tobacco taxes.
 
Are you Jim Matthew's customer by any chance? You are in Canada right?

We wrote a big tobacco tax application for a customer in Oklahoma. He said he had another tobacco client but it has been years since we discussed it.

Software Sales, Training, Implementation and Support for Macola, Synergy, and Crystal Reports. Check out our Macola tools:
 
Yes. Amazingly I have converted the tax from the old 16-bit ERS to ERS 50, and it seems to be working, but as you know, ERS 5 isn't supported. It's okay as a stop-gap measure of course.

Thx
 
You would want to use ADO (Classic) in VBA in place of the ERSSQL statements. ERS 5.0 has a layer that simplifies access to ADO but under the hood it is using ADO. There is no direct mapping of functions between these ERS functions and ADO. These days the best information on how to access ADO using VBA can be found on sites providing information on database access for ASP Classic websites.

Scott Travis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top