Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / February 2006

Tip: Looking for answers? Try searching our database.

Standard picture in a field

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
alvin Kuiper - 18 Feb 2006 10:16 GMT
Hi

I have this in form_current
Billede46.Picture = Billede.Value

To get the path from billede.value to Billede46.Picture and then show the
picture
its work allright but if Billede.Value is emthy then i get an error,
is there not away where i can say
if billede.value is emthy then

I have try  if billede.value = "" but dosn't work

regards
Alvin
Bob Hairgrove - 18 Feb 2006 11:31 GMT
>Hi
>
[quoted text clipped - 8 lines]
>
>I have try  if billede.value = "" but dosn't work

Try this instead:

 If Not IsNull(Billede) Then
     Billede46.Picture = Billede
 EndIf

The Value property is the default for textbox controls, so you don't
have to write it explicitly.

--
Bob Hairgrove
NoSpamPlease@Home.com
alvin Kuiper - 18 Feb 2006 12:17 GMT
Thanks
Its working

Alvin

> >Hi
> >
[quoted text clipped - 21 lines]
> Bob Hairgrove
> NoSpamPlease@Home.com
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.