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 SkipVought 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: *

  1. InsaneMember

    Need some help on this sql code

    call me clueless... what's the ";" at the end for? does that change anything when trying to save it as a procedure? (i know i didn't have one on mine sql string)
  2. InsaneMember

    vba questions-- date and subforms

    hmm... i got the code to work... sort of... it runs the query only when i've gone through the combo boxes, like twice. also if the combo boxes are empty; it gives me a null error (null value invalid or something like that) is there some way to input default values when the form first starts...
  3. InsaneMember

    vba questions-- date and subforms

    THANKS! that segment works now... now nothing is turning up on my query... and there's this weird thing that i get a "type mismatch" error every so often, even if i haven't changed any of the input. Could someone straighten me out? Function FilterMonth() Dim PayPeriodStart...
  4. InsaneMember

    form event for when it first loads up

    i want to assign some variables values from the start of the form... what is the action_event that allows me to do that? (ie for a button click button_event, i want to know the even for when i first open up a form)
  5. InsaneMember

    vba questions-- date and subforms

    i'm sorry... this is still confusion... okay, say i have a main form named Legs and a subform named Hips, it would look like this: Forms!Legs!Hips!Hips.RecordSource ?
  6. InsaneMember

    vba questions-- date and subforms

    i get this "method not found" error when i do a subform.recordsource = sqlstring also... according to that function, i would have to have a date put into it. would it work if i just went something like month(august) or something like that?
  7. InsaneMember

    vba questions-- date and subforms

    okay... if i was going to use .recordsource, can it be on a bound sub-form, or does it have to be on an unbound sub-form? also, how do we find the last DATE of the month. (ie is it the 29th? 30th? 31?)
  8. InsaneMember

    subform requery? based upon criteria

    i'm learning something new everyday... cstr() well, it didn't work. i think i'm doing something wrong... okay, i don't have the combo boxes linked to a table, instead i typed in the values i wanted at creation (using a wizard). the first combo box is the month field. it has the months...
  9. InsaneMember

    subform requery? based upon criteria

    how do yo convert a date to a string? here's what's going on... the 3 combo boxes are supposed to give me dates. combo box 1= month 2=pay period 3=year i need to combine them all, to create a date so i can put it into the query.
  10. InsaneMember

    subform requery? based upon criteria

    hmm... another problem... how do you convert type= date into type = string?
  11. InsaneMember

    subform requery? based upon criteria

    hmm... i thought about that. but i'm really new to this that i'm even clueless on the syntax! okay, how do i get the subform.property =sql statement? looking at the help files, i have to enter it in as a string. ie db.setdefquery = "select * from table" i tried creating a string...
  12. InsaneMember

    subform requery? based upon criteria

    here's my problem. i have 3 combo boxes that are going to be used to determine the criteria for a sub-form. (month, payperiod--period 1 or 2, and year) there are 2 payperiods in a month, (we're paid from the first to the 15th, and the 16th to the last day of the month) i have a query that...
  13. InsaneMember

    having a problem with filtering code...

    here goes.. there are 3 combo boxes, one for month, payperiod, and year. it's supposed to look for payroll stuff during the payperiod. Option Compare Database Dim begDate, lasDate As Date Private Sub cmbMth_AfterUpdate() FilterMonth End Sub Private Sub cmbyear_afterupdate()...
  14. InsaneMember

    having a problem with filtering code...

    it has to do with the employee hours form. it saying something about an incompatible data type. i have the database, if you could help, e-mail me at: 123@smsos.com thanks!

Part and Inventory Search

Back
Top