Search results

  1. A

    Dynamic linking of FoxPro tables

    http://p2p.wrox.com/access/32446-make-linked-table-vba.html Amend for FoxPro Dim dbsTemp As Database Dim strMenu As String Dim strInput As String ' Open a Microsoft Jet database to which you will link ' a table. Set dbsTemp = CurrentDb ' Call the ConnectOutput...
  2. A

    Query error - The number of columns in the two selected tables or queries of a union

    Query error - The number of columns in the two selected tables or queries of ... Why do you select certain fields and then * to bring theme all in? Where is the UNION part? I'd wrap Date in [ ] also as it's a reserved word.
  3. A

    Appending table to existing table

    The AutoNumber in the existing Table will increase on every append. Have you imported/deleted any test data? Does it start at a high number but increase in order?
  4. A

    Converting date from yyyy/mm/dd to dd/mm/yyyy

    Why not just use the Format Function to display it the way you need for each db? http://office.microsoft.com/en-gb/access-help/format-function-HA001228839.aspx
  5. A

    Printing report from form?

    Tip on opening a Report for a specific record using a Query. http://www.599cd.com/tips/access/open-report-specific-data/
  6. A

    Question Front page to my Database

    You can just create an unbound Form, just call it Main Menu, set it as your startup Form in Options. Then you can add buttons, using the wizard, that will open other Forms you've created.
  7. A

    DSum Function in Form

    Cross Post http://www.accessforums.net/forms/dsum-function-39929.html
  8. A

    Search in Query

    So there will be a "-" separating them?
  9. A

    DSum Function in Form

    What is the code in your textbox?
  10. A

    DSum Function in Form

    What is the name of your Table/Query? DSum ( expression, domain, [criteria] ) DSum("Price", "TABLE/QUERY", "Article = Baby Milk") http://msdn.microsoft.com/en-us/library/office/ff193998.aspx Video, basic DSUM. http://www.599cd.com/tips/access/130809-dsum/?key=AlexForum
  11. A

    Search in Query

    Will it have the "-" separating the Countryname and Personsname or was that just to indicate the separation? If it does you could use Find, Search, InStr or Split to get the two parts.
  12. A

    Search in Query

    Will the XXX always be of a certain length or could it change? Would it be camel cased? SSSPhilipinesXxxx
  13. A

    Date Range Form/Query

    You could add them in another row as an OR criteria.
  14. A

    How To Create a Search Button That Search in All Fields of a Database Table

    The second link should do that. You just need to create a Query that selects the single record you want. Base the Report on that Query then Print.
  15. A

    How To Create a Search Button That Search in All Fields of a Database Table

    There is a Search box at the bottom of the Form which you can use. Or you could create your own. http://www.599cd.com/tips/access/multi-field-search-form-like/?key=AlexForum You could create a Report based on your current record and print that...
  16. A

    Make a "simple" calculator work, please

    DateAdd ( interval, number, date ) "number" can take positive and negative numbers so just type in "-1" to your textbox. (Or whichever number you require) Add a button "cmdClear" Depending on the names of your textboxes that you are using to input your Days, Weeks, Years to add/subtract...
  17. A

    Filters in tables

    Have you tried the Toggle Filter in the Ribbon?
  18. A

    Make a "simple" calculator work, please

    Say you have an unbound textbox on your form, let's call it "txtCalc". You could then add a button to your Form. Rename it "cmdAddRemoveYear". Now in the events tab click the ... Button next to the Click event. Open the Code Builder. Sub cmdAddRemoveYear_Click() End Sub Now you can say...
  19. A

    Make a "simple" calculator work, please

    Looks like you're doing a great job. I'm sure you can pass in negative numbers into the Function. You have the right concept so if you want it to add other parts just amend your code to look at other textboxes and there equivalents: DateAdd("yyyy",[YearsCalc],[Date])...
  20. A

    Creating a command button on a form containing a drop down lists of commands

    http://www.accessforums.net/forms/creating-command-button-form-containing-drop-down-39742.html
Back
Top Bottom