>Is there a way i can open a file and allow changes but disallow append.
>
>something like this
>select 1
>use myfile1 index name (noappend)
>sele 2
>use myfile2 index name2 (noappend)
>
>i am aware that the noappend works with browse
>but is there code that can be used when iniatilly opening a file that will have the same affect as noappend
>(and allow changes to existing records)
>
>thanks
>
>k
Let me elaborate on Borislav's reply. The BROWSE command is great for the programmer, to quickly show some data. But for providing an interface to the end-user, it is much too limited. For any "real" application, you would show data in a grid (or in individual textboxes and other controls, one record at a time), and include (or not include) buttons for adding and deleting records, and - depending on the design - for going to the next and previous record.
Here you have everything under control - you can include a button or shortcut key to add a new record, or not include it, or disable it under certain conditions.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)