Search results

  1. jwhite

    Access 2007 Horizontal / Vertical spacing

    Not much information in that question.... Are you talking about Forms Design? If so, maybe you are refering to the "Arrange" tab in the Ribbon which has "Control Alignment", "Size", and "Position" menu groups. I guess you are talking about the Decrease/Increase Vertical/Horizontal spacing...
  2. jwhite

    Forms and Queries Question

    Adding "All" to a ListBox or ComboBox
  3. jwhite

    Having issues with increment

    Look into using the DMax() function to get the highest assigned value so far in your subform recordset (can be a query that hits the same table with criteria on your PK/FK fields), and then add 1 to the value returned.
  4. jwhite

    Forms and Queries Question

    Still don't completely understand, but by chance is this form like a Search form to then return matching records? If so, Query By Form is a good method to use. Here are some examples: Search criteria (QBF) Sample Search Form (QBF) Adding a (Dynamic) Search form to a database (QBF) SearchBox...
  5. jwhite

    Help with AfterUpdate Event

    Pardon the intrusion, but I think one of these links will help you understand how to synchronize related Combo Boxes when one is changed: Cascading Combo Boxes Database (Ac2000) Cascading Combo Boxes Using 2 Tables (Ac2000) Create Cascading Combo Box Sets (Ac2000)
  6. jwhite

    multiple table search problem

    May I assume your structure is similar to: tblCompanies ------------------- CompanyID, AN PK CompanName, Text ... tblCompanyContacts ---------------------- CompanyContactID, AN PK CompanyID, Number FK ContactName, Text If not like the above, there lies your main issue. If done like the...
  7. jwhite

    hourglass delay

    Agree with Missinglinq. Acces does have a command just for hourglass: DoCmd.Hourglass True DoCmd.RunCommand acCmdSaveRecord FollowHyperlink Me.txtWebsite DoCmd.Hourglass False If behavior is still like your initial post, put a line with DoEvents before the RunCommand.
  8. jwhite

    Forms and Queries Question

    Not certain what you are asking.... but: In a Combo Box, you set the RowSource Type to Table/Query, then in RowSource you put your SQL statement, set Columns to count of fields returned, set Column Widths for columns you want to show/hide (set to 0 to hide), and then set Bound Column to the one...
  9. jwhite

    Previous Record

    Maybe this will help: Referring to a Field in the Previous or Next Record
  10. jwhite

    Date Formatting

    This will work nicely: Function fCardinalDate(Optional dtmDate As Date = 0) As String ' Immediate Window Test: fCardinalDate(Date) returns - December 13th, 2008 Dim strTemp As String 'Setting to 0 sets Date to the beginning - 12/30/1899 00:00:00 If dtmDate = #12:00:00 AM#...
  11. jwhite

    Bug in Access 2003?

    It can be problematic when changing objects names. It cannot be assumed that if you change a table name, all references to that table name will be modified as well. An excellent tool for this is: Find and Replace (a development tool) for Microsoft Access
  12. jwhite

    Cross-tab field naming problem after ranking

    Does your data as the Row Headers contain periods? If so, Access will convert them to underscores in the resulting field headers.
  13. jwhite

    VBA syntax and other junk I don't know.

    If it is an Action Query (not SELECT), then you can use that method. But, if you don't want the screen-flashing: Running A Stored Action Query
  14. jwhite

    How to use Screen.Fonts Collection in VBA?

    CyberLynx, Many thanks for posting that code for the Font ListBox! I had scoured forever trying to find something like it for Access VBA! Am curious why the Wingding fonts (and a handful of others) do not show up. There are 292 font files in my Fonts folder, and the .ListCount = 271. My...
  15. jwhite

    NetWorkHours modification

    I have a not-completely-debugged routine to subtract lunches and breaks based on an 8-hour work day. I would post it, but not sure it would work with your requirements. Comments/Questions: 1. Employee Time is calculated based on punch-in and punch-out times. 2. That can be based on minutes or...
  16. jwhite

    Printing Design View

    This may help also: Relationship Report with extended field information. And: Access 2007: While viewing the Relationships Diagram, click "Relationship Report" in the ribbon. Access 2003: While viewing the Relationships Diagram, click "File" - "Print Relationships" in the toolbar.
  17. jwhite

    Question Lock the "Project" file from users ?

    You would create an ADE file. This might help: About securing an Access project (ADP)
  18. jwhite

    How to input a scroll bar to my search table??

    It's still on the Format Tab, but about half-way down with the same options. If it is set to "Neither", change it to Vertical Only or Both. Let us know what you find.
  19. jwhite

    Duplicating table entries

    Hi adzi, It sounds possible that your database design is not "Normalized". Searching the web for "Microsoft Access Database Normalization" will get many good hits. In tblProduct, you should have a Primary Key (AutoNumber) named something like [ProductID]. This is not the Product Number, but...
  20. jwhite

    Why need to order MS Access?

    How about investigating Volume Licensing with Microsoft for the version of Office you need (Professional)?
Back
Top Bottom