Standard picture in a field

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
 
B

Bob Hairgrove

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

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top