C
Colin Auton
Hi
I would be very grateful if anyone could help me. I have
posted this on several Forums and no-one seems interested
in assisting. I do not think it is too technical for
anyone who knows Visual Basic.
A Brief insight into the problem. I did have my Access
database tables linked through ODBC to 4 live tables
within a networked version of Sage Line 50 Accountancy
software.
The data in this program is huge and took up to 5 hrs to
run the most complex of reports.
Since then the 4 tables are now imported into Access on a
daily basis which takes about 20mins and now the most
complex reports takes about 30seconds to run. This is
acceptable.
Problem.
I want to automate this by clicking a button through the
switchboard. To take away the end user having to go behind
the scenes of the switchboard.
It needs to:
1) Delete the 4 existing tables (INVOICE, INVOICE_ITEM,
SALES_LEDGER, STOCK) saying YES to the 4 popups when
trying to delete
2)New, Import Table,Ok, Drop down "file of types" to ODBC
Databases()
3)Choose Machine Data Source,Sageline50v7,ok,Log on name =
manager, password = password,ok
4)Select INVOICE, INVOICE_ITEM, SALES_LEDGER, STOCK,OK
5)Return back to menu screen when completed.
I have had a go at trying to write the makro for this then
assign it to a button but it does not work.
Can anyone assist please?
If you are not able to assist please could you guide me in
a direction where i might be able to get help.
Thank you very much
Colin Auton
I would be very grateful if anyone could help me. I have
posted this on several Forums and no-one seems interested
in assisting. I do not think it is too technical for
anyone who knows Visual Basic.
A Brief insight into the problem. I did have my Access
database tables linked through ODBC to 4 live tables
within a networked version of Sage Line 50 Accountancy
software.
The data in this program is huge and took up to 5 hrs to
run the most complex of reports.
Since then the 4 tables are now imported into Access on a
daily basis which takes about 20mins and now the most
complex reports takes about 30seconds to run. This is
acceptable.
Problem.
I want to automate this by clicking a button through the
switchboard. To take away the end user having to go behind
the scenes of the switchboard.
It needs to:
1) Delete the 4 existing tables (INVOICE, INVOICE_ITEM,
SALES_LEDGER, STOCK) saying YES to the 4 popups when
trying to delete
2)New, Import Table,Ok, Drop down "file of types" to ODBC
Databases()
3)Choose Machine Data Source,Sageline50v7,ok,Log on name =
manager, password = password,ok
4)Select INVOICE, INVOICE_ITEM, SALES_LEDGER, STOCK,OK
5)Return back to menu screen when completed.
I have had a go at trying to write the makro for this then
assign it to a button but it does not work.
Can anyone assist please?
If you are not able to assist please could you guide me in
a direction where i might be able to get help.
Thank you very much
Colin Auton