FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
Updating tables from fields
Updating tables from fields
Débuté par Joel, 18 sep. 2008 17:31 - 3 réponses
Connectez-vous…
Joel
#1
Posté le 18 septembre 2008 - 17:31
If a page has fields from several tables, when you do a "PagetoFile()" and "Hadd()", will the system take care of getting the fields into the correct tables as long as they are linked correctly? If not, is there a method other than "PagetoFile()" that can handle this scenario?
Signaler
0
0
Hilario Perez Corona
#2
Posté le 19 septembre 2008 - 09:34
The short answer: Yes.
Just be sure not to link the same field twice in the Screen.
Signaler
0
0
Joel
#3
Posté le 20 septembre 2008 - 02:02
I can't that to work. suggestions?
Hilario Perez Corona wrote in news message <463338f38ee2c7669ff40356da246a91@news.pcsoft>:
The short answer: Yes.
Just be sure not to link the same field twice in the Screen.
Signaler
0
0
Hilario Perez Corona
#4
Posté le 25 septembre 2008 - 08:56
Can you bring more information on the error? You can ask for the specific error with HError, for example:
HReset
(
Products
)
ScreenToFile
(
)
// Perform additional calculations
HAdd
(
Products
)
IF
HError
(
)
THEN
// The record could not be added
Error
(
HErrorInfo
(
)
)
END
Also you can put a breakpoint in the HAdd function to see the values of the files before adding the record to the file.
Cheers!
Hilario Perez Corona
Nabu Tecnologia en Software
Signaler
0
0
→ Revenir à WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte