Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert into VFP table
Message
De
20/11/2019 10:01:19
 
Information générale
Forum:
C#
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01671951
Message ID:
01671955
Vues:
72
>I'm trying to insert into a VFP table. I only need to insert 3 fields, but there are 60+ on the table. Because the fields in the table are not set to accept nulls, not a problem in VFP, it looks like I have to specify every field in the insert command. Any shortcuts or is it a case of grin and bear it?

To avoid that situation, I have been using a data dictionary and an Insert class. Thus, whenever I need to insert a record, I simply fill the fields that are required. The class would then sum the rest in order to avoid null values and put default empty values. This, by the same, resolves the restriction which may have been put at the database itself.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform