[AccessD] A2K: Recordset

Darren Dick d.dick at uws.edu.au
Mon Feb 24 19:55:00 CST 2003


Hello all
I want to set a recordset for a report. Then I want controls on 
the report to equal fields from the recordset.

Something like 
dim rst as recordset
set rst = "select * from Users where Clue > 0;"  ' Thanks Charles

Say in the table Users there is a field called LogoPath (Text Data Type)
Say I have an image control on my report called imgLogo.
I want the .Picture property of the image control to equal LogoPath, so...

Me.imgLogo.Picture = rst.LogoPath

How do I do this????

Many thanks in advance

Darren


-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 1640 bytes
Desc: not available
URL: <http://databaseadvisors.com/pipermail/accessd/attachments/20030224/c5a8b1ad/attachment.bin>


More information about the AccessD mailing list