Standard picture in a field

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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

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.
 
Thanks
Its working

Alvin


Bob Hairgrove said:
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.
 
Back
Top