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 TouchToneTommy 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. Craig0201

    Is there an On Database Close event?

    One thing you could think about is whether you can always get to a consistent state. If you trap Form1's Unload event, you can set it to never close using Cancel = True and always set it to hide unless certain conditions are met. From that, you may be able to work a solution.
  2. Craig0201

    Search as you type

    To do a proper search function, the most effective ways is to create an inverted index of the items you wish to search on and use the results of the search on this to link back to the items. It's pretty standard stuff which you should be able to find on Google.
  3. Craig0201

    Date as a number.

    .Ticks
  4. Craig0201

    Running a Linux commmand from within VS.2003 executable

    You don't need to run the script from the executable. Centos can be set up to watch the path in natively using Gamin and Inotify. Craig
  5. Craig0201

    Email notifications design pattern

    Is this not an Observer style idea? C
  6. Craig0201

    Database Opens very slowly

    Re: "Because we are a 24/7 operation and the information in the database is CRITICAL" I'd stop worrying about a 55 second time delay and worry about moving the data to an enterprise quality database. SQL Server Express has these qualities and is free. C
  7. Craig0201

    Add 1 to last record with criteria

    Why would you do this at all? The Engagement presumably has a date. Sort the Engagements by school and by date. The 'Number' is then calculable.
  8. Craig0201

    Do access modifiers limit unit testing?

    As long as the convention is understood, there's no reason to need to use restrictive access modifiers on the concrete types." But humans are involved......
  9. Craig0201

    IT problem solving methods

    Re: Plan, Do, Check, Learn. More commonly Plan Do Check Act, the classic Deming quality cycle. Re: 1. First, you have to understand the problem. 2. After understanding, then make a plan. 3. Carry out the plan and test. 4. Look back on your work. How could it be better...
  10. Craig0201

    Like search not returning proper results

    You're using the wrong wildcard character. Access uses * not %
  11. Craig0201

    No tangible consistency - Error affecting small number of users

    What line of code is throwing the error? A quick Google search indicates plenty of people with similar problems when using the [Forms]![frm...] syntax, many of which are resolved using the Me. syntax C
  12. Craig0201

    "What a nonsense and waste of time and money, all that modeling"

    Of course the user should not interfere with the technical solution. But what should be reasons to follow or NOT follow the technical solution the user suggests?? " I think that summarises your problem nicely. You're doing things that you believe are right but have no rationale for doing so...
  13. Craig0201

    ood with serialization

    Roll your own serialisation. C
  14. Craig0201

    Size Limitation Options - Workarounds?

    I'll ask the simple question..... Why the recordset? Can you not achieve the insert by a (series of) query(ies)? I'm guessing yes. C
  15. Craig0201

    Make Ctrl + C makes work in Form

    Google is your friend. http://www.codeproject.com/KB/shell/clipboard01.aspx
  16. Craig0201

    Decorator as a Singleton Pattern

    What I can say is that you appear hellbent on cramming a pattern here. Use patterns when the need arises, not because patterns are good. In other words, can this be fixed rather more easily using composition?" What you describe doesn't appear to require decorator. It seems to be that you...
  17. Craig0201

    Decorator as a Singleton Pattern

    I'll ask a more basic question..... What happens to the guy who wants double or triple pepperoni? Is he banned because you can only decorate a pizza with pepperoni once? In other words, why do you want to do this? Knowing why will likely influence the responses. What I can say is that you...
  18. Craig0201

    C# Can Do Optional Parameters!

    J, 1) Class A still needs to be able to call a method on class B. It still needs to know how to pass a parameter to Class B, you've just wrapping it into Class C. You've not gained anything. 2) I know what you mean but what I mean is you've now altered code in 3 places. Bad thing for...
  19. Craig0201

    C# Can Do Optional Parameters!

    Jason, Each classes has a single responsibility? I firmly disagree. Class A still is linked to Class B. As for adding resilience to change, I now need to open three classes, not two. The idea of a DTO is to make a method call once to an expensive resource. This isn't it. You've added a...
  20. Craig0201

    C# Can Do Optional Parameters!

    Jason, That looks nuts to me. Why would you create the class explosion unless you're using a remote proxy or a webservice? You've create a class for the hell of it. What's wrong with public void DoSomething(string s, int i, DateTime d) in a variety of overloads or using nullable types? C

Part and Inventory Search

Back
Top