Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append records from other table
Message
De
29/04/2004 23:44:07
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Append records from other table
Divers
Thread ID:
00899590
Message ID:
00899590
Vues:
38
peace!!!!

i would like to append all the products into the purchased table when i selected a category(product table).

for example:
joe selected a category; fruits. then all the fruits from the product table under the selected category shall append to the purchased table.and the purchase table will look like this(assuming that i already input the quantity and price or i already purchased)

>>>purc_id -- name --- prod_id --- prod_name --- quantity --- price &&fieldnames
>>>1001 ------joe--------p101--------apple--------3 pcs-------$10 &&records
>>>1001-------joe--------p102--------mango--------2 pcs-------$12
>>>1001-------joe--------p103--------orange-------2 pcs-------$10

is it possible and how?
thanx!!!


>>>>>>product table
category:
product_id:
product_name:

>>>>>purchased table
purc_id:
name:
prod_id:
prod_name:
quantity:
price:
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform