Hi,
I've recently switched jobs and moved out of the IBM world back to the SQL Server world. My new employer uses ACCPAC/Sage 300 ERP extensively (version 5.6 at the moment ... for the most part) and I'm looking for a few quick comments to bring me back up to speed. Please note, I was a VB programmer from 1999-2003 at which point I moved on to some other languages or away from programming totally at times for consulting. With that said, I consider myself a SQL expert and I've done some small things over the years in VB and felt it was mostly like riding a bike. With all that said ...
1) ACCPAC version 5.6A uses VBA 6.4 ... is there any documentation on the ACCPAC objects? Basically anything under AccpacCOMAPI.
2) What version(s) of VB.Net are compatible with VBA 6.4 or is this even an issue? I'm going to assume the New-Program functionality in ACCPAC can be used to point to a custom VB.Net application and that might be better served at times. In particular I'd rather write code in the latest compiler (VS2012) and create an .exe and run from that if possible. I assume as long as the ACCPAC API is accessible then there aren't many issues (my light searching shows some minor compatibility issues here and there). I guess that's the concern ... is there a .dll or something I can register in VS2012 so I can just code in VS2012?
3) I've done some digging and see there are some preferred native functions (like DBlink) which I can probably find in the AccpacCOMAPI (assuming it exists). Are there any other glaring/obvious items I should be aware of?
4) CS0120 ... is this actually necessary if you query the database directly? It seems like a lot of solutions I've read use this tool/query, but I guess I don't understand why people aren't driving right at the tables (again I'm using SQL server so that might have been a factor in the responses).
5) Stored procedures - I've done a lot of work in SQL/TSQL and it doesn't seem like anyone does much manipulation or extraction directly on the server through a procedure.
As you can see I'm trying to use current tools with the application and I appreciate the input.
Thanks,
Ian
I've recently switched jobs and moved out of the IBM world back to the SQL Server world. My new employer uses ACCPAC/Sage 300 ERP extensively (version 5.6 at the moment ... for the most part) and I'm looking for a few quick comments to bring me back up to speed. Please note, I was a VB programmer from 1999-2003 at which point I moved on to some other languages or away from programming totally at times for consulting. With that said, I consider myself a SQL expert and I've done some small things over the years in VB and felt it was mostly like riding a bike. With all that said ...
1) ACCPAC version 5.6A uses VBA 6.4 ... is there any documentation on the ACCPAC objects? Basically anything under AccpacCOMAPI.
2) What version(s) of VB.Net are compatible with VBA 6.4 or is this even an issue? I'm going to assume the New-Program functionality in ACCPAC can be used to point to a custom VB.Net application and that might be better served at times. In particular I'd rather write code in the latest compiler (VS2012) and create an .exe and run from that if possible. I assume as long as the ACCPAC API is accessible then there aren't many issues (my light searching shows some minor compatibility issues here and there). I guess that's the concern ... is there a .dll or something I can register in VS2012 so I can just code in VS2012?
3) I've done some digging and see there are some preferred native functions (like DBlink) which I can probably find in the AccpacCOMAPI (assuming it exists). Are there any other glaring/obvious items I should be aware of?
4) CS0120 ... is this actually necessary if you query the database directly? It seems like a lot of solutions I've read use this tool/query, but I guess I don't understand why people aren't driving right at the tables (again I'm using SQL server so that might have been a factor in the responses).
5) Stored procedures - I've done a lot of work in SQL/TSQL and it doesn't seem like anyone does much manipulation or extraction directly on the server through a procedure.
As you can see I'm trying to use current tools with the application and I appreciate the input.
Thanks,
Ian