Jump to content

Grax

Active Members
  • Posts

    32
  • Joined

  • Last visited

Grax's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Ok I have a ComboBox that is a Drop Down List. If the user selects an invalid selection, I pop-up a msgbox and display an error and then set focus back on the ComboBox. The displayed item is still the invalid selection the user selected. This would be fine if the user couldn't go onto another input until the error was corrected. However the user can click elsewhere or tab to the next input without seeing the error again. So how to I set the Drop Down List back to it's default of nothing selected? I'd rather delete the input and then recreate it. Any other suggestions? I guess along these same lines. How do I allow a user to set the selection of a drop down list back to nothing? The input isn't required and should they change their mind about inputing it I want them to be able to select nothing. Thanks, Andrew
  2. You're suggesting that I create an html file, open it with IE and print it? Hmm interesting idea. Had not thought of doing it this way, was thinking more of directly printing to the printer. Is there way to print the html file without having to open it in IE first? Andrew
  3. I've written a program that collects data via user input and dumps that data to an .mdb database. However I'd like to be able to print this information as well. Can someone point me in the right direction? I haven't' found much if any help on this topic. Thanks, Andrew
  4. Nevermind... I missed part of the code. Works great!
  5. This sets the drop down window size (Length), but it still doesn't allow scrolling. Setting to 100 or so is not practical. Andrew
  6. Problem, this options doesn't allow you to scroll through all the options. One of my lists is nearly 100 long. Thanks in Advance, Andrew
  7. Thanks... Just figured that out!
  8. I've populated a combo box with the necessary options to select from. Is there any way to may it so the user can selected any of the options but can not modify them, which effectively creates a new one? Thanks, Andrew
  9. Is there anyway in AutoIT to do Custom Data Types? I'm wanting to do something like this VB code: Type SettingInfo AppID As String CurrentPath As String UserName As String Password As String ExpirationDate As Date UsageCount As Integer AccessLevel As Integer AllowChanges As Boolean End Type Dim Settings As SettingInfo Settings.AppID = "Something" Settings.CurrentPath ="C:\Something\"
  10. If I remove the $oRec.Close and $oRec.Update it works without problems. Still have to close the db connection though.
  11. Same error, just on the .Update now... ==> The requested action with this object has failed.: $oRec.Update $oRec.Update^ ERROR
  12. I figured out why my first attempt didn't work. It was because I had some required fields in the db. I corrected that and it now does the INSERT. However I get an error: ==> The requested action with this object has failed.: $oRec.Close $oRec.Close^ ERROR I'm still missing something.
  13. Didn't work same error...
  14. It there anywhere that explains the .Open/.AddNew functions and others for an access db? Everthing I've done I've scavenged from other code examples.
  15. Tried this and now get the error: ==> The requested action with this object has failed.: $oRec.AddNew $oRec.AddNew^ ERROR I did make sure I had the db closed within Access. I'm able to read from the db without problem. Andrew
×
×
  • Create New...