I guess you created a table in a SQL database without using the finsql.exe client. You can use this table in Navision, if you create a view to this table ... but don't ask me how. :roll:
No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
1) In SQL Server Enterprise Manager: Create you view and name it like a navision table is named: e.g. Companyname$Tablename
2) In Navision:
a. Create a table with the same fields as the view ...
b. Set the property "LinkedObject" to "Yes"
I have done this with Views to get around Navision's sorting problem (can only sort on fields actually in Navision table).
It works well and the performance is excellent.
Comments
What do you mean by "file created in SQL server" ?
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
I want to have access and to see and edit data via a form in navision
Just for curiousity, how did you create the file manually in sql server?
1) In SQL Server Enterprise Manager: Create you view and name it like a navision table is named: e.g. Companyname$Tablename
2) In Navision:
a. Create a table with the same fields as the view ...
b. Set the property "LinkedObject" to "Yes"
Done!
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
Section 7.4 - "Linked Objects" in the Application Designers Guide (w1w1adg.pdf on the Product CD).
It works well and the performance is excellent.
http://mibuso.com/blogs/davidmachanick/
I think the whole point of using SQL is to save on licence, no? I mean tables are EXPENSIVE.
IMHO
Do It Yourself is they key. Standard code might work - your code surely works.
Do It Yourself is they key. Standard code might work - your code surely works.