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 gkittelson 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. hillsy

    How do I change default Email client

    Heres a link for just that sort of thing. Its in there somewhere, I have used the same structure for a database that requires sending through the MAPI client and Lotus. http://www.mvps.org/access/modules/mdl0019.htm ;-)
  2. hillsy

    SELECT CASE.....

    Change Function UCA() TO Function UCA() as Long ;-)
  3. hillsy

    Form.SortOrder doesn't work

    Not sure how to put a different thread number in here yet so heres the link thread702-449519
  4. hillsy

    Get time from server not workstation

    Hmmm, must be an echo in here hey B-)
  5. hillsy

    Get time from server not workstation

    I am not going to take the credit for this, because i didnt write it, but here it is, im sure Dev Ashish wont mind. http://www.mvps.org/access/api/api0039.htm ;-)
  6. hillsy

    Get time from server not workstation

    I am not going to take the credit for this, because i didnt write it, but here it is, im sure Dev Ashish wont mind ;-) '*************** Code Start **************** ' This code was originally written by Dev Ashish. ' It is not to be altered or distributed, ' except as part of an application. '...
  7. hillsy

    Unrecognized database format

    Go to the command prompt and type in MSACCESS /decompile When access starts up, open your database up (the one you converted) and give that a go. ;-)
  8. hillsy

    Subform update . . .too quick (believe it or not)

    When you use 2 tables, as in a 1 to many relationship, you must first create a record on the 1 side, in this case your main form, then creating a record in the subform will create the related record. Since both the main form and subform have bound record sets and you are using the...
  9. hillsy

    Access Subform Inventory Transaction

    Yep, It was just a matter of time before I nutted this one out. Set the DataEntry to Yes, Set the DefaultView to Single form Move the text boxes in the detail section into the header section. Now, in the detail section add a list box based on the same query/table that the form is based on...
  10. hillsy

    Access Subform Inventory Transaction

    Sorry MrNick, scratch that last one, cant have a subform on another form that is set to continuous. Moving to the bottom of the form using DoCmd statement may have to suffice. :-(
  11. hillsy

    Access Subform Inventory Transaction

    As Shaun Merrill said earlier, setting the dataentry to yes would be the way to have a new record line to be shown at the top of the form. But since you require the other data there as well, then moving to a new record when the form opens or a button is pressed is the only simple way around...
  12. hillsy

    Access Subform Inventory Transaction

    Go to the On Open event of the form. See the build button at the end of the line (3 dots) click it, build a new event procedure. Add the DoCmd line and setfocus lines in the vb code section. ;)
  13. hillsy

    strings

    DoCmd.RunSQL "INSERT INTO tblName (FieldName) VALUES ('" & SomeString & "');" ;)
  14. hillsy

    Combo box filtering

    I use this on a form with a list box and text boxes above each column. This will work for a combo box. The idea behind this is that when a user types something in a textbox/combo and keeps typing, a list box in the case which I use, filters out everything based on what the user has typed...
  15. hillsy

    Access Subform Inventory Transaction

    I can think of 2 quick ways to resolve this. 1. In the On Open event, put this code in: DoCmd.GoToRecord , , acNewRec [WhateverTextBox].SetFocus OR 2. Put a 'NEW RECORD' button on the form somewhere to do the same thing. Setting the focus to the first text box where the data...
  16. hillsy

    Quick question on how to show Combo Box contents

    [comboBoxName].DropDown ;)
  17. hillsy

    Animated GIF on Access form

    Use an Active X control called anigif.ocx. Heres a link for d/l and how to register it. Make sure you use regsvr32 as you must register the control on your machine before using it. http://www.allapi.net/vbexamples/vbexample.php?vbexample=ANIGIF ;)
  18. hillsy

    I just created a combo box on my ma

    I would agree, using the OpenArgs would be the way to go. But if you have several values that you need to pass, try using public variables and in the form your opening load the variables into the text boxes/variables in the On Load event. BTW, to simplify your code try this...
  19. hillsy

    Code to send report by email or fax

    Hmmmm, can you create an email group and just attach the report.
  20. hillsy

    Passing data to a new form on open

    In response to setting a 'global' variable in a form, thats not quite the way there. Try setting the the variable in a module first in the general declarations section (at the top) of the module e.g. Public myVariable as Variant If you use a button or whatever to call a procedure, then put...

Part and Inventory Search

Back
Top