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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. nastar1

    Accidently deleted a table

    Excellent advice on the whole. don't be too alarmed at my weekly backup schedule. This is a relatively tiny database and only have about a half dozen or less transactions a week and the total amount of data in those transactions is fairly easy to re-input. I was more concerned with the logic...
  2. nastar1

    Accidently deleted a table

    Disregard. I simply had a backed up version of the frontend and backends restored and am back in business. Feel free to educate me a bit on procedures I could have followed to recover from this in the future. To clarify, what i had done was delete records from one of my linked tables in my...
  3. nastar1

    Accidently deleted a table

    I accidently deleted the contents of a linked table. After discovery, I then copied the table contents from a backed up table to the corrupted target table. Now all of my forms that use fields from the affected table are initially blank. Users are able to click the dropdown and select data...
  4. nastar1

    Avoiding duplicate 'numbers'

    Users are reporting cases where two identical 'SEQ' numbers are being assigned to different records. This occurs when more than one user has the form open to create a new record. My Form_afterupdate code is below: If Me.NewRecord Then Me.FY.Value = CLng([FY]) Me.Seq = Nz(DMax("Seq"...
  5. nastar1

    Edit Hyperlink browse to C drive

    pwise, No, the file will not open if that corrupted filepath is displayed. I could never determine what the cause was and could find no assistance or info on it anywhere on the net. Oddly, the corrupted filepath would occur somewhere like 80% of the time in my experience. The correct UNC...
  6. nastar1

    Edit Hyperlink browse to C drive

    pwise, What it does is open a File Open Dialog box that allows the user to browse to and select the file of choice. From my experience it is far and away more stable/reliable than the InsertHyperLink method. In fact, I could not get help anywhere to get the hyperlink method to work...
  7. nastar1

    Edit Hyperlink browse to C drive

    Hello vlingen, I tried and tried all kinds of variations of the hyperlink commands, but nothing worked. I finally broke down and implemented the Open File Dialog code in the link below. http://www.mvps.org/access/api/api0001.htm This worked perfectly. It looked awful daunting to me, but...
  8. nastar1

    Combo Box dependent upon another Combo Box entry

    I'm getting closer to a workable solution. On new records the cboOffSym now displays only those entries that relate to the cboOrgID. The only problem is that when I cycle back through existing records, all of them show a blank in the cboOffSymID rather than the entry that was previously...
  9. nastar1

    Combo Box dependent upon another Combo Box entry

    I understand not using the * in the query, this was the default Access assigned to those cbo's. The common field between the two combo's is OrgID. It is the primary key in the Orgs table and the foreign key in the OffSym table. SQL for the cboOrgID is: SELECT DISTINCTROW Orgs.*, Orgs.Orgs...
  10. nastar1

    Combo Box dependent upon another Combo Box entry

    I'm having problems getting the correct configuration for this to work. I have a form with a combobox called OrgID and another called OffSymID. At present the rowsource for the OffSymID is a fieldname of the same name from a Table called OffSym with criteria as OffSym.* and OffSym in...
  11. nastar1

    Same basic query used with different parameters

    Is there a technique to using the same basic query only changing a parameter each time you run it? Say for instance I am using a query that captures all records from a table with fields: Name Position OfficeSymbol I then want to be able to run the query to select based upon a parameter with...
  12. nastar1

    Not in List broken after Office 2007 upgrade

    That was the problem. I've seen nothing in my travels that tipped me off that the code I was using was outdated, but I was not confident it was good logical code to begin with. Thanks for the assist.
  13. nastar1

    Not in List broken after Office 2007 upgrade

    The NotinList below worked fine under Access 2003, but 2007 now displays a dialog box "Do you want to save changes to the design of the form "frmAddDelTics" and then the form "frmAddDelCust" opens. I can't see anything to correct and I dont understand what is causing the dialog box to ask if...
  14. nastar1

    acSaveRecord prior to OpenReport

    Thanks guys. Your solutions worked perfectly. And I'm learning a little with every solution.
  15. nastar1

    Create A Number for Daily Use

    Oops, forgot that you were looking to begin the field with a static text entry rather than the Year. Should be a snap to make that correction to my code sample.
  16. nastar1

    Create A Number for Daily Use

    Julian date is only a 3 digit number starting at 001 every year and ending with 365 or 366. Heavily used in military data systems and calendars. I think you could use something along the lines of the code below. On each new entry, you'll get the Year, then the Julian date and then a unique...
  17. nastar1

    acSaveRecord prior to OpenReport

    WHen I click the cmdButton with the code below the first time on a new record, the save processes, but the OpenReport does not. If the user clicks the cmdButton a 2nd time, the OpenReport works. Any tips on what I've done wrong in my code so that the save goes and then the OpenReport follows...
  18. nastar1

    OpenForm with where select based on users prompted input

    Anyone have examples of how to write a WHERE statement with one JOIN in it, that I could include in my OpenForm method? Not sure if that is even possible or not.
  19. nastar1

    OpenForm with where select based on users prompted input

    qryWAbyPoc is a Select Query and to get the SQL equivalent, I had to export a copy of the documentation. See below. SELECT tblWA.WAID, tblWA.Seq, tblCLIN.CLIN & "-" & tblCONTRACTS.Name & "-" & [FY] & "-" & Format([Seq],"000") & "-" & [Rev] AS [WA#], tblCONTRACTS.Name & " " &...
  20. nastar1

    OpenForm with where select based on users prompted input

    I have a main switchboard menu choice that would run the following: DoCmd.OpenForm "frmQuickView", acFormDS, "qryWAbyPoc", , acFormReadOnly, acWindowNormal However, the user gets prompted twice for the POC LastName and ultimately no records returned by frmQuickView. qryWAbyPOC includes most...

Part and Inventory Search

Back
Top