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

    Very simple query statement

    Thanks you so much, it works great!!!
  2. sysr

    Very simple query statement

    I don't use Access much and need a little help with a query. I have a Clients query with a list of IDs (identifying the client) and a Report query with a list of IDs (same ID# as client ID, and there may be some IDs that are listed several times). I want to see which Clients IDs are not in the...
  3. sysr

    Compare 2 queries, list names that aren't in both

    Thank you so much. It looks like it works perfectly, I will run some tests.
  4. sysr

    Compare 2 queries, list names that aren't in both

    I have Query A and Query B. In Query A, I have a list of people with Action Plans. Andy - Action Plan Bob - Action Plan Charles - Action Plan Doug - Action Plan In Query B, I have a list of all the Interventions. Andy - Short Intervention Bob - Short Intervention Bob - Long Intervention Doug...
  5. sysr

    Selected Option based on Date

    I would like the appropriate option to be selected based on the current date. I was thinking that there would be an easy way to do this, I can't find it. IF DATE >= &quot;April 1&quot; AND <= &quot;June 30&quot; THEN ???(Option 1 would be defaulted) ELSEIF DATE >= &quot;July 1&quot; AND <=...
  6. sysr

    Selected Option based on Date

    I would like the appropriate option to be selected based on the current date. I was thinking that there would be an easy way to do this, I can't find it. IF DATE >= &quot;April 1&quot; AND <= &quot;June 30&quot; THEN ???(Option 1 would be defaulted) ELSEIF DATE >= &quot;July 1&quot; AND <=...
  7. sysr

    Code works, but error when no records in DB

    The following code works great when there are records in the database, but when there are NO records I get an Exception error that I can't seem to fix. Any help would be greatly appreciated. 10 sqlStringa = &quot;SELECT OrganizationID FROM RegionalContracts WHERE Region=&quot; & &quot;'&quot; &...
  8. sysr

    Can you use RecordsetA data to create RecordsetB

    Thank you, it was the &quot;&quot;, darn things!
  9. sysr

    How can I ask if a Recordset has data?

    How can I ask if a Recordset has data? (Also, should I be saying &quot;populated&quot;?) 10 sqlStringa = &quot;SELECT OrganizationID FROM RegionalContracts WHERE Region=&quot; & &quot;'&quot; & strSelectedRegion & &quot;'&quot; 20 Set ReportRS = Con.Execute (sqlStringa) 30 IF...
  10. sysr

    Can you use RecordsetA data to create RecordsetB

    (I am using this in an ASP page) I am getting a recordset in line 10 and 20, but then I want to use the data in that recordset to create another recordset, is this possible? Also should I be using the SUM function in lines 60 and 70. (2 Tables: RegionalContracts and Reporting) 10 sqlStringa...
  11. sysr

    Can't get a number to return using MAX function

    Thank you very much, you have actually cleared up a lot for me in your explanation. It sounds like the recordset returned is actually a mini-database (or set of records) taken from the big database and put in memory. I must then pull what I want out of this mini database (set of records - that...
  12. sysr

    Can't get a number to return using MAX function

    I am developing an ASP page that is connected to an ACCESS database. I need to get a maximum value for a number field, add 1 to it and use that number as a key value to start the next record. 10 Set Con = Server.CreateObject(&quot;ADODB.Connection&quot;) 20 Con.Open &quot;accessDSN&quot; 30...
  13. sysr

    Can't get number returned using MAX function

    I am developing an ASP page that is connected to an ACCESS database. I need to get a maximum value for a number field, add 1 to it and use that number as a key value to start the next record. 10 Set Con = Server.CreateObject(&quot;ADODB.Connection&quot;) 20 Con.Open &quot;accessDSN&quot; 30...
  14. sysr

    How do you pass a variable in a link?

    I have tried: <%strName=RS(&quot;OrganizationName&quot;)%> <a href=&quot;&quot;&quot; & &quot;Report.asp?Quarter=1&Name=&quot; & strName & &quot;&quot;&quot;>%></a> Thank you for any help!
  15. sysr

    How do you pass a variable in a link?

    How do you pass a variable in a link? strName will not pass it's value with the following code: <%strName=RS(&quot;OrganizationName&quot;)%> <a href=Report.asp?Quarter=1&Name=strName>%></a> Thank you for any help!
  16. sysr

    Can't retrieve 2nd field in a record

    I have the following code in the middle of a loop, each line of code is surrounded by the < percentage symbols >, and I am outputting to an active server page (if that matters?). I can get the first field in a record with: =RS(&quot;OrganizationName&quot;) but when I try for a second field I...
  17. sysr

    Very Basic Question

    I am having trouble grasping this concept... I have a spreadsheet that I would like to convert to a table. My spreadsheet looks like this: Basketball Statistics Points-Boys Points-Girls Assists-Boys Assists-Girls April 120 100 80 90 May 50...

Part and Inventory Search

Back
Top