FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
Reporting problem
Reporting problem
Débuté par Vijay Patel, 24 avr. 2015 14:36 - 1 réponse
Connectez-vous…
Vijay Patel
#1
Posté le 24 avril 2015 - 14:36
I am try to create report this datafile in 150 record included,
over reque. is all record print in report, but that is not possible me..
only print single record...
over code is...
IF HOut() = True THEN
// Stop printing the Body block
RESULT False
ELSE
// Print the Body block and run its processes
RESULT True
END
(pre body)
ITEM_CurrectAns..Value=QRY_StorePeparGet_Report.SP_CurrectAns
ITEM_SelectAns..Value=QRY_StorePeparGet_Report.SP_SelectAns
ITEM_AnsA..Value=QRY_StorePeparGet_Report.SP_AnsA
ITEM_AnsB..Value=QRY_StorePeparGet_Report.SP_AnsB
ITEM_AnsC..Value=QRY_StorePeparGet_Report.SP_AnsC
ITEM_AnsD..Value=QRY_StorePeparGet_Report.SP_AnsD
ITEM_Details..Value=QRY_StorePeparGet_Report.SP_DetailQuestion
ITEM_Questionname..Value=QRY_StorePeparGet_Report.SP_Name
HReadNext(QRY_StorePeparGet_Report)
(post body)
IF HOut() = False THEN
iPageEnd()
END
Signaler
0
0
Al
#2
Posté le 24 avril 2015 - 23:55
Hello Vijay
Which product and version ?
The quality of the English in the comments is better that that used in the questions.
Do you write this code or just ask the questions ?
Bind the data directly to the query instead of using assignments
Set the query as the source of the report.
The BODY lineof the report should just show the current data supplied to it. It is not the place to be sequencing through a data set which is what it looks like you are doing. I suspect that your code simply prints the first record and then cycles through the data using your HreadNext() command
None of the code you sent should be required to print the report or even be in the report code segments.
Regards
Al
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