Recent content by tc3of4

  1. T

    creating temporary select queries

    thanks david, guess i'm going to have to use ADO and DAO together on this one tc3of4
  2. T

    docmd.runsql only works with an action query how do I view a SELECT query

    I guess I should have put more information I've written dynamic queries through code. but they are SELECT queries and the docmd.runsql will only run ACTION queries. So how do I view the results of a SELECT query (that was created through code) thanks tc3of4
  3. T

    docmd.runsql only works with an action query how do I view a SELECT query

    docmd.runsql only works with an action query how do I view a SELECT query tc3of4
  4. T

    creating temporary select queries

    okay here it is... Private Sub RunDynamicQuery() Dim sPeriod As String Dim sTransType As String Dim sStatus As String Dim sRevFlag As String Dim sTransOrigin As String Dim sBN As String Dim sReport As String Dim sqlString As String sPeriod =...
  5. T

    creating temporary select queries

    I tried it that way but no luck...
  6. T

    creating temporary select queries

    with the above I binded the sql statement to a string dim sqlstring as string sqlstring = "sql statement above" docmd.runsql sqlstring [This message has been edited by tc3of4 (edited 05-02-2002).]
  7. T

    creating temporary select queries

    in access xp tried using docmd.runsql sqlstring sqlstring is a valid statement but access keeps giving me error message runsql requiers valid sql statement i.e. SELECT Report1_MAY0102_025148.Period, Report1_MAY0102_025148.BN, Report1_MAY0102_025148.Name, Report1_MAY0102_025148.TransType...
  8. T

    wild cards and null

    front end: Access XP backend: Oracle 8i Question: Using running a query which has a criteria that is populated by a textbox from a form. this is the easy part. My confusion is when a user enters a wildcard "*" the query looks somewhat like this Like form![field] so if they enter a wild...
  9. T

    finding what workgroup your in through code?

    found it.... can delete this post
  10. T

    first record in a recordset

    You can catch the error. I think it's 2501 so you can have something like this -- in your event procedure for the button private sub movePrevious() on error goto error_handler ... end_here: exit sub error_handler: if err.number = 2501 then '/** do nothing else goto end_here end if...
  11. T

    finding what workgroup your in through code?

    Was posted here once but can't seem to find it. tc3of4
  12. T

    Moving Form position thru code?

    This is more than what I require... Thank you very much... Will be able to do a lot of things which I was too lazy to think about once again thanks for the prompt response tc3of4
  13. T

    Moving Form position thru code?

    Any help would be appreciated. tc3of4
  14. T

    how to modify password input mask

    Here's one way... Object: TextBox Name: txt_NewPassword '/** Just in case they leave the text box without entering the right length Private Sub txt_NewPassword_LostFocus() '/** If nothing entered then don't worry about it If (Len(txt_NewPassword.Text) = 0) Then Exit Sub...
  15. T

    Error/Warning box after cancelEvent

    try this docmd.setwarnings false docmd.cancelevent docmd.setwarnings true tc3of4
Back
Top Bottom