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

  1. mgardiner

    ComboBox ReadOnly

    Thanks for responding Sorwen. the reasoning is mostly due to setting a combobox enabled property causes it to be almost unreadable especially by older computer users. this allows me to have the Forecolor still black. also there has been occasion to allow the user to peruse or view what the...
  2. mgardiner

    ComboBox ReadOnly

    This is in reference to thread796-1499946. Using Kliot's code to add a readonly attribute to the Combobox works great (see code below). However being new to this I am trying to understand why the background color changes to grey when readonly and white when not. and How can I control this...
  3. mgardiner

    What's wrong with this?

    Do you have a DSN named Local Server. If not add one. depending on what operating system you are running this involves different steps. Let me know if you need more information.
  4. mgardiner

    SQL, ADO and Subforms

    Not to a complete satisfaction. I wound up using 3 adodc controls. in code when the user asks for new I ask what they want a new one of A project, A Quote, or A Quote Revision. then I add a record with the default data that is needed to each table. if the select Project I have to add a project...
  5. mgardiner

    SQL, ADO and Subforms

    Thank You for Your Response. I can not use any data Grids since I am to use only individual controls for each field. but I might be able to get the idea to work with ADO controls. Is there any where I can find out more information on shaped SQL statements? Morgan
  6. mgardiner

    SQL, ADO and Subforms

    I have been given the task of creating a form that looks "JUST LIKE" the Subform in Access. I am converting an Access database to SQL and VB. The Company wants the form to look just like the Access Form/Subform they have now. The subform is in the form of individual controls not a...
  7. mgardiner

    Subset of an ADO recordset

    filter only seems to work if you have a Field your filtering on. I just want to say I want Record Number 345 and have a recordset of that. This is for a search by record on every field one record at a time. I think I have it figured out though. There might be a better or cleaner way to...
  8. mgardiner

    Subset of an ADO recordset

    .filter only seems to work if you have a Field your filtering on. I just want to say I want Record Number 345 and have a recordset of that. This is for a search by record on every field one record at a time. I think I have it figured out though. There might be a better or cleaner way to do...
  9. mgardiner

    Subset of an ADO recordset

    I have an ADO Recordset. I want another Recordset that will have only One Row in it that is the current row for the first Recordset. Can I do this with out requerying the database off of some value. I would prefer to just tell the new recordset which row in the old recordset I want it to have...
  10. mgardiner

    cancel an ADO Recordset.find

    I am using an ADO recordset.find to move me through a recordset to what the user is looking for. I want to allow them to cancel the procedure if it takes to long or they notice that they selected the wrong field to search on or something. once the .find has been initiated though I can't seem to...
  11. mgardiner

    Adding ADODC Controls to a form without addind connections to Server

    I have a vb app that allows you to log in to an SQL Server. I then want to use that same connection for my ADODC controls on my forms. When I use my ADODC controls though I find that for every ADODC control I have a Connection in SQL. Is there a way around this. below is my ADODC control Code...
  12. mgardiner

    ADO to an Access database

    Doug Why do you reset your RST3 recordset after having spent all the time to add data to that recordset in the first part and then reset it to a new recordset just to fill it again. should you use two different recordsets? Morgan
  13. mgardiner

    Thoughts on DoEvents

    To: John Yingling I used your code sample and modified it to fit my code as follows. I still cannot stop the Find methode of the ADO Recordset once it is started to the SQL server. Is there a way of stopping it. Any help would be appreciated. Also I have found that even though I reference an...
  14. mgardiner

    Thoughts on DoEvents

    Thank You for the Information on DOEVENTS. I was still wondering if for my particular application is there a better or alternative way to cancel the find once it has started. Morgan
  15. mgardiner

    Thoughts on DoEvents

    Actually I haven't gotten the DOEVENTS working for a find on a Recordset. I was researching why when I ran across this thread that made mention that there might be a better way. I have seen a couple of threads in here that mention a possible alternative but no one has posted any code showing...
  16. mgardiner

    Thoughts on DoEvents

    This message is for Jeff marler If you do not use DOEVENTS what do you use to allow a user to cancel say a find on a recordset with a find form. Morgan
  17. mgardiner

    using wildcard in an ADO recordset to SQL 2000

    Thanks Everyone I appreciate the help. RJ5 in the SQL Forum instructed me to use the LIKE keyword. I tried the % in different places and came up with mixed results. I don't know why yet but I think I can work around it. .find ("QuotationNO LIKE '%10881%'") Works fine .find...
  18. mgardiner

    using Wild Card for ADO recordset Find in Visual Basic to a SQL 2000

    Thanks RJ5 I tried the % in different places and came up with mixed results. I don't know why yet but I think I can work around it. .find ("QuotationNO LIKE '%10881%'") Works fine .find ("QuotationNO LIKE '10881%'") Works fine to find the number and anything behind the text...
  19. mgardiner

    using wildcard in an ADO recordset to SQL 2000

    I am trying to find the value "010881" I tried the % wildcard character in back and in front of my string with no luck. I know the value is in the database but the search goes completely through without finding it like it was looking for "%10881" not...
  20. mgardiner

    using Wild Card for ADO recordset Find in Visual Basic to a SQL 2000

    Thanks for your quick response. This uses a VBA style string search. I tried it with my recordset .find and it didn't work. Thanks for all your help though. Morgan

Part and Inventory Search

Back
Top