Single Choice Easy

QYou are to complete the code needed to update records. You need to assign the updated value for the vehicle model before updating. Which will best complete this statement?

{
fmVehicle.dbModel _______ "Big Truck";
 fmVehicle.update();
 }

ID: #9394 Database Manipulation in D365 F&O X++ 246 views
Question Info
#9394Q ID
EasyDifficulty
Database Manipulation in D365 F&O X++Topic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A ==
  • B =
  • C +=
  • D !=
Correct Answer

Explanation

Justification:

  1. The “==” is used as a relational operator. This returns “true” when the two expressions are equal, it does not assign any values.
  2. The “=” is the correct operator to use to assign the value of the dbModel field to the value “Big Truck” in this example.
  3. The “+=” is an assignment operator that increments the value of the variable on the left by the value of the expression on the right. It does not assign values.
  4. The “!=” operator is a relational operator returns “true” if two expressions are NOT equal. It does assign values.

 

Related Lesson: Data Updates

Share This Question

Challenge a friend or share with your study group.