P
poolban
Guest
Hello,
I am using ACCESS for generating report based on AS400 files. I have two directories in the AS400 system and both of them contain the same files – one is PROD (P) environment and the other one is TEST (T). Here, P is the AS400 library for PROD files and T is the same for TEST files. So far, I am using queries/reports based on TEST and once they are fine and accepted, I will produce the same from PROD data files.
What I find in the Access query tabs, all the SQL (for a sample file FILEA) are having the syntax like “select T_FILEA.field1, T_FILEA.field2 ….. from T_FILEA”. I have modified the SQL also to add some more tables (join) and more condition and I have followed the same syntax as T_FILEB etc., etc.
When I move the query/reports to point to PROD environment, do I have to change all the SQL to make them like P_FILEA.field and P_FILEB.field?
I will create new DSN (using AS400 Client Access) pointing to the prod environment. I will as usual modify my queries based on that DSN. I am wondering whether the SQL script will automatically change or I have to do the editing in the script.
Any help is highly appreciated,
Thanks in advance,
Pool
I am using ACCESS for generating report based on AS400 files. I have two directories in the AS400 system and both of them contain the same files – one is PROD (P) environment and the other one is TEST (T). Here, P is the AS400 library for PROD files and T is the same for TEST files. So far, I am using queries/reports based on TEST and once they are fine and accepted, I will produce the same from PROD data files.
What I find in the Access query tabs, all the SQL (for a sample file FILEA) are having the syntax like “select T_FILEA.field1, T_FILEA.field2 ….. from T_FILEA”. I have modified the SQL also to add some more tables (join) and more condition and I have followed the same syntax as T_FILEB etc., etc.
When I move the query/reports to point to PROD environment, do I have to change all the SQL to make them like P_FILEA.field and P_FILEB.field?
I will create new DSN (using AS400 Client Access) pointing to the prod environment. I will as usual modify my queries based on that DSN. I am wondering whether the SQL script will automatically change or I have to do the editing in the script.
Any help is highly appreciated,
Thanks in advance,
Pool