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 strongm 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. petersdaniel

    Delete Duplicates from Find Duplicates Query

    DELETE * FROM YourTable WHERE EXISTS (your Find Dupe SQL Here); petersdaniel@hotmail.com "If A equals success, then the formula is: A=X+Y+Z. X is work. Y is play. Z is keep your mouth shut." --Albert Einstein
  2. petersdaniel

    Corrupt Access 97 mdb... "Record Deleted"

    It sounds like the database has some screwed up object references in the System tables. My recommendation would be to create a new database with a different name and import the table,queries, forms, macros and module objects. This will force Access to re-evaluate the structures when they are...
  3. petersdaniel

    Extra Pages

    This is happening because your bitmap object is occupying space outside the printable margins determined by your printer. Access report automatically forces an additional page when any object exceed the printable margins. You need to reduce the size of your object and pull it within the...
  4. petersdaniel

    NEED REPORT TO ASK USER FOR INFO?

    You need to be thinking of this from how you would launch the report. First of all, I would create a form that presents the data that the user needs to interact with (including the Yes/No boxes). Once this was developed, I would create a Query object which had it's criteria linked to the...
  5. petersdaniel

    NEED REPORT TO ASK USER FOR INFO?

    You need to be thinking of this from how you would launch the report. First of all, I would create a form that presents the data that the user needs to interact with (including the Yes/No boxes). Once this was developed, I would create a Query object which had it's criteria linked to the...
  6. petersdaniel

    Query Iff statement works in Access 2000 but not in Access 97

    That is a possibility. Unfortunately, I no longer have '97 on my platform due to low demand for it. In most cases, I am converting up to 2K or XP (2002) petersdaniel@hotmail.com "If A equals success, then the formula is: A=X+Y+Z. X is work. Y is play. Z is keep your mouth shut.&quot...
  7. petersdaniel

    Query Iff statement works in Access 2000 but not in Access 97

    Well, it isn't an issue with the intrinsic operation of the iif function. "Iif" has been around for some time and this function should work. Have you tried backing this down in steps to see if it is a specific portion of the statement that is causing the issue? Try...
  8. petersdaniel

    Auto-populating form fields

    Try Me![txtAddrState].Value petersdaniel@hotmail.com "If A equals success, then the formula is: A=X+Y+Z. X is work. Y is play. Z is keep your mouth shut." --Albert Einstein
  9. petersdaniel

    Front end Back end...issue with relationships

    Your relationship for your tables should be established at the backend MDB file where your physical tables are at. Your Access front-end will see the relationships when it works with the tables The relationship type of "One to Many (External)" means that you have a primary key...
  10. petersdaniel

    Customizing Display of Combo Box

    Set your columns widths to 0,0, 1cm petersdaniel@hotmail.com "If A equals success, then the formula is: A=X+Y+Z. X is work. Y is play. Z is keep your mouth shut." --Albert Einstein
  11. petersdaniel

    fiscal year criteria

    In most systems that I have worked on, the Fiscal year settings were maintained in the database and retrieved when needed by subroutine. This prevents the hard coding issue plus makes the system adaptable should the company decide to shift fiscal periods (one company may want calendar fiscal...
  12. petersdaniel

    scavenging records not simply by date

    Looks like it will plus it is a little more compliant with ANSI SQL standard method. I generally don't recommend EXISTS statements unless I know the user is able to code SQL and know how to build sub selects. Many of the people seeking information here tend to not know the differnece between a...
  13. petersdaniel

    a problem with the rules of one to many relationships(urgent!!)

    You situation sounds a bit confusing. First of all, in most business models, an employee is only assigned to one department not many departments. An employee might be assigned to many projects or tasks or etc.. So, taking a standard business model for managing a corporate structure, I might...
  14. petersdaniel

    Tabbed form not working right

    Expression Builder allows you to build simple data calculations and advanced formulae without investing a lot of time in VB coding. To do the VB Requery Methods, you need to enter into Code Builder. This takes you into the VB editing module. The afterUpdate event that you use should be on the...
  15. petersdaniel

    why doesn't VBA read this? (Access)

    That's what we like about Microsoft. 100 ways to get something done and no absolute authority on what is the best... That's why Tek-Tips is here!!!! petersdaniel@hotmail.com "If A equals success, then the formula is: A=X+Y+Z. X is work. Y is play. Z is keep your mouth shut." --Albert...
  16. petersdaniel

    How to add a variable to this code

    Don't know..worked fine here... petersdaniel@hotmail.com "If A equals success, then the formula is: A=X+Y+Z. X is work. Y is play. Z is keep your mouth shut." --Albert Einstein
  17. petersdaniel

    Multiple entries

    A foreign Key is a number that is carried down from the primary table. You identify the primary key / foreign key relationship by going to the Relationship designer up in the toolbar under tools. The Lookup wizard at the table level does a similar action. petersdaniel@hotmail.com "If A...
  18. petersdaniel

    Create Two Autonumbers

    In your table design, you can create a field called timestamp. On the general tab, you can type in the default value as "=Now()" Then in the Format box, you can type "yyyy-mm-dd hh\:nn\:ss" Unfortunately, I don't think standard Format command has support for milliseconds...
  19. petersdaniel

    How to add a variable to this code

    Ok, I am not sure how you are laying out your spreadsheet or how everything is to work, but here is a simple example. 1. New excel workbook. On sheet1, put email address in cell A1. 2. In cell A2, put a CommandButton (from your Form toolbox). Right click on this and do View Code. 3...
  20. petersdaniel

    Tabbed form not working right

    The afterUpdate event is found under the properties dialog when you click on the form or subform header (square in the upper left hand corner when in design mode). petersdaniel@hotmail.com "If A equals success, then the formula is: A=X+Y+Z. X is work. Y is play. Z is keep your mouth...

Part and Inventory Search

Back
Top