Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create and display a duplicate
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00665861
Message ID:
00665977
Vues:
24
>>Hi, Phil!
>>
>>What about dealing with
LOCATE FOR rec_Id = m.MyId
>>LOCAL loScatter
>>SCATTER MEMO NAME loScatter
>>APPEND BLANK
>>
>>#IF If you have a Default functionality to fill primary key
>>   * take the id generated by the default functionality during APPEND BLANK
>>   loScatter.rec_Id = rec_Id
>>#ELSE
>>   * changing the primary key
>>   loScatter.rec_Id = <whatever>
>>#ENDIF
>>
>>GATHER MEMO NAME loScatter
>
>Thanks to both you and Hilmar!!

Hi Phil,

In addition to these suggestions I have a label on the top of the form, which said: "This is a cloned record". Sometimes user becomes confused, so it would be helpful to have a visual clue. Don't forget to make this label invisible once you save or move to another record.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform