Search results

  1. SpentGeezer

    Use Combo Box to set up query criteria

    Thanks Bob!! I never knew about the .column property of comboboxes, how sweet it is.:)
  2. SpentGeezer

    Use Combo Box to set up query criteria

    Me thinks: You may need to use combobox.text in your code as just combobox will return the row selected (e.g row 2, combobox = 2). Using combobox.text will also require a setfocus. Perhaps on the form you need the combobox onchange to update another control that is easier to use in your SQL...
  3. SpentGeezer

    Random access files

    Random Access Files? Can you explain: 1)what you are doing exactly 2) How you are doing it ?
  4. SpentGeezer

    access vba function to find a text in excel to return the column number

    It works for me, see updated code in this db:
  5. SpentGeezer

    Question about Next Record_ID (AutoNumber)

    In Create a button on the form labelled "Get Record Number" that On Click does this: Dim NextRecord NextRecord = Me.Recordset.RecordCount + 1 msgbox "The Record Number is " & nextrecord If multi-user however, I would put some code into the save button that automatically adds this data on save...
  6. SpentGeezer

    access vba function to find a text in excel to return the column number

    Try this. I have changed a couple of things in the function to put the row and column as a delimited string. Then use the split function to parse it. ENJOY:): dim myString dim myRow dim myCol mystring = getthecolumn1(thefile,sheet,thestring) dim myArray() as string if len mystring > 0 then...
  7. SpentGeezer

    access vba function to find a text in excel to return the column number

    Try this from the Spent Geezers Association (save tester.xlc to c:\):
  8. SpentGeezer

    Date Rules - text box one date leads to another

    A thought: You might want to check the dates. They work for November dates but not thoroughly tested and may have to be converted to US style. If they do I have a module that I can put in the DB and repost. :confused:
  9. SpentGeezer

    Date Rules - text box one date leads to another

    Try this one from the Spent Geezer's Association:
  10. SpentGeezer

    who can help me

    So you want to activate a control by pressing F12? I am usure how to do this. However, if you want to activate the command by pressing say Ctrl+d then do this: Firstly set the form's Key Preview property to "Yes" Next add this code to the form's On Key Press Event Dim strCharacter As...
  11. SpentGeezer

    Need help with Form

    Just use this for windows login name: username = VBA.Environ("USERNAME")
  12. SpentGeezer

    Limit (part of) Form to entrance of new data only?

    Try this to get you started:
  13. SpentGeezer

    Need help with Form

    Hi, To show the Login have a label (say lbl_Name). In the On Open event of the form have lbl_Name.caption = "Greetings " & VBA.Environ("USERNAME") To make a full screen form you need to have Docmd.maximize in the on Open event. Your form should also have popup = yes and menu bar = 1. Remove...
  14. SpentGeezer

    1st Attempt at email - Only works Once?

    DONE!!!!!!!!!!!!! (10 Characters)
  15. SpentGeezer

    How to Use Lebans .pdf code access 2000

    I store the dll files in the folder where the .mdb or .mde file exists. Copy his code into a new module e.g. mod_Report2PDF Then to call it...... For a button on click event something like this: dim rptName dim filename dim DateTo dim DateFrom dim username dim FSO dim blRet Set FSO =...
  16. SpentGeezer

    How to find unique (non repetitive) values in list?

    Try this one: :eek:
  17. SpentGeezer

    How to find unique (non repetitive) values in list?

    You can use use/modify the code on the button in this DB :D However this is not what you were after....my apologies!!
  18. SpentGeezer

    Problem with "2 decimal places" code

    Private Sub Payment_Amount_BeforeUpdate(Cancel As Integer) if isnumeric(Payment_AMount) then DotLoc = InStrRev(Payment_Amount, ".") If DotLoc <> 0 And (Len(Me.Payment_Amount) - DotLoc) > 2 Then MsgBox "This field must be input to no more than two decimal places" Cancel = True...
  19. SpentGeezer

    How to Call Attention to Form from Other Programs?

    yOU COULD MAKE THE COUNTDOWN FORM GO FULL SCREEN (TAKE OVER THE SCREEN). Set the following on the form properties (see attachment). [Popup and menu bar = 1 are important] Then OnOpen Docmd.maximize This will cause the form to popup over all other applications.:)
  20. SpentGeezer

    1st Attempt at email - Only works Once?

    THat Lebans code is awesome. I use it in all my databases to print to PDF. It is pretty straight forward.
Back
Top Bottom