Search results

  1. G

    help with a query in vba

    ok with that said, i need to pay more attention to normalizationin the fututre, but can i ask though noted ... and you are right ... for my next project, ill not be making any of these mistakes
  2. G

    help with a query in vba

    can i say ... you are a genius ... a damn genius ... works like a charm ...
  3. G

    help with a query in vba

    This is part of a project to rent party supplies. you start by selecting a customer. I have a list of products thats used to populate the Product ID combo box. The same query is used for each combo box, except that the second combobox will show all except the value from the first box, and the...
  4. G

    help with a query in vba

    i have this form and need to write a query that will get Product name, category, price, quantity in stock from the products table ... Select productname, category, price, quantityinstock from Products where Productid = pid.value im new to written queries ... and this is as far as ive gotten...
  5. G

    Impossible query

    i thank you for your response. i wholeheartedly do. i m trying to help a fried do a project. here is the outline. the database is supposed to keep track of extra curricular activities/clubs in a school. there are students and each student has guardians each activity is led by a teacher and an...
  6. G

    Impossible query

    Thanks for your feedback. students and teachers cant go together. guardians is not required in the query i wanna create. ill try the new table approach, but is there any way to create a query currently that will show all persons affiliated with the activity
  7. G

    Impossible query

    RELATIONSHIPS ACTIVITIES TABLE In the Activities table, Ledby is a teacher,Assistedby is also a teacher. President, VicePresident, Secretary, PRO & Treasurer are all students. How can i create a query to show all participants in an Activity, be they teachers or students ? i wanna show first...
  8. G

    Check if a field is empty

    i had discontinued that effort. i had simply resorted to change the layout of my form. the suggestion made by @Pat Hartman had helped. tyvm kind sir
  9. G

    Check if a field is empty

    yes i did. works like a charm ... i found a workarounf by changing the forma of my form. i learnt something. thank you
  10. G

    Check if a field is empty

    Double ... i have another thats Integer too ... might wanna use the same technique elsewhere
  11. G

    Check if a field is empty

    quantity = me.amount.value keeps giving me an errow when amount is empty. is there a way to check if the field is empty and return 0 instead ?
  12. G

    Using DateDiff and getting errors

    oh snap ... i didnt even see that ... tyvm. two sets of eyes are better than one. im tired too ... thanks a million.
  13. G

    Using DateDiff and getting errors

    neither of those suggestion worked. instead of -5 im now getting 5 when i reverse the dates, and with the dates reversed when i changed the parameter from "m" to "d" and divided by 30 like you suggested, i still end up with 5
  14. G

    Using DateDiff and getting errors

    as you can see, the rental date and return date(wich is the expected return date), now when i try to calculate the amount of months that have expried between today, and the expected return date using DateDiff ... retdate = Me.edate.Value aretdate = Date late = DateDiff("m", retdate, aretdate...
  15. G

    How to use a multi value result set

    ive resolved the issues i was having ... thanks a million guys
  16. G

    How to use a multi value result set

    cborentals is a combobox populated by a query that spans 3 tables
  17. G

    How to use a multi value result set

    What im trying to do is get two values, book name and subject from the books table. Id like to learn to correctly use a recordset and use individual values from the recordset.
  18. G

    How to use a multi value result set

    corrected but now im getting this error and
  19. G

    How to use a multi value result set

    im appreciate your input, im teaching myself VBA so its a learning process.
  20. G

    How to use a multi value result set

    and then this
Top Bottom