Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run-time error '3315' 1

Status
Not open for further replies.

thirty4d

MIS
Feb 1, 2001
61
US
Hello!

I have a form where I have to extract different values to create an assembly.

I have extracted 3 records so far and everything seemed to be working fine. I have followed the same steps through out.

When I came to the 4th record something went hay wire because I keep getting this error:

Run-time error '3315'

Field 'Form.Fieldname' can't be a zero-length string.

Thanks if you can help me

 
You'll have to add error handling to check for a null value. Use the vbNull constant to check for it. If you find it, out something, anything, into the 'Form.Fieldname' so you don't get the error.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top