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...
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...
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]...
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...
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!
...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
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!!
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...
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...
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...