Hi all,
i wonder if someone could help me,
i have a table based form that is used to enter data and one of the text fields is sourced from the field in the table updated via an update query.
i do my testing via a button, but i always get the Compile error 'Argument not optional' when i try to...
Hi there,
is there a error number that is displayed with the message?...
Try creating a straight make table query and recreate live table into a static one and use that one as a source for further analysis.(access sometimes has a problem tracking(locking) records if the link is live and the...
Create an invisible text box on your form with source=[your combobox]. Make that text box value a criteria in your append query.
On the combo box itself On change propery need to have refresh or requery specified:
ex:
Private Sub Combo6_Change()
On Error GoTo Combo6_Change_Err
DoCmd.Requery...
Have you tried to put Format ([your field name], "dd/mm/yy") in your design grid? Then in the criteria you can ask for the prompt [Enter date required] etc..
It works on mine..
HTH
Chris
Hi Andrija,
if i understand correctly, each of those five queries show total number of records as a single line result...? in which case simple select query with no joins will do the trick...just select the required field from each query and drop it into the result grid and you will get a range...
Hi Stephen,
I have attached something you might be interested in...The database contains Macros as well as the same converted into VBA code. Note the setup of On Timer and Timer Interval on Form1 properties.
You can leave the database open at all times if it's going to help...
HTH
Chris
PS...
Hi,
on the form containing your combo box, create a text box that has your combo box as a control source. Then just use the text box as a criteria for a query.
Not elegant, but it works.
Chris
Try the following:
DELETE Orders.*, OrderDetails.OrderID
FROM OrderDetails RIGHT JOIN Orders ON OrderDetails.OrderID = Orders.OrderID
WHERE (((OrderDetails.OrderID) Is Null));
Prior to this set the Primary Key in both tables to OrderID field.
It worked on my test db.
HTH
Chris
:p
Hi,
Create a table with the same fields as your query with the adittion of an autonumber field. Make your existing query Append Query to the new table, and given that the query has descending order sor on points you should get what you want.
Now, to have this updated on the regular basis, I...
Hi there,
I do not know what is /x switch, but the following works for me:
i have several databases running overnight through the scheduler.
Upon openning, I have an Autoexec macro running that takes care of everything.
Can you tell us more details like what is {ENTER} supposed to do?
Chris
Hi,
you can select 'Minimize'action for your macro and assign it to the switchboard form button. That will minimise your SW form and by default activate database window.
Not very sophisticated, but i think it should work.
HTH
Chris
Hi,
if you have a macro already set up than simply have database window active on the macro's tab and form in design view active in the background. Just click and drag the macro over the form and as the cursor moves to form it will change into the button.
Place the macro/button where you want...
Hi All,
anyone knows why the ODBC directory string
"@'server name':'path' is not working when macro is attempted.
The manual import/link works fine through the ODBC driver, but macro throws the message:'Could not find installable ISAM' (Error 3170)and help says that there is a missing .dll file...
Hi,
is your additional table based on the query? I would presume that logging of the evidence is recorded on the date base in which case it could be done by setting up the query that filters out all of the movements for the evidence ID. then set up the subform that is based on that query. On the...
Hi everybody,
ni have got the form with the selected text boxes displaying info from a table. One of those text boxes is a record id. Also, I have a button that i am trying to make do this: open word document with the name relating to the recird id displayed in the text box, ie if the textbox...