Replace the .vjmp with &vjmp dotted variables contain values, ampersand uses them as a command. Albert
Jason Kramer wrote:
I have a form with a DBGrid. When the user clicks on a record to modify it, several variable controls are populated with information. If the user clicks on another record in the DBGrid, the variable controls will be populated with new information, throwing out any unsaved changes (if any). If there are any unsaved changes, I want to give the user he chance to stay on the current record, or discard their changes and move to the new record. I recored the record number using GETPROPERY TABLE 'MyTable->RECNO' vmyrecnum in the ON ROW ENTRY EEP. I added a test for changes and a user prompt to the ON ROW EXIT EEP, along with this code for when the user wants to stay on the current record instead of discarding changes and moving on:SET VAR vjum TEXT = ('jumpto'&.vmyrecnum) PROPERTY TABLE MyTable .vjmpWhen this bit of code executes, the database closes/crashes. There is no warning or error, R:BASE just coses and disappears from the screen. Just to make sure the JUMPTO code was not wonky, I used it in a command button, and that works fine. The active record jumps to whatever record is stored in vmyrecnum.If anyone has any ideas or suggestions, I would appreciate it. Thanks, Jason -- Jason Kramer University Archives and Records Management 002 Pearson Hall (302) 831 - 3127 (voice) (302) 831 - 6903 (fax)

