User Profile

Collapse

Profile Sidebar

Collapse
comteck
comteck
Last Activity: Oct 26 '06, 05:34 PM
Joined: Jun 29 '06
Location: Edmonton, AB
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • comteck
    replied to Required field
    Sorry about that. I made a mistake. Do what NeoPa said.

    comteck
    See more | Go to post

    Leave a comment:


  • comteck
    replied to Required field
    Try this. First, set the "Enabled" property to "No" for all textboxes, comboboxes, etc that you want greyed out. Then for the OnExit property for the textbox that you want the others to be dependant on, create an Event Procedure with the following code:

    If Me.textbox1 <>"" Then
    Me.textbox2.ena bled="Yes"
    Me.textbox3.ena bled="Yes"
    Me.combobox2.en abled="Yes"...
    See more | Go to post

    Leave a comment:


  • comteck
    replied to Delete Duplicate records
    Sorry Killer.... it did work for me. Might be a different case here. However, not everybody is correct in their solutions that they offer on here. Normally however, people are not rude about it....
    See more | Go to post

    Leave a comment:


  • Not sure what you're looking for.
    See more | Go to post

    Leave a comment:


  • What??????????? ??
    See more | Go to post

    Leave a comment:


  • comteck
    replied to Russian text problems in Access 2000
    Not 100% sure, but you may have to change the language of the keyboard.

    comteck
    See more | Go to post

    Leave a comment:


  • comteck
    replied to tab control.
    No it does not.

    comteck
    See more | Go to post

    Leave a comment:


  • I don't know if you can rename a field on the fly. If you can, it's not done with the ALTER TABLE statement. ADD COLUMN or ALTER COLUMN can only be used with ALTER TABLE. RENAME COLUMN cannot be used.

    You may have to rename the field from the design view of the table. Just a word of caution.... if you rename fields in your table, it may affect all queries, forms, etc. that are associated with that table.

    comteck
    See more | Go to post

    Leave a comment:


  • comteck
    replied to Delete Duplicate records
    Create a query based on the table that you are checking for duplicates from. Call the query "qryDuplicates" . Open the query in design view, and enter the following statement in the field that you are checking for duplicates (i.e if you are checking for duplicate serial numbers, and that field is called "serialnumber") , enter this statement in criteria under the field "serialnumb er":

    In (SELECT [serialnumber]...
    See more | Go to post

    Leave a comment:


  • comteck
    replied to INPUTBOX not evaluating properly
    Use "UCase" as NeoPa suggested, but also add an ELSEIF statement. It should look like this:
    Code:
    Private Sub Form_Open(Cancel As Integer)
    
    mUser = InputBox("Please sign in: ", "User Sign In", , 5000, 5000)
    UCase(mUser)
    Debug.Print mUser
    Debug.Print Len(mUser)
    If mUser <> "JG" Then
    MsgBox "Incorrect Entry!", vbCritical
    'DoCmd.Close
    ...
    See more | Go to post

    Leave a comment:


  • comteck
    replied to Query For Semi-annual review
    How about a little more information.

    comteck
    See more | Go to post

    Leave a comment:


  • comteck
    replied to Changing criteria while displaying a report
    Well, I'll need a little more information on your tables (including field names and PKs). As well, I need to know what the Record Source is for the report, and what is the combo box based on?

    comteck
    See more | Go to post

    Leave a comment:


  • comteck
    replied to Autopopulate fields in a form
    Are you trying to do a JOIN, where you have a form based on more than one table, or on a table and a query?

    comteck
    See more | Go to post

    Leave a comment:


  • comteck
    replied to Extract 1st and last dates
    I'm kinda confused. Did the Min, Max functions work, or was it not what you were looking for?

    comteck
    See more | Go to post

    Leave a comment:


  • comteck
    replied to Autopopulate fields in a form
    I think this is what you are looking for. Try this:

    Open your form in design view, and open the properties. Assign the query to the Record Source of the form. Now when you add controls, such as textboxes, combo boxes, etc to the form, you open the properties for those controls, and click on the Control Source. You will have a list of all the fields for the query. Select one.

    Close and save the form.

    ...
    See more | Go to post

    Leave a comment:


  • comteck
    replied to Changing criteria while displaying a report
    As far as I know, a report is just that.. a means of displaying data. I don't believe it is possible to make a selection in a report. You can however, make a selection from a combo box on a form, and then have this selection displayed on the report.

    comteck
    See more | Go to post

    Leave a comment:


  • comteck
    replied to Extract 1st and last dates
    Is your first date your lowest date, and your last date your most recent date. If they are you can use Min, Max. Create a textbox for the first date, and in the Control Source, type:

    =Min([Date])

    Create another textbox for the last date, and in the Control Source, type:

    =Max([Date])

    This is assuming that the field containing the dates is named "Date". If not, use whatever name...
    See more | Go to post

    Leave a comment:


  • Do you want the new value to be stored in a table, or just appear in an unbound textbox?

    comteck
    See more | Go to post

    Leave a comment:


  • comteck
    replied to Background color for Tab Control
    I think there must be a way to do it because if you look at the Northwind database that comes with Access, there is a tab control used on it. Its background color is different from the default color.

    Thank you for the replies by the way.

    comteck
    See more | Go to post

    Leave a comment:


  • comteck
    replied to access currency and decimals
    There's something I'm not understanding here. Why do you have your table set up to display 4 decimal places, when you only want 2 for your currency?

    comteck
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...