Assignment Operators |
The Visual Basic used for "Single-Line Expression" is a simplified form invented by the manufacturer of
Value = Trim(Field("part_number")) & Field("price")
This example takes the "part_number" field from the current database record, removes all trailing spaces, and appends (or "concatenates") the price of the part onto the end of the part number. The resulting combined data is then assigned to the variable named "Value."