Search results

  1. A

    multiple listbox, selected items in array

    Your code is not complete but it would seem that your i happens to take a value superior to the upper bound of your array (countselected)
  2. A

    Search criteria

    Yes. However, the easiest way to know would be to just give it a try, don't you think? :)
  3. A

    A newbie question about a large table

    From what you described it sounds that you should have a separate table for diseases, and not store diseases related info in the patients table (these are different topics!). You should not either have extra fields for relatives (again, it's different topic) in your patients table. Here your...
  4. A

    Can you cause an Update Query to run ahead of another Query In THAT Query's SQL

    No. But you should be able to do it from where you are opening your query (You say you wouldn't use a command button... But if you do not provide other info is difficult to give you a more accurate answer)
  5. A

    Select record on 2nd form to display in 1st form

    Your approach (search form) is fine and makes perfect sense, and I am happy you got it to work. Moreover you are telling me that your Clearance table does not duplicate fields from your Equipment table, which answers my question and shows that my concerns were not relevant. This is somewhat...
  6. A

    return to previous form

    Well, there would be workarounds around this but before getting further I'd like to understand how you get such behaviour. Are you using the switchboard created by the Wizard or a custom one? The one created through the wizard will not close on opening a form (pop-up or not). At least, I made...
  7. A

    multiple listbox, selected items in array

    Yes, a good many exaples were already posted to this forum. You should do a search using the keywords Query and Listbox. Ex: Use selected items in listbox for action query
  8. A

    Optional Keyword

    Only variants can (eventually) be evaluated to 'missing'. For other data types, you will have to define a default value and do some good old checking: Function Test(x as Date, Optional y as Boolean = False) If Not y Then ... Or (less efficient, but if you really need to...) Function Test(x as...
  9. A

    A newbie question about a large table

    255 fileds in a table most certainly means that you did not normalize your structure properly, but probably directly adapted your table from a spreadsheet... Let us know more on what is your DB about and the tables and fields you have. It is very important that before anything else you do some...
  10. A

    Search criteria

    Missing single quotes around text values: stLinkCriteria = "[Top Level Assy No] Like '" & Me![Text31] & "*'"
  11. A

    Select record on 2nd form to display in 1st form

    ksgirl, Sorry to insist, but your justification is far from convincing. I would say you just need to store in your clearance table the equipmentIDs, and link that table to your 'Equipment list' table, so that you can retrieve the other infos whenever you need (using a query for example). BTW...
  12. A

    return to previous form

    Use the OpenArgs property of the form you are opening to store the name of the form you are coming from (have a look t access help on OpenArgs for more info). However, it is generally more efficient not to open and shut and re-open forms. You should consider either using popup forms (eventually...
  13. A

    Wholly Crap

    My 2 cents: You would not embed the documents in your DB, just register their path (this assumes that on registering a file, you create a copy into a secured folder for users not to delete/move them afterwards). To open those files from your DB, you would use either an hyperlink data type, or...
  14. A

    Select record on 2nd form to display in 1st form

    Allow me an observation first: Hopefully, the blank controls you want to fill on your Fomr1 are NOT meant to update an underlying table. If they are, you are duplicating data in your database... So I assume these are unbound controls. There are probably various ways to achieve what you want...
  15. A

    drop down menu

    I believe that what you are looking after is called 'Custom Menu bar' in Access. Search Access help on those keyword to see if it matches your needs. Re-post if no luck.
  16. A

    Error 3061 HELP!

    You have to specify the parameters programatically. See if the following post can help Open parametered query
  17. A

    Problems passing values to a form.

    Use the OpenArgs property of your forms. Ex: Pass a vaue to a form you are opening docmd.OpenForm "YourFormName",,,,,,YourValueHere Read the value from the opened form: Debug.Print Me.OpenArgs
  18. A

    Grow field in report footer?

    You can either: -resize the footer by setting its height at run-time Me.section(acPageFooter).Height = ... (in twips) -or at the contrary force the last detail section to the next page when you detect that: the page total height - total heights of (details sections + footers + headers) is not...
  19. A

    Report footer

    Report footers dipslay on the last page only. Page footers on every page. Page footers have a property (right-click menu) allowing not to display them on the samepage than the report footer.
  20. A

    Creating objects at runtime

    If you can foresee a maximum number of segments you would create them right from the beginning, make them invisible, and save your form like that. Then at run-time based on a count of the records you have you would make a loop to set those textboxes visible and resize them. This does not require...
Back
Top Bottom