Recent content by tanzania

  1. T

    maintaining record position after a requery

    nope, not a new record
  2. T

    maintaining record position after a requery

    Ok so i just found a small glitch in what otherwise works great. On the first instance of checking a box after the form has been opened I get the following msg "Not a valid bookmark" error 3159. Then anytime I check a box after that it works fine...until the next close and open of the form. Do...
  3. T

    maintaining record position after a requery

    fantastically simple! thanxs :-)
  4. T

    maintaining record position after a requery

    I have a subform that displays a list of records based on a filter. I have a checkbox control that when ticked, I want to requery the form to orderby this control. This all works fine, however I want some way of maintaining the focus at the position where this occured(the next record after the...
  5. T

    isnull not wokring on second check

    I think that may have been the problem as the following fix to the code works perfectly: If rs![Price_B] = "" Then Else If rs![Price_B] = 0 Then Else rs![Price_B]...
  6. T

    isnull not wokring on second check

    Hi, I have the following code. The weird thing is that if both the fields are null or not null then the code works fine but if one or the other is null then i get a type mismatch error. I have no idea whats causing this!!! [Code] If IsNull(rs![Price_B]) Then...
  7. T

    orderby 2 fields

    Wow, that easy! thanks :-)
  8. T

    orderby 2 fields

    Hi, I was wandering if it was possible to orderby on two fields? for example, I have my primary ordering into two groups, then I want a secondary ordering within these 2 groups. Thanxs!
  9. T

    syntax help on rs.findfirst

    ...didnt work as i hoped but i havent pursued it anymore as i have found another way to solve my problem. thanks all the same, and will def go in the knowledge bank
  10. T

    syntax help on rs.findfirst

    Hi, I need some syntax help on the following line of code: rs.FindFirst (rs![NewRecord] = True And IsNull(rs![Event_No])) where NewRecord is type boolean and Event_No is string. Ive used this function mainly on strings so am not sure what to do with this one! thanks!!
  11. T

    problems with xml load on form

    i tried doevents and this did not help. Can you please explain further what you meant by using Close or tables?
  12. T

    problems with xml load on form

    Hi, I have some code that opens an xml document using xmlDOM. I then update a table from parsing the xml code. The problem is that I get an automation error which says that the 'data necassary to complete this operation is not yet available' when i run the code. But if I aad in a msgbox or...
  13. T

    predictive/ pre emptive text on entry field

    Hi, Does anyone have any idea, or know where i can find information about predictive text on an entry field. I have done lots of searching but cant find anything that really fits what i am trying to do. I have a list of options, but there is about 30 which i feel is a bit too large for a combo...
  14. T

    add new record on cts form with button

    that works beautfully!...thanks heaps for getting me in the rigth direction!
  15. T

    add new record on cts form with button

    Hi, I have a continuous form. Im wandering if there is some way of not showing the last record whilst still allowing additions? ie I am wanting to have an 'Add' button that will insert a new record and automatically populate the date and time fields with the current values. The following code...
Back
Top Bottom