Source Table =Rec.Customer

poppins
Member Posts: 647
Hi everyone,
I have some trouble with the following piece of code:
While running the code I get the following error message:
How can I fix that???How should I define Record1 to make it work???
I have some trouble with the following piece of code:
FORM.RUN(Form1, Record1);Record1 is a record of type Customer while Form1 is has rec.Customer as Source Table...
While running the code I get the following error message:
The specified table (Customer) is different from the table the form uses(rec.Customer)
How can I fix that???How should I define Record1 to make it work???
0
Comments
-
Are you sure SourceTable of the form1 is Rec.Customer?0
-
Yes, of course :?0
-
So, you're telling you have a table named "Customer" and table named "Rec.Customer". Am I right? :roll:
If so, the error is correct. The Record must be the same as the SourceTable property.-Mihail- [MCTS]0 -
In the SourceTable property of the form, I found Rec.Customer...
But I couldn't define a record of type Rec.Customer...I get the following error:You cannot enter 'Rec.Customer' in TableNo.
0 -
You should mention Table No. in SourceTable property not the field..0
-
I don't really understand....
What I did is that I tried to define a record variable in the C/AL Globals menu...When I tried to put Rec.Customer in the Subtype field, I got the error message....
What are you suggesting to do???0 -
poppins wrote:In the SourceTable property of the form, I found Rec.Customer...
so make it to Customer and try..0 -
With Customer in the SourceTable, it works, but I want to make it work without modifying the SourceTable...is it possible???0
-
poppins wrote:With Customer in the SourceTable, it works, but I want to make it work without modifying the SourceTable...is it possible???0
-
OK0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions