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: *

  • Users: PGO01
  • Order by date
  1. PGO01

    How stop duplicates wen randomizing from 0 to 10

    Using the solution provided can (although unlikely) hang the program due to an infinite loop. Random (0-10) could loop a million times before returning a particular number, say 9 for example. I think it would be better to fill a list with 1-10 and then randomly swap 2 elements N times. (Like...
  2. PGO01

    creating dependent picklist in crm4.0

    Why don't you want to create a picklist with all of the available states? It is the best solution. You could have some javascript to enable / disable the picklist when the State / Province field changes.
  3. PGO01

    customer emails should convert into cases

    I'm not a CRM 4.0 Technical Consultant, but I know that what you've explained can be done fairly easily. Phone calls, emails, and faxes, (Activities) can all be converted into Cases using a Workflow or a Plugin. Most of the time Workflows are easier - as they can be done through the...
  4. PGO01

    Importing, Exporting and Cross Referencing data

    Not sure if you still need an answer to this. There is a data import tool in the Customisations area of CRM. You can export data to Excel, it will include the id column but it may be hidden. Unhide and move the column so that it is the first column of data, and rename it to [entity name]id...
  5. PGO01

    Returning To Start of Method / Function

    In your method you are recursively calling yourself which is fine but you need to break out after the recursive call. Otherwise after the recursion the execution of the method will continue where it left off. try { RegistryKey hkSoftware = hkcu.OpenSubKey("Software", true)...
  6. PGO01

    C# Login control - best practice to disable links till users log in

    You'll probably get a better response in the ASP .NET forum, but anyhow: You can disable the links but that wouldn't stop people that are not logged in from being able to type in the URL manually. If you don't like the 404 error page you can set up your own nice user-friendly error pages...
  7. PGO01

    Custom User Control and Events

    Not sure if I understand you correctly. Do you want the checkbox to be checked/unchecked when either of the Label controls are clicked? if yes you could do something like this: Add an event handler method to handle when either label is clicked on, and check/uncheck the checkbox like so...
  8. PGO01

    Using the Designer on Inherited Form

    Yeah you're right - but the designer works for some other inherited controls. Actually - it appears to be an issue with the container of the buttons; a FlowPanel (Modifiers = protected). If I move one of the buttons out of the FlowPanel the properties are no longer read-only in the designer.
  9. PGO01

    Using the Designer on Inherited Form

    I have BaseForm with 2 buttons on it, both have their Modifiers property set to protected. I have ConnectionForm which inherits from BaseForm. From the designer window on the ConnectionForm, I can't change any of the inherited button's properties. Is this right? I thought 'protected' means I...
  10. PGO01

    dll must be strong signed in order to be marked as a prerequisite

    Fixed it! My project (A) had a reference to another assembly (B) and they both referenced a third assembly (C). The problem was that (B) was referencing an old version of (C) that was strongly signed. Solution: Opened project (B) and did the following: 1. Set reference to (C) to Copy Local =...
  11. PGO01

    dll must be strong signed in order to be marked as a prerequisite

    I have a click-once deployment win forms project that cannot build successfully because of this error: Example.dll must be strong signed in order to be marked as a prerequisite. I don't want to strong sign the Example.dll. I have gone into 'Project Properties > Publish > Application Files'...
  12. PGO01

    SQL code to check for records 365 prior to today

    Why don't you want to use DATEADD()? If it is because field1 is not a datetime column you could cast it. WHERE CAST(field1 AS DATETIME) >= DATEADD(d, -365, NOW())
  13. PGO01

    Dynamic Data Web-Site - Where are the select statements

    True, but as much as I would like to spend a good amount of time on it and write it all myself properly, and I really would like that! This is something that has to be up and running by the end of, erm, Monday :( It's an internal program so I think I'll give them the dynamic data app. which is...
  14. PGO01

    Dynamic Data Web-Site - Where are the select statements

    Actually it is supposed to be quite customisable and still keeps the GUI / business layer / back-end completely separate. I think it's my lack of ASP .Net knowledge in general that is causing me problems. I've found a code example of a dynamic data site that has been modified to uses stored...
  15. PGO01

    Dynamic Data Web-Site - Where are the select statements

    Thanks. Do you know how to set the Client list to load SELECT * FROM Client WHERE EmployeeID IS NOT NULL instead of SELECT * FROM Client in a dynamic data app?
  16. PGO01

    Dynamic Data Web-Site - Where are the select statements

    Thanks, but the data is already paged automatically with Dynamic Data.
  17. PGO01

    Dynamic Data Web-Site - Where are the select statements

    I have just created a Dynamic Data Entities web-site on a SQL database, added the ADO .Net Entities and dragged my tables onto the designer. I've now run it to see what it's like and it works, but it is very very slow. The tables are indexed, and running selects from SQL get results back in...
  18. PGO01

    Import a csv and map a literal value to a column

    I have an SSIS package that takes in a flat file (csv) and maps the columns of the flat file to the columns in a table. I have an extra column in the table that I want to map to a literal value. Any ideas how to do this? I have tried creating a variable, and entering a literal value - but it...
  19. PGO01

    Text box question

    You need to look at the code, and decide where to enable/disable the text box. Are you using Visual Studio? Step-through the code as it works now, and see when the text box is initialised, and when it is validated, and when the record is saved. From there you can begin to decide where to add...

Part and Inventory Search

Back
Top