Information générale
Titre:
How to create pageframe
how to create pageframe that depends on the record
for example
I have category table and three records
I want to make the pageframe's page depends on this three record
for example
THISFORM.LockScreen = .T.
n = 0
CNTREC = 0
SELECT CATEGORY
GO TOP
DO WHIL !EOF()
CNTREC = CNTREC + 1
SKIP
ENDD
THISFORM.PAGEFRAME1.PAGECOUNT = CNTREC
FOR n = 1 to THISFORM.PAGEFRAME1.PAGECOUNT
THISFORM.PAGEFRAME1.Pages(n).Caption = CATEGORY.DESCRIPTION
ENDFOR
THISFORM.LockScreen = .F.
this coding can successfully displays three pages but the category description cannot display for the page's caption
thank for your help
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement