Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding new records using Views??
Message
De
10/02/1999 21:49:23
Dave Nantais
Light speed database solutions
Ontario, Canada
 
 
À
10/02/1999 09:09:21
Noman Aftab
Embry-Riddle Aeronautical University
Daytona Beach, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00185916
Message ID:
00186351
Vues:
13
>Hi!
>I am using a controlpanel for adding, editing and etc purposes which resides as a 'txtbtns' class in wizstyle.vcx class library. Please lemme know if my solution sounds reasonable if not then please advise me on this issue.

are you using the 'txtbtns' class that comes with the wizstyle.vcx class library in VFP ?

are you a)just dropping an instance of 'txtbtns' onto a form or are you using
b) form wizard?
c) one-to-many form wizard?

I use the form wizards for small projects that will not require long term maintenance. Classes provided in Wizstyle.vcx for VFP 3, and 5 are not good for long term projects/enhancements.

I would not just drop 'txtbtns' onto a baseclass 'form' because I think 'txtbtns' and the Form wizards were meant to be used together.


>I have views for extracting data with one-to-many relations. When I do ADD I am allowed to put in data into parent table. As far as multiple data entry is concerned should I select the data and when SAVE is pressed then make it to put the data into the view, which will update the related tables.

are you talking about views 'based' on tables ?
or are you talking about updating two 'related' tables ?


you can use views in conjuction with txtbtns and your views will update the tables they are based on as long as the view itself is made to update changes ; i'd test the database and views carefully to make sure they interface well with 'txtbtns'

in other words : SET STEP ON

good luck , Dave.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform