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 Mike Lewis 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. hopper

    Display Utility command from VB application

    Can I run the display utility command and capture the results from a VB application with an ODBC connection? I am running DB2 V7 on the mainframe and accessing it via DB2 Connect V7. Thanks in advance! Scott
  2. hopper

    Can I capture an application name with SQL???

    Thank you, that helps very much!!!!!
  3. hopper

    Can I capture an application name with SQL???

    I'm new to DB2 so if this is obvious please forgive me... I have several .NET application that will be accessing our DB2 v7 mainframe database (more specifically a view). I have the authorized application names stored in another table. I need to see if it is possible to capture the calling...
  4. hopper

    How do I open an ADO recordset from a stored query

    That works great jsteph, THANKS!!! now.... is there a way to pass in a parameter value to the query in that same code?
  5. hopper

    How do I open an ADO recordset from a stored query

    I will give that a shot in just a few minutes jsteph. Thanks for your help.
  6. hopper

    Help with duplication query

    you could do something like this, but the time taken to run this will be high. If it is a one time shot or something you only run occasionally it might not be an issue. Something like this: dim MyArray as variant dim conn as adodb.connection set conn = currentproject.connection dim rs as...
  7. hopper

    How do I open an ADO recordset from a stored query

    The reason I'm trying to use the saved query name is because it is a very large SQL statement and I am trying to keep my code as clean as possible. Any overhead associated with ADO would not be an issue as this is a smaller system with few users.
  8. hopper

    If... Then Statement Issues

    Try adding .value to the end of RippedName If Not Isnull(Me!RippedName.value) Then AppName.BackColor = 12632256 Else AppName.BackColor = "some other color code" End If
  9. hopper

    How do I open an ADO recordset from a stored query

    I'm sure this is simple, but I'm having a heck of a time trying to open an ADO recordset based off of a stored query. I am using access 2002 Code looks something like this. dim conn as adodb.connection dim rs as adodb.recordset set conn = currentproject.connection set rs = new adodb.recordset...
  10. hopper

    Eval function help please

    Me.Controls() works perfectly!!! Thanks!!! I'm still looking at the Eval function to figure out what I did wrong. I know I used that before but it was Access 2002 and I wasn't sure if there was something different there or not.. Thanks for all your help!!!!
  11. hopper

    Eval function help please

    Since there are no control arrays in VBA (that I know of...) I'm using a for loop with the eval function to try to clear out some labels... for whatever reason, I get an error message stating "Microsoft Access can't find the name lblFname0 you entered in the expression" however...
  12. hopper

    Is there a way to automate the export to snapshot process?

    I need to have an Access report that is viewable and printable from an ASP page. I also need the report to be dynamic so each time a user ran the report Access would re-export the report to a snapshot. Any help or comments would be greatly appreciated. Thanks, Hopper
  13. hopper

    Best Way of updating a Table

    I might be confusing DAO and ADO here, but would it be faster to do a connection.execute instead going through the Recordset? something like: Dim ConstDb As DAO.Database Set ConstDb = CurrentDb() ConstDb.Execute "UPDATE AllFlatFile SET PriceType = 'USD'" Set ConstDb = nothing...
  14. hopper

    Dynamic Access Reports from an ASP app. Is this possible?

    I am trying to find a way to have MS Access reports available to users through my ASP web-app. Is there some way to either publish these reports in an ASP or HTML page so the server would pull fresh data every time the page is requested? Or is there a way to have the application spit out the...
  15. hopper

    Radio Button Help please

    That's perfect!!!! Thank you! Scott
  16. hopper

    Radio Button Help please

    I'm sure this is an easy one, but I need some help. I need to find out if any one radio button in a group has been checked where the number of radio buttons isn't known until run time. I was using if (form.radio1[0].checked = true || form.radio1[1].checked = true...) but now the number of...
  17. hopper

    looping through controls... help please.

    That worked!!! Thanks so much!!! Scott
  18. hopper

    looping through controls... help please.

    I'm working on a online questionare. The site reads in the questions from a text file so the number of questions and radio button groups is unknown until the asp page runs. I need to validate that the user answered all the questions before the onclick event of the submit button. I am trying...
  19. hopper

    ADODB Connection help PLEASE!!!!!!

    Sorry, I'm using an ODBC system DSN
  20. hopper

    ADODB Connection help PLEASE!!!!!!

    set conn=Server.CreateObject("ADODB.Connection") conn.Open("SiteVisit") set RS = Server.CreateObject("ADODB.recordset") strSQL = "SQL string..." RS.Open (strSQL), conn 'Read RS into an array RS.Close set RS=nothing conn.Close set conn=nothing then...

Part and Inventory Search

Back
Top