Search results

  1. I

    TCP connector for access

    I am trying to create a vb client and server to behave as an interface to access over TCP/IP using winsock. My motivation is to have the server produce full logs of access to the database mdb file, and to log all the SQL edit requests to allow for roll-back, and restore the db after corruption...
  2. I

    I am sooo over my head!

    I'm afraid you'll HAVE to do some kind of query here, to check if that security number already exists. The way I would tackle it is to put in some BeforeUpdate event code on the textbox. This code would search through the database and see if that Social Security number exists. If the number...
  3. I

    Visual Basic frontend configuration database access

    Thanks Pat. Sorry to have posted here, but thanks -you gave me enough info to do an intelligent web search. For anyone other novices that need a leg up in using VB to connect to their access database here's the link I found. http://www.visualbasicforum.com/showthread.php?s=&threadid=11273
  4. I

    Date() problem "doesn't always work on other machines"

    How much do you like messing with the registry? I think that might be the only way to get at this information. I haven't found it though (but I am not familiar with the registry anyhow) In Windows 2000, you can bring up the regional settings applet by running intl.cpl, but you can't get it to...
  5. I

    Visual Basic frontend configuration database access

    I would like to port my access application to having a visual basic frontend with Access at the back. My motivation is that I want to learn how to connect from Visual Basic to Access, and possibly one day SQL server. Its a lot out of my league, and I don't know where to start. I have Visual...
  6. I

    Date() problem "doesn't always work on other machines"

    When my database loads, I put in a region checker to see what region the machine is set to. It compares a date like "1 Dec 2003" to what the machine thinks is the shorthand. If its "1\12\2003" I let them use the database. Otherwise, I get them to change their regional settings. Not elegant...
  7. I

    british date reverting to us date

    To convert my British dates to U.S. for SQL, I use this: Format(mydate, "mm/dd/yyyy")
  8. I

    VisualBasic For Applications Help

    I've always found that the best way to learn a programming language is through neccesity. Nothing motivates like a problem needing to be solved. I started out with no visual basic or access experience, and searching through this site sample code got me started, AND fixed every problem I ever...
  9. I

    Help can't access Access!

    You'll have to get the file from your Office 2000 CD. This file is too big to post here. Then, look at the rest of the posts as advised to continue. Ian./
  10. I

    Disabling Highlight Drag in TextBox?

    Using the -On Enter- event -Thats it! I tried moving the cursor to the end of the text, using Selstart and SelLength and that didn't help, but I noticed that the code was activated when the mouse was pressed rather than when it was depressed. So, I shifted the focus of the control off the...
  11. I

    Disabling Highlight Drag in TextBox?

    Hi all, I have a form with textboxes whose data is automatically filled in when the form loads. I need to have the click-event on the textbox open to me so the user can select this text as an option, but I don't what any text in the box to highlight with the cursor when they -do- click on it...
  12. I

    Continuous Form

    How about adding "After Update" events to each of your text boxes. The after update code would set the next lines code to the contents of the current box?
  13. I

    Problem with Add in Manager MS Access 2000

    I've heard of this error before. But only in Access 2.0. This usually comes from loading the wrong version of the tools and libraries. You possibly might be trying to load in older access libraries here?
  14. I

    Single Record Corruption in Table -can it be fixed?

    The field that corrupted so bad I couldn't even edit it WAS a memo field Rich.... Is this a problem with memo fields? Remember, I couldn't even delete the record either! And Pat, sadly a compact and repair didn't help. And I was lucky the database is pretty basic. I try to do as much of the...
  15. I

    Single Record Corruption in Table -can it be fixed?

    What I did was: 1) Copy old table [books] to new table [NewBooks] as structure only 2) Wrote a VB script to copy the entries from the old table into the new one up to the point of corruption. 3)Hand entered the correct data for the corrupted entry 4)Used the VB script to copy the rest of the...
  16. I

    Single Record Corruption in Table -can it be fixed?

    I have a puzzelling problem with a corrupt entry in a table. The table consists of 2500 records, and for some reason entry 2148 has spontaneously corrupted. I have no idea why this happened. I have tried replacing the corrupted fields in the table manually, but ACCESS keeps poping up "Invalid...
  17. I

    Linked Form Criteria

    Thankyou for your patience, I did search the archives, but as I didn't know the name to my problem, so it was difficult. Have tried now using the Bookmark, and with a little extra help from the archives all is running smoothly. Thankyou again for your help -it feels great to have this problem...
  18. I

    form can't see data

    I'm new to this, but I have forms which do this, using Recordset. If I get you right, you want to access the field in the table without adding the corresponding field into the table? You'll need something like: Dim db As DAO.Database Dim rs As DAO.Recordset Set db = CurrentDb()...
  19. I

    Linked Form Criteria

    I've got an interesting problem regarding form opening criteria. I have four forms (A,B,C,D) which are linked by "forward" and "proceed" buttons. From the stating form A, I can scan to any database entry using the navigation controls. When I find the one I want I can edit data and proceed to...
  20. I

    Beginner trying to set table values from VBA

    OK. I'm all on my lonesome, but just for others out there..... Some previous postings mention that Access 2000 has some changes and the Database Access Object Library (which I seemingly need) is not installed as standard. In the Visual Basic Editing window, goto tools and you should see the...
Back
Top Bottom