Search results

  1. wazz

    4 character numbers

    great! as long as you don't have a 5-digit ID you're good to go. thanks for the update.
  2. wazz

    4 character numbers

    try: Dim intZeros As Integer With Me intZeros = 4 - Len(.IDField) .NewID = "084567" & String(intZeros, "0") & .IDField End With if you put a new field in your table called NewID and put the code above in the On Current event of a form, the NewID will be updated to...
  3. wazz

    4 character numbers

    are you trying to store this in a new field, or trying to alter the autonumber field data? edit: nevermind, i see what you're doing.
  4. wazz

    Reporting Posts

    if you mark someone's post as a duplicate, get the url of one of the duplicates (browse to it and copy the address), browse back to the other and add a post of your own: "duplicate of [url you copied]." this will (hopefully) stop people from replying to both, and the link will take people to...
  5. wazz

    Double Search Table

    you could create a query with all of the fields. in the criteria for the year enter Forms!yourformname!textboxname for the month enter Forms!yourformname!combobox name you can then lookup the id of the query. if you get a result then you know that a record exists, otherwise enter a new...
  6. wazz

    enter code, display description & vice versa

    moved to forms forum. :)
  7. wazz

    Updating Label Captions

    ayfour, i wasn't sure how far you wanted to go with this so i threw in those links. if you're building the forms with a wizard or by hand, i think you can disregard those links for now.
  8. wazz

    VBa sql DELETE String Not Working

    must be the time zone. yeah.
  9. wazz

    Google Map for routes

    there are more ideas in the sample databases forum, too.
  10. wazz

    enter code, display description & vice versa

    one possibility: put two comboboxes on the form. when one is updated, update the other to match with the other info. it sounds like your tables are normalized - you are not duplicating data - so the two boxes would always have to work in conjunction with each other.
  11. wazz

    I'm new here and need some help about forms

    sorry scooter, didn't see you had replied.
  12. wazz

    I'm new here and need some help about forms

    you can stop right there. no need to add controls to tell you something that you can already find out. if "the country is x", then you can find out by checking the text box or combo box or whereever the info is. you can/should do that with a query. use the check box to select one item. if you...
  13. wazz

    Double Search Table

    answer depends on how you are indicating or selecting the month and year on your form. are you using comboboxes?
  14. wazz

    VBa sql DELETE String Not Working

    oh mr. bolt ... missed it by seconds ...
  15. wazz

    VBa sql DELETE String Not Working

    try changing & WHERE to AND you working with copies of your tables i hope. :)
  16. wazz

    Blanktable

    what data? you said it is blank.
  17. wazz

    Venting my Frustration

    see if the agent will defer it somehow to a another date. they're bound to find someone else to fill the spots. if they must, let 'em keep the cash, but you get space another time.
  18. wazz

    Updating Label Captions

    welcome to awf. http://msdn.microsoft.com/en-us/library/aa221170(office.11).aspx http://msdn.microsoft.com/en-us/library/aa221167(office.11).aspx hth.
  19. wazz

    BeforeInsert Event

    " Private Sub object_BeforeUpdate(Cancel As Integer) Object The name of a form or a control. Cancel The setting determines if the BeforeUpdate event occurs. Setting the Cancel argument to True (–1) cancels the BeforeUpdate event. Remarks Changing data in a control by using Visual Basic...
  20. wazz

    Question Comparing strings

    you can compare with OldValue.
Back
Top Bottom