Foreign direct investment pledged for Vietnam in the first seven months of the year has hit a record $45.3 billion, up 373 percent from the same period a year ago and surpassing the record of $21.3 billion for all of 2007, the government said Tuesday.