Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2 Report Questions
Message
De
09/06/1998 16:11:09
 
 
À
09/06/1998 16:04:11
Tom Hammer
Pennwell Publishing
Tulsa, Oklahoma, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00106460
Message ID:
00106466
Vues:
27
>1) I want to create a report so that each page is a seperate record. Easy enough. However, each record has a field which contains a bitmap picture filename. How do I display a different picture on each page. I've tried placing a Picture/OLE Bound Control and then setting the property to get the picture from the field which contains the name, but I get the message "Field must be a general field." when I Print Preview.
>
>2) Given the following 2 tables:
>

>agents buildings
> name name
> id id
>

>agents.id = buildings.id (id is what links them together)
>
>If I'm printing a report of buildings, how do I print the agent's name corresponding to each building. It seems as though I'll need to do a SELECT SQL statement somewhere.
>
>Thanks.

'Picture' report field can use UDF to retrieve different bitmap file names, i.e.

Function getpicture
If mytable.field1=1
return c:\file1.bmp
else
return c:\file2.bmp
endif
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform