Results 1 to 6 of 6

Thread: New to all of this. Please HELP!!!

  1. #1
    Lukey83 is offline VB.NET Forum Newbie
    .NET Framework
    .NET 2.0
    Join Date
    May 2012
    Posts
    3
    Reputation
    0

    Question New to all of this. Please HELP!!!

    Hi guys,

    I know that this is going to be a pathetic question, but I do not usually handle anything to do with the work Access 2000 Database.

    My boss wants a new error reporting tool that pops up a message saying that a machine is already booked out when trying to book it out to a client. I have used a Macro to create the message, however, the way that the forms are designed makes the message pop up when we are trying to return the item using a Ctrl F - Find and Replace.

    The database consits of 1 window that allows us to book out and return in the same form.

    Could someone help me with some VB that would replace this Macro.

    The Macro I have is -

    ([Forms]![Equipment lending Query 2]![Equipment lending Query 2 subform].[Form]![Return Date]) Is Null MsgBox

    I know this is not much to go on, but if anyone can help, I am able to send screen shots etc. I havent touched access in about 12 years and it sounded so simple.... But being such a simple database, its now becoming too complicated for me.

    Thanks in advance.

  2. #2
    jmcilhinney's Avatar
    jmcilhinney is online now VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    11,504
    Reputation
    1553
    Can I just confirm, is this a VB.NET application with an Access backend, or is it an Access application?

  3. #3
    Lukey83 is offline VB.NET Forum Newbie
    .NET Framework
    .NET 2.0
    Join Date
    May 2012
    Posts
    3
    Reputation
    0
    Quote Originally Posted by jmcilhinney View Post
    Can I just confirm, is this a VB.NET application with an Access backend, or is it an Access application?

    We are using MS Access

  4. #4
    jmcilhinney's Avatar
    jmcilhinney is online now VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    11,504
    Reputation
    1553
    That doesn't really answer my question because both options use Access. Can we assume that that means that you're using JUST Access and not VB.NET?

  5. #5
    Lukey83 is offline VB.NET Forum Newbie
    .NET Framework
    .NET 2.0
    Join Date
    May 2012
    Posts
    3
    Reputation
    0
    Quote Originally Posted by jmcilhinney View Post
    That doesn't really answer my question because both options use Access. Can we assume that that means that you're using JUST Access and not VB.NET?
    I'm sorry to be a pain. I'm pretty sure it is just Access. It is an Access 2000 file format that we open it with. I really do not know too much about VB at all.

    There is a small portion of code in the Objects area under Moduels - SQL.

    Does this help?

  6. #6
    ggunter is offline VB.NET Forum Fanatic
    .NET Framework
    .NET 2.0 (VS 2005)
    Join Date
    Apr 2008
    Posts
    137
    Reputation
    99
    Lukey83,

    If you are opening this using Microsoft Access then this is not a Visual Basic project. If it contains code, that code is in VBA (Visual Basic for Applications); a completely different animal from Visual Basic DotNet.

    You should post your questions on an Access forum. Just google it, there are several out there.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Harvest time tracking