Navision Pivot Table
Here's a new control you can use in a Navision form: a Pivot Table.
This example is very simple to use and doesn´t have restrictions, so you can link the pivot table to any Navision table.
http://www.mibuso.com/dlinfo.asp?FileID=484
Discuss this download here.
Comments
this is my connection
DLL4.CreateConnection(NomeComputador,'D:\guido.fdb','Object Manager','Employee');
NomeComputador = "". I changed this to my pcname and to localhost, but had no effect.
- Object Manager is company Name
- Employee is tablename.
What goes wrong?
My world: Dynamics NAV,SQL and .NET
CEO at Solving Dynamics
http://www.solvingdynamics.com
DLL4.CreateConnection('SBS02','susa','SUSA','Country');
SBS02 = SQL server
susa = DBName
SUSA = Company
Finally got it to work. But now my field list keeps disapearing after I D&D one field.
Guido
My world: Dynamics NAV,SQL and .NET
CEO at Solving Dynamics
http://www.solvingdynamics.com
NomeComputador := ENVIRON('COMPUTERNAME');
// you have to use the SQL name of the table
//DLL4.CreateConnection(NomeComputador,'Navision Demo Database','CRONUS Portugal SA','Cust_Ledger Entry');
DLL4.CreateConnection(NomeComputador,'370','CRONUS Danmark A/S','Cust_Ledger Entry');
DLL4.Andre;
370 = Databasename in SQL
When I open the form I get the following error:
The query could not be processed:
o "Command contained one or more errors."
/René
The field list problems I dont understand :-k but I will try to research
My world: Dynamics NAV,SQL and .NET
CEO at Solving Dynamics
http://www.solvingdynamics.com
But that's how the database is setup, and that cannot be changed! So it's kinda useless..
My world: Dynamics NAV,SQL and .NET
CEO at Solving Dynamics
http://www.solvingdynamics.com
Here's a new control you can use in a Navision form: a Pivot Table.
This example is very simple to use and doesn´t have restrictions, so you can link the pivot table to any Navision table.
New:
- You have 2 ways to make a connection
- You can change de connection string (user, password, etc)
- You can define the select in navision, joining tables, etc
http://www.mibuso.com/dlinfo.asp?FileID=484
Discuss this download here.
The Name "Entry No." contains invalid characters."
But those names are navision names, it's something I can do ?
:shock:
Try using brackets on field names like
[Entry No.]
On my 3.6 client, it crashes client when it comes to dll4.Andre...
My world: Dynamics NAV,SQL and .NET
CEO at Solving Dynamics
http://www.solvingdynamics.com
MS Office 2000 SR-1 Proffesional
You say, i should have installed MS Office Xp at least?
My world: Dynamics NAV,SQL and .NET
CEO at Solving Dynamics
http://www.solvingdynamics.com
You could make a version checker
Another feature... I tried at friends comp (with OWC 10) and made a connection.
But, if I try to open Field menu popup, it just blinks once and disappear... :shock:
That happens with all controls in upper menu. I can't put fields on the pivot table.
If I export to excel, it all works fine there...
My world: Dynamics NAV,SQL and .NET
CEO at Solving Dynamics
http://www.solvingdynamics.com