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

    "Between AND Operator" in query

    Thanks. Let me have a try. Regards, Charley
  2. CHTHOMAS

    "Between AND Operator" in query

    WayneRyan, Well i don't have any problem in converting text to number. When i use the Between And operator for the converted field (ie number field), am getting the same results as i get for the text field which is confusing me. Regards, charley
  3. CHTHOMAS

    "Between AND Operator" in query

    I have an access table with a field "period" of Text data type. I have to retrieve records from the table between 2 periods using a select query. For retrieving records between periods 1 and 3, When i use "Between AND Operator" in query, then it returns all record which have...
  4. CHTHOMAS

    Refresh Autocad Drawing

    Am very new to Autocad. The request came from autocad users and i did the retreiving of record from Access database. But as i said, don't know how to load the drawing with new data. A gap is there between autocad users who don't know much about vb and myself who don't know about autocad...
  5. CHTHOMAS

    Refresh Autocad Drawing

    O.K I will tell you what i understand and know. Refreshing the drawing means loading the same drawing with new data or values from an Access database. The drawing itself don't change, instead there are some values/data displayed in the drawing (as number figures) and these changes. The sheet...
  6. CHTHOMAS

    Refresh Autocad Drawing

    ...Recordset Dim st As String Dim col As Integer, row As Integer, count As Integer Dim main_values As Variant UserForm1.Hide st = "select * from TAG_MASTER where LPSN = " + Chr(34) + tmas_tag + Chr(34) + ";" Set rec = db.OpenRecordset(st) If rec.BOF = False Then...
  7. CHTHOMAS

    syntax error

    Thanks. The suggestion by CCLINT solves the problem. Now its working fine. Thanks to everyone for their help Charley
  8. CHTHOMAS

    Validation Rule

    Am not completely sure about this. Usually in the table for the date field i give something like below which prevents the user from entering invalid dates. Format dd/mm/yyyy Input Mask 99/99/0000;0; Make a copy of the database and try changing the date field to the above mentioned format and...
  9. CHTHOMAS

    syntax error

    Sorry. Still without a solution and getting the same error message too few parameters expected2 even after trying CALL before the function name and enclosing the parameters within (). I tried call ThisDrawing.Input_mas_tag (strMas_tag, strMas_tag1)
  10. CHTHOMAS

    Validation Rule

    Great. It solves the problem. Regards, Charley
  11. CHTHOMAS

    Validation Rule

    How can i specify that the first 2 characters of a Date field in dd/mm/yyyy should be 01? Am not sure how to do it either using Validation rule or by input Mask? Please help. Regards, Charley
  12. CHTHOMAS

    syntax error

    Thanks. Let me fiddle around a little bit. Thank you sparing your valuable time. Regards, Charley
  13. CHTHOMAS

    syntax error

    Hi again, I tried your code, but still getting the same error. ThisDrawing.Input_mas_tag txtMas_tag.text,txtMas_tag1.text I could see the values in debug mode when i place the cursor above the parameters.
  14. CHTHOMAS

    syntax error

    You are right. Am getting error on the following line. ThisDrawing.Input_mas_tag txtMas_tag.Value,txtMas_tag1.Value Regards, Charley
  15. CHTHOMAS

    syntax error

    ...Recordset Dim st As String Dim col As Integer, row As Integer, count As Integer Dim main_values As Variant UserForm1.Hide st = "select * from TAG_MASTER where ITAG = tmas_tag And STG1 = tmas_tag1" ' st = "select * from TAG_MASTER where ITAG = " + Chr(34) +...
  16. CHTHOMAS

    syntax error

    Thanks. That solves the problem.
  17. CHTHOMAS

    syntax error

    I have the following code attached to a button on a form. Am getting a syntax error. Can anyone help me? Am very new to VB. Private Sub cmdExit_Click() ThisDrawing.Input_mas_tag (txtMas_tag.Value,txtMas_tag1.Value ) End Sub Regards, Charley
  18. CHTHOMAS

    subtract 21 days from Today's date

    Hi, How to subtract 21 days from Today's date? I tried something like DateDiff("d",Date(),21), but getting unexpected numbers. Regards, Charley
  19. CHTHOMAS

    Report format problem

    I have a report in the following format. Discipline Header Category Discipline footer TOTAL eg. A11 CIVIL AND STRUCTURAL ......................... ENGINEERING 10 ......................... .....DRAFTING 10 A11 CIVIL AND STRUCTURAL TOTAL 20 A11 CIVIL AND STRUCTURAL is the Discipline Header...
  20. CHTHOMAS

    SWITCH function to Group Values

    Thanks a lot. I will give it a try and let you know

Part and Inventory Search

Back
Top