Welcome, Guest. Please Login.
05/25/25 at 04:21:15
News:
Home Help Search Login


Pages: 1 2 
Send Topic Print
Export Data Source (Read 6459 times)
nicknails
Ex Member



Re: Export Data Source
Reply #15 - 07/17/07 at 08:40:21
 
Oops, meant to type sales orders.  It's a busy day.  I'm having trouble making a visual representation of the data in Excel.  I'm not sure what the easiest solution would be.
 
In the data, I have a bunch of columns that are all zero's.  Is there a way to exclude these in the SQL script?  I assumed that the fields under SELECT would be the only ones it exported.  I'll play around with it for a while.
Back to top
 
 
  IP Logged
nicknails
Ex Member



Re: Export Data Source
Reply #16 - 07/17/07 at 10:55:41
 
I managed to fine-tune the SQL script to get just the pertinent data.  Unfortunately, there are still some zero columns, but nothing that a macro can't fix.  However, I am getting frustrated trying to make a calendar-style type of thing.  I'll give it a rest and come back to it tomorrow.
Back to top
 
 
  IP Logged
Lynn_Pantic
Administrator
*****


evolution (n) -
gradual change to a
different form

Posts: 5663
Re: Export Data Source
Reply #17 - 07/18/07 at 06:39:32
 
Evo-ERP already has a Shipment Calendar - QU-B on the Queries menu.  It has estimated dates for Shipments, PO Receipts and Work Order Completions.  You really need to update!
Back to top
 
 

Lynn Pantic
IS Tech Support
lynn@istechsupport.com
Email   IP Logged
Kelloggs
Active Member
*****


Do crazy people know
they are crazy?

Posts: 784
Gender: male
Re: Export Data Source
Reply #18 - 07/18/07 at 09:54:10
 
Importing data using Pervasive Control Center, imports "0". It's not going to work.
 
You need to create a MS Query in MS Excel.
 
SELECT
BKARINV.BKAR_INV_ORDDTE,
BKARINVL.BKAR_INVL_ESD,
BKARINV.BKAR_INV_SONUM,    
BKARINV.BKAR_INV_CUSNME,    
BKARINV.BKAR_INV_DESC,    
BKARINV.BKAR_INV_CUSORD,    
BKARINV.BKAR_INV_ENTBY,    
BKARINVL.BKAR_INVL_CNTR,    
BKARINVL.BKAR_INVL_PCODE,    
BKARINVL.BKAR_INVL_PDESC,    
BKARINVL.BKAR_INVL_PQTY,    
BKARINVL.BKAR_INVL_PPRCE    
FROM BKARINV INNER JOIN BKARINVL ON BKARINV.BKAR_INV_SONUM = BKARINVL.BKAR_INVL_INVNM  
WHERE BKARINV.BKAR_INV_INVCD <> 'Y' AND  BKARINV.BKAR_INV_INVCD <> 'V'
AND BKARINVL.BKAR_INVL_ESD IS NOT NULL
AND LENGTH(BKARINVL.BKAR_INVL_PCODE) <> 0  
AND BKARINVL.BKAR_INVL_ESD >= (CURRENT_DATE ( ) - 1) AND BKARINVL.BKAR_INVL_ESD <= (CURRENT_DATE ( ) + 30)
ORDER BY BKAR_INV_ORDDTE ASC
 
This query will show you all SO Lines that need to be Shipped between yesterday and 30 days into the future.
 
Regards,
 
Kelloggs
Back to top
 
 

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


Evil-Evo Bad Dog!

Posts: 533
Gender: male
Re: Export Data Source
Reply #19 - 07/18/07 at 14:43:16
 
Quote from nicknails on 07/17/07 at 08:18:05:
I got the data into the text file.  I have to do numerous edits in Excel, but I got the data that I need.  Now I just have to do the calendar part.

Do you know off-hand if I have to keep redoing the DDF files?  Or are those just constant?

 
I have a few reports created using Excel and its Query function. The real nice part is after you create/edit the Query, you can record a Macro to do all the formatting and editing. This way you can run a real time report at the click of a mouse.
 
John
Back to top
 
 

EVO-ERP, ISTS 3.27.08 , 2000I 10 user
Email WWW   IP Logged
shadowcaster
Active Member
*****


I'm not here because
I know what to do.

Posts: 678
Gender: male
Re: Export Data Source
Reply #20 - 07/30/07 at 07:25:13
 
I would love to be able to do this for open work oders by work center.
and bring that into MS project.
 
 
Back to top
 
 
WWW   IP Logged
Charlie Klihr
Member
**


Custom Transformer
Manufacturing

Posts: 66
Gender: male
Re: Export Data Source
Reply #21 - 07/30/07 at 11:59:48
 
I have tried to get this to work for awhile. I get a Java error (Java.IO.IOException: Could not Connect) when trying to open a database or file.
 
Portion of the error log is below-
 
!SESSION Jul 30, 2007 12:09:58.921 ---------------------------------------------
eclipse.buildId=I200406251208
java.version=1.5.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
 
!ENTRY com.pervasive.psql.utilities.core 4 0 Jul 30, 2007 12:09:58.921
!MESSAGE  
!STACK 0
java.sql.SQLException: java.io.IOException: could not connect
     at com.pervasive.jdbc.v2.Connection.<init>(Connection.java:107)
     at com.pervasive.jdbc.v2.Driver.connect(Driver.java:57)
     at java.sql.DriverManager.getConnection(Unknown Source)
     at java.sql.DriverManager.getConnection(Unknown Source)
     at com.pervasive.psql.utilities.core.dbaccess.jdbc.JDBCAccess.connectToDatabase(Unk
nown Source)
     at com.pervasive.psql.utilities.core.dbaccess.jdbc.JDBCAccess.connect(Unknown Source)
     at com.pervasive.psql.utilities.core.v9.Database.connect(Unknown Source)
     at com.pervasive.psql.utilities.core.v9.ServerDatabase.querySecurityEnabled(Unknown
Source)
     at com.pervasive.psql.utilities.core.v9.ServerDatabase.isSecurityEnabled(Unknown Source)
     at com.pervasive.psql.utilities.core.v9.Database.loadChildren(Unknown Source)
     at com.pervasive.core.facets.FacetSet.internalLoadChildren(Unknown Source)
     at com.pervasive.core.facets.FacetSet.getIterator(Unknown Source)
     at com.pervasive.ui.views.navigator.NavigatorContentProvider.getChildren(Unknown Source)
     at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.j
ava:708)
     at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.
java:477)
     at org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.ja
va:585)
     at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:359)
     at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
     at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.j
ava:342)
     at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer
.java:754)
     at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.j
ava:765)
     at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179)
     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
     at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:2074)
     at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4002)
     at org.eclipse.swt.widgets.Composite.WM_NOTIFY(Composite.java:722)
     at org.eclipse.swt.widgets.Control.windowProc(Control.java:3019)
     at org.eclipse.swt.widgets.Display.windowProc(Display.java:3338)
     at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
     at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1397)
     at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:170)
     at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:1668)
     at org.eclipse.swt.widgets.Control.windowProc(Control.java:3001)
     at org.eclipse.swt.widgets.Display.windowProc(Display.java:3338)
     at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
     at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1473)
     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2429)
     at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
     at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
     at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
     at com.pervasive.ui.Application.run(Unknown Source)
     at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java
:335)
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
     at org.eclipse.core.launcher.Main.run(Main.java:704)
     at org.eclipse.core.launcher.Main.main(Main.java:688)
 


Quote from Kelloggs on 07/13/07 at 11:50:02:
You can use sql queries. Use Pervasive Control Center. Select the Database then rigth click on it
All Task, then "Export Data". Also you can call "C:\PVSW\Bin\ExpWizrd.exe"



I'm at a loss as to where to find a fix for this. Any ideas will be appreciated.
Back to top
 
 

Charlie (I'm Too Old For This) Klihr
DBA Classic 2004.1, ISTS 12/28/13
25 Users
Evo~Erp 14 Users, Build- 01/02/14 T7-7iR6
PSQL v11
Crystal Reports v7.0
Windows Server 2008 R2
Email WWW   IP Logged
Kelloggs
Active Member
*****


Do crazy people know
they are crazy?

Posts: 784
Gender: male
Re: Export Data Source
Reply #22 - 07/30/07 at 13:20:39
 
Are you using Pervasive Version 9?
 
Regards,
 
Kelloggs
Back to top
 
 

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


Custom Transformer
Manufacturing

Posts: 66
Gender: male
Re: Export Data Source
Reply #23 - 07/30/07 at 13:39:37
 
Well, no. I'm using v9.5
Back to top
 
 

Charlie (I'm Too Old For This) Klihr
DBA Classic 2004.1, ISTS 12/28/13
25 Users
Evo~Erp 14 Users, Build- 01/02/14 T7-7iR6
PSQL v11
Crystal Reports v7.0
Windows Server 2008 R2
Email WWW   IP Logged
Kelloggs
Active Member
*****


Do crazy people know
they are crazy?

Posts: 784
Gender: male
Re: Export Data Source
Reply #24 - 07/30/07 at 13:52:19
 
the problem is your java installation ( I think ). Does it happen on all workstations?
 
I would post this problem on the comp.databases.btrieve  newsgroup.
 
Regards,
 
Kelloggs
Back to top
 
 

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


Custom Transformer
Manufacturing

Posts: 66
Gender: male
Re: Export Data Source
Reply #25 - 07/30/07 at 13:59:15
 
Thanks, I will try that. I haven't tried from another workstation. Good idea.
Back to top
 
 

Charlie (I'm Too Old For This) Klihr
DBA Classic 2004.1, ISTS 12/28/13
25 Users
Evo~Erp 14 Users, Build- 01/02/14 T7-7iR6
PSQL v11
Crystal Reports v7.0
Windows Server 2008 R2
Email WWW   IP Logged
Pages: 1 2 
Send Topic Print