Calculating age errir in VB 6.3

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

Guest

Hello!
I'm trying to work on a database for someone and they're having a few
troubles getting things working.

They use to have this program on another older computer but they recently
got new computers and just copied and pasted this database from their old
computer to the new one. What they do is just open the database that looks
like it's sitting on a server and right now they're having troubles adding
clients.

When they go to the add clients form and try to enter their birthdate, they
get the following error:
Compile Error: can't find project or libray.

From there it opens up the MS VB debugger and goes here:
Private Sub Text23_AfterUpdate()
Text21.Value = IIf(Text23.Value = "", "", (DateDiff("y", [DOB], Now()) \
365))
End Sub

With the [DOB] highlighted. I don't really know what command they're using
since I'm beyond rusty on VB and I don't really know Access too well, does
anyone know what's going on? Thanks!
 
Sounds like this is an Access VBA question and not a VB.NET question.
 
Tommy said:
I'm trying to work on a database for someone and they're having a few
troubles getting things working.

Notice that this is a group dedicated to VB.NET programming. For
VB6-related questions consider posting to one of the groups in the
microsoft.public.vb.* hierarchy.
 

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

Back
Top