Search results

  1. Travis

    SQL generation

    Where are you having trouble? Is the query not returning the values? Are you getting an error? I want to help.
  2. Travis

    nesting iif on a report

    There are a couple ways to solve this: The best way is to create a Lookup Table and link it with you current data (Thus replacing the passing of 1 2 3 ... with Michigan Georgia ...) To quickly solve your issue you could also use a private Function. Place this function on the Class Module of...
  3. Travis

    ADO Help! / Field Properties

    Here are the properties: 0: Autoincrement 1: Default 2: Description 3: Nullable -> Setting this to True makes the field required/False makes the field not required 4: Fixed Length 5: Seed 6: Increment 7: Jet OLEDB:Column Validation Text 8: Jet OLEDB:Column Validation Rule 9: Jet OLEDB:IISAM...
  4. Travis

    SQL generation

    Sub SQLgen() On Error GoTo Err_SQLgen ' SQL Generation routine SQLQuerysubform.SourceObject = "Query1subform" SQLbase = "SELECT tbldst.dst_user, tbldst.dst_task_id, tbldst.dst_date FROM tbldst" Dim iLp As Integer For iLp = 1 To 4 If Me.Controls("Combo" &...
  5. Travis

    SQL generation

    Does this answer your question? Sub SQLgen() On Error GoTo Err_SQLgen ' SQL Generation routine SQLQuerysubform.SourceObject = "Query1subform" SQLbase = "SELECT tbldst.dst_user, tbldst.dst_task_id, tbldst.dst_date FROM tbldst" Dim iLp As Integer For iLp = 1 To 4...
  6. Travis

    display a record in a form

    I do not know what you base this on, but I have used many different types of variables (Boolean, String, and Numbers). The Filter property is a string value, but think of it more as the Where/Having clause in an SQL statement. The same rules apply.
  7. Travis

    display a record in a form

    1. Set the Forms Filter property to only display the record. Example [ID Field Name]=ID# 2. Create a RecordSet Object and Set the forms RecordSet Propery equal to the RecordSet Object. 3. Create a Form to select the ID# and use the Docmd.OpenForm function setting the [Where] options...
  8. Travis

    magic eight ball

    Create Table tblMagicEightBall Field ------ MSG Text(100) --> I just choose this set it to what works for you Add phrases and then call the function below. Public Function MagicEightBall() As String Dim rst As New ADODB.Recordset Dim iMsg As Long Dim iUpper As Long Dim...
  9. Travis

    GUID question

    Somewhere in the database there is a link between the GUID and what type of file it is. Most likely the system is not using a translator on the name itself, but has a table that looks possibly something like this: Table ------------------- [GUIDID Field] [File Type or Original File Name]...
  10. Travis

    GUID question

    According to www.wikipedia.org
  11. Travis

    Compacting with SENDKEYS "%TDC" doesnt work....

    Why even use SendKeys? You have the Docmd.RunCommand available to you: DoCmd.RunCommand acCmdCompactDatabase DoCmd.RunCommand acCmdRepairDatabase
  12. Travis

    Connecting database to VB

    What are you using for the Provider?
  13. Travis

    Multiple Items in one Report

    is there a manual page break object in your report? Does the detail section's Force New Page property set to something besides "None"?
  14. Travis

    My head is about to explode !

    ThisCheckBox: Iif(DateAdd("yyyy", [TrainingDate], [NumYears]) <= Date(), "Out of Compliace", "In Compliace")
  15. Travis

    Multiple Items in one Report

    Use "Group By" to group the ID's under a single Claim #. You may need to change your report layout.
  16. Travis

    Automatically Change and Fill in Table Fields

    This link might help: http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=27640&highlight=Autonumber Also you can do this from the Form on the control (Option Group) after update or Changed Event.
  17. Travis

    Check my code please

    How is it not working properly? How does the caption get changed? (Running of a different procedure) Does the Caption change when it is suppose to?
  18. Travis

    Creating a customized report number

    See this post for a start http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=27640&highlight=Autonumber
  19. Travis

    Exporting text to CSV

    Use Print instead of Write
  20. Travis

    My head is about to explode !

    How do you have the Tables Stuctured? If you have a "Training" table that is a list of Different Training the solution is a simple calc. tblTraining TrainingID -> Unique ID TrainingName -> External Name of the Training CertLength -> Length of time the certification is good for in years (This...
Back
Top Bottom