Microsoft
MB6-704 · Question #81
A table named Table 1has a string field named AccountNum. You have an instance of Tablel named tablel. You need to print the value of AccountNum to the infolog. Which code segment should you use?
The correct answer is D. Info (tablel. AccountNum). Just reference using the standard tablename.tablefield syntax.
Develop X++ code
Question
A table named Table 1has a string field named AccountNum. You have an instance of Tablel named tablel. You need to print the value of AccountNum to the infolog. Which code segment should you use?
Options
- AInfo (tablel.Get AccountNum());
- BInfo (tablel AccountNum());
- CInfo (int2str (tablel. AccountNum));
- DInfo (tablel. AccountNum);
How the community answered
(33 responses)- A3% (1)
- B3% (1)
- C12% (4)
- D82% (27)
Explanation
Just reference using the standard tablename.tablefield syntax.
Topics
#infolog#info()#field access#X++ syntax
Community Discussion
No community discussion yet for this question.