The foreknowledge spoken of (in Romans 8:29) is foreknowledge of persons, not events. The statement reads, “whom He foreknew…” You see this as well in Romans 11:2, speaking of His endearment to Israel: “God did not reject His people whom He foreknew.” Therefore we can deduce that foreknowledge as related to salvation is not just seeing a person's conversion experience prior to election and therefore electing on the basis of the individual’s choice. It is a foreloving of persons.
Jim Elliff