Hi Alvin...
>After changing the RI Update from Ignore to cascade. The program shows
>
>"file __ri_update_prg dosn't exist."
>
>Checking the dbc I noticed that procedure __ri_update_prg isn't in the code field.
>
>Is there a way to tell VFP to regenerate all the ri codes?
You;re not going to like this answer, but if your RI is gone, it's gone. You're going to have to restore it from scratch. In the future, when your dbc is where you want it to be, run GENDBC (installed by VFP under the \tools\gendbc subdirectory for VFP) and save the PRG it generates. This PRG can be used to restore such things in the future.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05