FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
Next one V8 : component with result
Next one V8 : component with result
Débuté par Teun van Unen, 08 juin 2005 22:16 - Aucune réponse
Connectez-vous…
Teun van Unen
#1
Posté le 08 juin 2005 - 22:16
Hello,
I have changed that data-conversion PROCEDURE (see my previous message) in FUNCTION. So the last line is : RESULT V_WinDevDate to return the result (without END, Al!! that gives a compiler error).
I create a component of this project:
name component : FCMagicIntegerDate
name window : MagicIntegerDate
name FUNCTION : MagicIntegerDate
I integrated the component in another project and calls the component with an open statement :
AA90_InvoiceDate = OPEN (MagicIntegerDate,MagicInvoiceDate)
All looks well in the working of the component (I have inserted displays to see the result of the temporary fields), but when the component ends I get the message :
"Value shoud have been returned by Open function."
(Yes, THEY write 'shoud'!!)
It seems this is not the right way to get the result back?
I had already tried before using the procedure name:
"AA90_InvoiceDate = MagicIntegerDate (MagicInvoiceDate)"
but then I get a compiler error "MagicIntegerDate procedure is unknown".
Who can give me (a) hint(s)?
TIA, Teun.
Knowledge of WinDev grows but for me not fast enough .
Signaler
0
0
→ Revenir à WINDEV 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