The dive and fly problem is caused by extra nitrogen being dissolved in your blood when you dive, remember the bends ?
The reduced pressure in an airplane will tend to cause more bubbles to form in your blood. Flying and then diving will not cause any problems. Flying and climbing to 14,000 feet won't cause problems because of the flying part but depending on your body and age going from sea level to 14,000 feet may bother you or may not. You will notice the difference however. Some people might get sick doing that but if you follow the mountaineering rule of CLIMB HIGH and SLEEP LOW you probably won't get sick or die. Another rule that works pretty well is to make camp no more than 1000 feet higher every day above say 12,000 feet. The cause of the mountaineering problem is totally different than the bends problem form diving. As you go up your blood chemistry changes because there is less carbon dioxide in your blood at lower pressures. This makes your blood PH change (less acid) and can cause very bad problems. If you ascend slowly, your body will adjust to the new lower pressure much better. Young people (under 20) and old people (over 60)
tend to have more trouble acclimatizing. The blood chemistry problems do not happen right away but take time to set in. Again, climb high, sleep low. The lower oxygen supply in the air and your blood you will notice immediately.