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

  • Users: qshaz
  • Order by date
  1. qshaz

    Report to display certain fields if another field is null

    Hello I am required to do this in my report: There is a date that I am supposed to show in the report. In my table, I have two dates - one is end date, and the other is deposit end date. I want my report to show end date if end date is filled in, and if end date is blank or empty, then to whos...
  2. qshaz

    Show records from today and last seven days

    Thanks! And supposing I wanted to see all records only from BEFORE the last week (i.e not include last weeks records in this query)? Thanks again for all your help!
  3. qshaz

    Form not working for If statment

    Thanks! That does work. Except now, my users have to manually enter 0 into the price executed field :-( Anyway, I just fooled around, changed the names of the fields and it works now. I wonder if something is wrong with my version of Access for it to behave in this strange way! rgds shazia
  4. qshaz

    Save Calculated Results field

    Hello I have a calculation that I do using several fields in my form. I would like to save the results from this calculation to a field in my main table. How do I do this? My form is in datasheet view. Thanks
  5. qshaz

    Form not working for If statment

    Hello I want a field called Deal Executed to be changed to Yes or No depending on the data in the numerical field Price Executed whenever a user entered a new record. Deal Executed is a combox box in the table itself (Yes/No), and I put an If statment in the AFter insert property that If Price...
  6. qshaz

    Show records from today and last seven days

    I want to make a criteria in my query to show me all records only dated today and in the last seven days. How would I enter my criteria for this? Thanks!! Shazia
  7. qshaz

    In Subform set focus to the new record

    I have a subform and a button called add new record. When the main form is also a new record, and someone clicks on the subforms addnew record button, naturally they can see the new record. The subform is a continous form and takes a small space of the main form. So when there are many new...
  8. qshaz

    How can a user enter a month name in a date field

    Hello I have a date field, but since a user will be entering monthwise data only, how can i make him enter a month (they dont wnat to type out a date) and for it to save as the last date of that month? They will be entering data for prev months as well or else I would have had a field withc...
  9. qshaz

    Select Month/Year

    Yes, I would like to know the code for that as that would prevent them entering data for a month in the future, in which case my calaculations (which are based on every month and the calculation for the month prior to it) would be messed up. But I still would like to know that if they enter 01...
  10. qshaz

    Select Month/Year

    Thanks Trudye! As a matter of fact, I did end up using Year() and Month() and it worked great...I have another question...probably sounds stupid...but is there anyway that if a user enters a month in the field it input it in the table as the current date? This is because they will only be...
  11. qshaz

    Select Month/Year

    Hello I am sure there is some easy way to do this...but I have a date field in my table and my users need to search for records with the crietria as year and then month. Is there any way to do this, or must I have two fields? And how do I then allow them to search first by year and then by month...
  12. qshaz

    Calculated control updates according to last calculation data

    Hello I need help again (figures!) This is what I did: I kept the after update code as above. Then in the on current property, I put this: Private Sub Form_Current() Dim rs As Object Set rs = Me.Recordset.Clone If rs.EOF Or Not Me.NewRecord Then ' don't do anything if...
  13. qshaz

    Ok, I might have managed to do that...

    Ok, I'm using (rather *copying* :-)) some code off from Microsofts sample, so I think I might have managed to do this...I'll update once I get it going (about moving the cirrent balance data autoamtically into the next record)...I now need to know how to stop the next record from automatically...
  14. qshaz

    Calculated control updates according to last calculation data

    Yes, I did already put the code for cmdCalculate into the after update property, and of course that works perfectly, giving me the right new balance everytime. But when I goto a new record, I will still need the cmdupdate button right? To set the current balance value each time to the newbalance...
  15. qshaz

    Calculated control updates according to last calculation data

    Well obviously, setting the default value as 100 answers my first question. LOL. Sorry about that one! Still need help on automatating the second process, though! Thanks again!
  16. qshaz

    Calculated control updates according to last calculation data

    TerpFan2001, Thanks a lot! Thats doing exactly what I need! Now, how can I automate all this? I do have one funds table, and one returns table. So when someone enters the first return for a particular fund, you are right, its current bal should default as 100. So basically, if a particular fund...
  17. qshaz

    Calculated control updates according to last calculation data

    Hello everyone I need to do this on my database...My main table is tblReturns, and I have a form called Returns. Now inside that I have a field called %MTD which is the percentage return a user will enter every month. I have placed a caculated control on the form that is =100*(1+[%MTD]) Now I...

Part and Inventory Search

Back
Top