Welcome, Guest. Please Login.
05/03/24 at 00:43:34
News:
Home Help Search Login


Pages: 1 2 
Send Topic Print
Exporting tables into Access (Read 4713 times)
davson
Browser
*


I love YaBB 1G -
SP1!

Posts: 35
Exporting tables into Access
08/31/04 at 12:42:18
 
Hi everyone, I'm new to this so bare with me.
 
We are thinking about exporting DBA tables into Access in order to generate more useful reports. I have never done this before and I was after some helpful tips and advice.
Back to top
 
 
  IP Logged
Skeptical
Browser
*


Out! Out! Demons of
stupidity - Dogbert

Posts: 6
Gender: female
Re: Exporting tables into Access
Reply #1 - 09/01/04 at 05:24:29
 
Unless there is a particular need to actually transfer the data to Access, I would recommend linking Access to DBA instead.  Maintaining two copies of your data can be a pain and often requires nightly imports which can leave your reporting data as much as 24hrs out of date with the live DBA data.
 
Use an ODBC DSN to link the DBA tables into Access instead of actually transferring them over.  As far as reporting, querying and coding Access, this method functions almost identical to having the tables imported.
 
Back to top
 
 
Email WWW   IP Logged
davson
Browser
*


I love YaBB 1G -
SP1!

Posts: 35
Re: Exporting tables into Access
Reply #2 - 09/01/04 at 06:17:26
 
Thanks for your help 'Skeptical'. That idea sounds much better than want I was going to do. Do you know how I go about getting the ODBC DSN setup? Would I set that up from within Access? I also have no idea how I link the tables together with DBA. Is there an option meni within DBA to do this? Sorry for all this questions I am very new at this. Thanks again.  Grin
Back to top
 
 
  IP Logged
Kelloggs
Active Member
*****


Do crazy people know
they are crazy?

Posts: 785
Gender: male
Re: Exporting tables into Access
Reply #3 - 09/01/04 at 11:55:11
 
Check this website
 
http://www.mwaccounting.com/dba/white_paper.htm
 
it's very easy to link pervasive to ms access
 
Regards,
 
Kelloggs
Back to top
 
 

Evo ERP - 35 Users
Dumped MS Access like a hot potato (VB.Net rules!!!)
Email WWW   IP Logged
davson
Browser
*


I love YaBB 1G -
SP1!

Posts: 35
Re: Exporting tables into Access
Reply #4 - 09/01/04 at 12:09:46
 
Thanks for the link to the web site. This is probably a stupid question but do I have to use Pervasive to be able to use Access?
Back to top
 
 
  IP Logged
Kelloggs
Active Member
*****


Do crazy people know
they are crazy?

Posts: 785
Gender: male
Re: Exporting tables into Access
Reply #5 - 09/01/04 at 12:14:12
 
What you MUST use to connect MS Access is Pervasive ODBC engine, which you have already installed on your computer.
 
ciao,
 
Kelloggs
Back to top
 
 

Evo ERP - 35 Users
Dumped MS Access like a hot potato (VB.Net rules!!!)
Email WWW   IP Logged
davson
Browser
*


I love YaBB 1G -
SP1!

Posts: 35
Re: Exporting tables into Access
Reply #6 - 09/01/04 at 12:19:27
 
OK thanks that makes sense.
Back to top
 
 
  IP Logged
Skeptical
Browser
*


Out! Out! Demons of
stupidity - Dogbert

Posts: 6
Gender: female
Re: Exporting tables into Access
Reply #7 - 09/07/04 at 05:06:49
 
So, how's it going Davson?
You all hooked up?
Back to top
 
 
Email WWW   IP Logged
davson
Browser
*


I love YaBB 1G -
SP1!

Posts: 35
Re: Exporting tables into Access
Reply #8 - 09/07/04 at 05:51:13
 
Yea I am at long last. Thanks again for your help, it all seem so simple now I've actually done it. lol.
 
I do have some other issues that you may be able to help me with:
 
Background: I am trying to use MS Access to generate a report which is similar to Invoice IBKSOF4.RTM with a few extra fields and a different design.
 
1. I am having difficulty finding the table which contains the 2nd line description for an Item which is entered in DBA on IN-B. I can find the 1st line of the description in BKARINVL table and most of the other information on the DBA report but not the 2nd line description. This must be stored on a different table does anyone have any ideas where?
 
2. In DBA the IBKSOF4.RTM invoice report shows serial numbers related to each Item which I am trying to display in my Access report, but I can't find the Tables which hold ALL the serial numbers. The DBA SERIAL  table holds some serial numbers but not all of them that is displayed on the DBA invoice report. I have looked in the MASTER Serial table which I hoped would display all serial numbers but it doesn't. Does anyone have any ideas which tables I can look in?
 
3. Any finally in table SERIAL there are multiple serial numbers for the same item and these duplicates are not displayed on IBKSOF4.RTM. In Access does anyone know how can I display only each unique serial number and not all the other duplicates?
 
Well I don't know if anyone can help but I would appreciate your comments. Thanks.
Back to top
 
 
  IP Logged
Lynn_Pantic
Administrator
*****


evolution (n) -
gradual change to a
different form

Posts: 5681
Re: Exporting tables into Access
Reply #9 - 09/07/04 at 05:55:37
 
Are you trying to print unposted invoices or reprint posetd invoices after the fact?  Printing unposted invoices won't replace using DBA SO-F because it needs to write back to the file and flag the Sales Order as printed & ready to post.  Also, the tables you need to look at depend whether the invoice is posted yet or not.
Back to top
 
 

Lynn Pantic
IS Tech Support
lynn@istechsupport.com
Email   IP Logged
davson
Browser
*


I love YaBB 1G -
SP1!

Posts: 35
Re: Exporting tables into Access
Reply #10 - 09/07/04 at 06:09:29
 
Thanks.
I always reprint previously posted invoices. Can you help with my issues?
Back to top
 
 
  IP Logged
Lynn_Pantic
Administrator
*****


evolution (n) -
gradual change to a
different form

Posts: 5681
Re: Exporting tables into Access
Reply #11 - 09/07/04 at 06:34:47
 
I was hoping you would say that, it makes things a bit easier.
 
The inventory second description line is in BKICMSTR, field BKIC.PROD.NOTE but it is typically pulled into the sales order as a comment line so it would also be in BKARHIVL as BKAR.INV.DESC for the line immediately after the item line on the invoice.
 
Also, if you are reprinting posted invoices you should NOT be using BKARINVL but instead BKARHINV header and BKARHIVL line item files.  Associated serial numbers are stored in BKSOHSER tied to the invoice number.
Back to top
 
 

Lynn Pantic
IS Tech Support
lynn@istechsupport.com
Email   IP Logged
davson
Browser
*


I love YaBB 1G -
SP1!

Posts: 35
Re: Exporting tables into Access
Reply #12 - 09/07/04 at 06:53:36
 
Wow thats great and such a quick response - Thanks!  
I will check out the description info. shortly. Yesterday I actually tried to use BKSOHSER table and I found two problems:
 
1. Not all the serial numbers on IBKSOF4.RTM invoice report in DBA appeared in the BKSOHSER table. Is it possible there is another table that is been used to store the other serial numbers?
 
2. There were many duplicate records for each item in BKSOHSER table. Is this a problem with the way we have setup our system and if so then do you know how we can rectify the problem? If not does it normally have duplicates and why?
 
Thanks again for your help Lynn.
Back to top
 
 
  IP Logged
davson
Browser
*


I love YaBB 1G -
SP1!

Posts: 35
Re: Exporting tables into Access
Reply #13 - 09/07/04 at 07:13:55
 
Ok so I looked for the 2nd line of the item description in BKICMSTR table and there was no information in there so I assumed as you said that it was pulled into BKARHIVL as BKAR.INVL.DESC but this only showed the 1st line of the description. Is there another table I can use? Thanks.
 
 
Back to top
 
 
  IP Logged
Lynn_Pantic
Administrator
*****


evolution (n) -
gradual change to a
different form

Posts: 5681
Re: Exporting tables into Access
Reply #14 - 09/07/04 at 07:58:18
 
You should be looking at the BKSOHSER by invoice number so you should only get the serial numbers associated with a given invoice.
 
If an item has a second description line in IN-A then the BKIC.PROD.NOTE in BKICMSTR will have that information.  Linking to the BKARHIVL table will be trickier because it is not the same record as the line item - it is the NEXT record in the file.
Back to top
 
 

Lynn Pantic
IS Tech Support
lynn@istechsupport.com
Email   IP Logged
Pages: 1 2 
Send Topic Print