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. spiralmind

    Progress Meter - Bar Flickers, Not Smooth

    making external function calls does have some associated overhead, but this should not be significant here, and calling the external function allows you to reuse the same code elsewhere if you want another progress bar, so you should probably leave that as it is. - may seeds of dreams fall from...
  2. spiralmind

    Button relocation problem

    the window will expand as the detail section expands - may seeds of dreams fall from my hands and by yours be pressed into the ground
  3. spiralmind

    Rounding

    2*(int(x)/2+1) - may seeds of dreams fall from my hands and by yours be pressed into the ground
  4. spiralmind

    Button relocation problem

    i'd try setting the button's position based on the detail's height, something like this: me.mybutton.top = me.detail.height - 500 of course the 500 is just some arbitrary number. you would want to replace it with one that gives your button the amount of spacing you want it to have from the...
  5. spiralmind

    Get next autonumber in table

    if you are just trying to get a count of records in the table you can do that by looking up the tables properties in vba. this would look something like: lngRecords = tables("tblSomeTable").recordcount you might have to use recordsets for this, though. it's been a long time since i...
  6. spiralmind

    Converting MS Access Application to web

    You can try Data Access Pages if all people using your application will be running ms office and internet explorer 5.5 or better on windows. otherwise i would suggest you either learn java or look into using it over an intranet (if possible) where the file would be centralizes - of course you...
  7. spiralmind

    Progress Meter - Bar Flickers, Not Smooth

    your problem is probably the speed at which you are testing it. when you are using a progress bar there is normally some computationally expensive work going on in the background between progress updates. you can still update on every step, as opposed to every 10 or so, under such circumstances...
  8. spiralmind

    How can I send reports using MS Access XP via e-mail?

    for an easy way to send e-mail using access vba, try looking up automation for MS Outlook. there are a simple set of commands you can then use to create an e-mail, add text to it, add attachments, control who it goes to, and set the subject header. you might need to add something to your...
  9. spiralmind

    Form resizes on other computers

    http://www.mvps.org/vb/index2.html?news.htm this site: Ken Peterson's One Stop Source Shop has all sorts of info on APIs presented in a vb/vba specific format. if you don't find what you need here there are other sources, notably microsoft iteself, but they are usually presented for C++...
  10. spiralmind

    bar codes/opening an application from vb

    if you want to print just the numbers use the FileSystemObject to create a text file and fill it with the barcode numbers. you can use access to open a text file (or any other file) by setting a hyperlink on a button. this will automaticly pull up the file in the application windows associates...
  11. spiralmind

    If no records to append then message box

    there is a RecordsAffected property - of the QueryDef object, i believe - that can give you a count of how many records will be added. you could also access the Count property of the table being appended to, and have your code look at it again after running the query to determine whether it has...
  12. spiralmind

    Missing Keywords in Module

    check your references under tools:references and make sure the DAO 3.6 library is checked. also helpful, btw, to check the microsoft scripting runtime if you plan on doing a lot of work with the file system. - may seeds of dreams fall from my hands and by yours be pressed into the ground
  13. spiralmind

    Form control box image

    Display a custom icon for an application On the Tools menu, click Startup. To display a custom icon in the title bar of your application, enter the name of the .ico or .bmp file that contains the icon you'd like to use in the Application Icon box. If you don't know the name of the file, click...
  14. spiralmind

    How to contol Events order

    no, there is no way to change the built-in order of the access events. what you can do is make use of that order when sequencing you code so all prerequisites are filled, and create functions that explicitly lay out the order of steps. if you know where the value for "num" comes from...
  15. spiralmind

    Form control box image

    go to "Tools:Startup..." on the menubar of your open database. here you can change a number of things - including your application icon (which is the one used on the main access container window and all of your forms) just have a bitmap ready and browse your way to it. i don't know...
  16. spiralmind

    Control Tip Text

    you can reference it like this: me.somecontrol.ControlTipText = "Your Tip Text" you might also be able to get the CHr(13) line break to work with the property sheet from the form's design view, i've just never tried it that way.
  17. spiralmind

    Control Tip Text

    i know that if you set it from code you can use Chr(13) to force a line break, like so: me.somecontrol.controltiptext = "Line One" & Chr(13) & "Line Two" which should display like this (minus the cheesy ascii art tribute the days when DOS was the best OS you could find for...
  18. spiralmind

    Complicated Question

    make the listbox unbound, and set its rowsource to the field you wish to use for criteria set the recordsource of the form to a query using the value of the list as critera. do this from code that is activated after a value is selected on the list, or that selects a value (such as the first...
  19. spiralmind

    copying a record to another table

    do you have a control named "keyword", if so you might want to try putting a ".value" at the end of the SQL parameter, or naming the form explicitly to clear up any confusion access must be experiencing when it asks you who "me" is and what its "keyword&quot...
  20. spiralmind

    Two totals on different tab pages but same tab control

    you can put you totals textbox on one tab, navigate to another in design view, and put a secont totals textbox there, just the same as you would put any control on a tab other than the first.

Part and Inventory Search

Back
Top