Recent content by helloworld

  1. H

    Wierd Problem

    No...any idea how I would do that?
  2. H

    Wierd Problem

    Alright...I have managed to narrow the problem down to one event. I get this error only when I leave the database idle for more than a couple of mins. Could there be a reason for this?
  3. H

    Wierd Problem

    Hi Wayne, Thanks for your reply. However, that does not seem to fix the problem as I keep getting the same Error Message.
  4. H

    Wierd Problem

    Hi there, I have some code for generating reports that involve an IsNull Statement. I have 2 comboboxes that are in a if statement. The code should execute if Combo1 is not null and Combo2 is Null.But the wierd part is the code fluctuates. Sometimes it works when I have If (IsNull(Me!Combo1)...
  5. H

    Incorporate Search using a SQL Query into A Variable

    hey there...do a search on this forum for something called a query def. that code takes input from an query and puts it into a variable!
  6. H

    Problems with IsNull

    Thanks for your help Ken...when I thought about it a bit more, I realized I had to go back to the good old Truth Tables in order to find out what is wrong. Also since an 'If' statement returns a boolean and so does the IsNull() function, the issue of Double negatives came up. But thanks a lot...
  7. H

    Problems with IsNull

    Ahhh...it is making a little more sense now...b/c my code would not fire when one was 'True' and one was 'False'. I had to use "" for one of them. Thanks for the help man. As a side note, where do I find documentation that explains these rules? These forums have been a great help but I cannot...
  8. H

    Problems with IsNull

    Thanks for the reply, but is this also true when you have multiple parameters in an if statement? ex: If isnull(...) = true and isnull(...)=false then.... what I tend to do is put both those parameters in brackets so it is a bit easier to read. If (isnull(...) = true) and (isnull(...)=false)...
  9. H

    Problems with IsNull

    Hey there, can someone perhaps explain this little problem to me? It regards an IsNull statement within an If statement. sometimes when I go... if (isnull(forms!formname!nameoffield) = true) then.... the statement works at other times, when I go if (isnull(forms!formname!nameoffield) =...
  10. H

    Insert into problem

    Thanks for the help Wayne...but one more question...what do I do if I have a date? I tried the # as many people have suggested throughout the forums but that did not help. I enter a date in the form and it turns out to be a totally different date in the tables. Your help would be much appreciated.
  11. H

    Insert into problem

    Hi Pat...thanks for your reply, but how would you include the double quote in the SQL Statement? PS: I tried searching the forum but did not find anything that specifically regarded my problem.
  12. H

    Insert into problem

    Hey guys, Can anyone tell me what is wrong with this statement? I keep getting a syntax error when the Record Create Identifiers are equal to 'johnsmith' and i get another syntax error when the record create identifiers are equal to something to something like 'John.D'Souza'. Your help would...
  13. H

    Clearing about 20 fields in a form

    Once again, thanks for your help guys! I really appreciate it!
  14. H

    Clearing about 20 fields in a form

    thanks a lot Milo and Mitch...I got it working thanks to you guys...but I do have one more question :p Can you include a combo-box in an input box?
  15. H

    Clearing about 20 fields in a form

    the attachment works! so what is wrong with my code?
Back
Top Bottom