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 strongm 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: Husein
  • Order by date
  1. Husein

    How would you do this...?(dont need code..just technique)

    RhythmAddict112, I might not be completely helpful to you as I cannot simulate your problem. What I could suggest to you is this: ListItems are members of RadioButtonList. Try accessing them using a foreach (C#) or For Each (VB.NET) loop or try obtaining a reference to IEnumerator interface...
  2. Husein

    How would you do this...?(dont need code..just technique)

    what you should be able to do is to use yourListItem.Attributes.Add("onClick", "what ever needs to be done");
  3. Husein

    SqlDataReader problem with multiple resultsets

    Hi, I have a multiple resultset returned by the stored procedure (4 select statements returning different scalar values). When I call SqlCommand's ExecuteReader on the following piece of code: cn = new System.Data.SqlClient.SqlConnection(ConnectionString); cn.Open(); SqlCommand cmd = new...
  4. Husein

    ORDER BY and TOP in a subquery

    When you create a view, derived table or subquery, you cannot put ORDER BY unless you put TOP in the query, eg. USE pubs GO CREATE VIEW test AS SELECT * FROM authors ORDER BY au_id This causes an error message 1003. I was not able to find the right explanation about this, and I very rarely use...
  5. Husein

    Renaming SQL Server

    I don't think you can rename the server. What you can do is to register another server and then using DTS package, transfer your tables, SP's and so on into the new one.
  6. Husein

    Upsizing Wizard - Sql Server locks problem.

    I think that locks should not be the problem because the minimum value is 5000 locks. There is no way that upsizing wizard can use more than that, and if it does than it is a problem with the upsizing wizard. Access 2K upsizing wizard works just fine. Instead of all the fuss why not just using...
  7. Husein

    Upsizing Wizard - Sql Server locks problem.

    Would you guys be kind to tell us the procedure (step by step) and explain what you did oneach screen. I've just upsized one database and it worked great. It displat report at the end to tell you what it did. I would like to simulate the same problem. One more thing which Access version are you...
  8. Husein

    How to set Limit to List=no in combo box, but still relate tables

    Wouldn't it be easier to create separate text boxes and when the user clicks the button it enters it into the database and shows it in the combo box. Combo box are as far as I know selection only. You could however have the user double click the combo box and then enter the information. The...
  9. Husein

    Spliting values ?

    I've just tested MS Access (actually Access 2K) and there is a split function. IF it is NOT in 97, I do apologize. But it works just fine in 2000.
  10. Husein

    Spliting values ?

    Use Split function which creates a one-dimensional array
  11. Husein

    SQL 7 Enterprise Manager 'Assertion Failed!' How to fix?

    It's not the SQL Server. It is Microsoft Management Console (MMC) that caused the problem. You might have to re-install it. See if there is anything on Microsoft's site about MMC.
  12. Husein

    Backup and Restore using Jaz Drive Question

    Zip Disk had this utility which could make a disk non-removable. I don't know if you have that on Jaz (it makes sense to have it). Make you disk non-removable, if you need to restart the computer restart it and then do the backup. When you go to backup, add another device and it should show your...
  13. Husein

    Possible to copy table1 from database 1 server1 to another server ?

    You might as well create a DTS package to do it. It will keep all the indexes, triggers and other things, but in order to do this you must have exactly the same SQL Servers, e.g. you cannot transfer from Enterprise into Desktop but you can do it Desktop > Enterprise.
  14. Husein

    ASP problem on IIS 4.0

    You could also register the component with REGSVR32.EXE which is located in your WINNT\SYSTEM32 Locate you OCX or DLL file and drag and drop.
  15. Husein

    how to choose from all tables in a database

    I am not sure what you but below is how I understood you. Are you accessing SQL Server or some other database? If you are using SQL Server than in order to get list of all the table in your list box you would say SELECT [name] FROM myDatabase..sysobjects WHERE xtype= 'U' AND status >= 0 ORDER...
  16. Husein

    how to convert rows to colums

    shyamMelwani this is all fine for two or three records. But when you want to create a pivot table with bigger number of rows, this would be very complicated procedure. In way it is pity that SQL Server does not have pivot table ability like the one in Access.
  17. Husein

    Is it possible to run SQL Server 7.0 views from within MS Access?

    In Access 2000 create Access Project and you will have both Views and Stored Procedures. Office 2000 comes with a cutdown version of SQL Server 7.0 and you use Access as an Enterprise Manager
  18. Husein

    Strange report behaviour

    This is just to share it with you. I am using Access 2000 and when I am using reports to join two fields I get an error #Error. The problem seems to be that the NAME of the control matches one of the names (fields) from the table/query. Eg.<br> <br> Lets say we drag a field called Lastname to...
  19. Husein

    Capitalizing the first letter of each word.

    You might want to use Len function to determin the length of the string, then use Mid function to check when the next character appears after space and then Left(UCase(MyString),1). <br> <br> I'll show you something I've done just to give you ageneral overview, but you'll have to modify the code...
  20. Husein

    Calculation to eliminate duplicate counting in report

    You can also place DISTINCT in SQL text window:<br> SELECT DISTINCT (the rest goes here), but if you are doing counting then<br> SELECT COUNT(DISTINCT *) .......

Part and Inventory Search

Back
Top