Thank you both for your responses - I tried both ways and it worked.
I have another question,
how would I get a total based on a control, for example how many children attending event based on a checkbox called children that are all checked off as yes. (this is in addition to the total...
1. How would I put in the footer of the report the total number of records in this report?
2. I have a text box on my form that the user enters how many family members are attending a specific event.
How would I put on my report - a total of everyone attending this event (a running total of...
I have a combo box where I added to the "Value List" a few names of cities. How do I make it possible that when the user enters a name of a city that doesn't exist in the drop down value list of the combo box,it gets added to the list so when future users use this combo box this city...
I have the following problem:
On my subforms I assign the first name + last name (from the master form) to a text box in the form_current event of the subform. It works for the current record, however for a new record I get "runtime error 94' - invalid use of null"
The database that...
I set the Startup Option to start up with one of my forms. However, when I run the program the form (and any form that is opened up in the program) does not fill up the whole screen. I tried going into the properties of the form to see if there is an option to do this - I didn't see any.
I...
I created a master table with ID(autonumber)as a primary key. Then I made a few tables with ID as their primary key, and it's a foreign key to the master table. In the relationship window I connected the relationship (it's a one to one relationship)
I then created a masterform for the master...
I know that one can sort Ascending or Descending however when sorting dates (by selecting Ascending or Descending) in the standard format dd/mm/yy - it gets sorted by year automatically. How can I sort it by month, and within month by day and in order of year.
Thank you!
...following and it's not working, can anyone help?
Private Sub cmdSave_Click()
Dim rst As New ADODB.Recordset
rst.Open "INSERT INTO * PersonInfo", cnn
rst.AddNew
rst.Fields("IDNumber").Value = txtID.Text...
How do I do the following;
I have a form where a user selects from a combo box an Item name. However the item name is not from the table that's connected to the form. Instead it's ID# ( as a Foreign key) is connected to the form. But I want the program to read in the Item Name into the combo...
Please Help!
I'm not sure how to find the records for a specific name selected from a combo box?
When I added the names to the combo box I added their primary key as an Index - so when I find it I should search for it by the index that is unique.
Does anyone know some code for how to do this...
Use the maskEdit control
For a phone# for example
Private Sub maskCaller_GotFocus()
maskCaller.Mask = "(###) ###-####"
End Sub
This will force the user to enter it in the format of
(123)456 - 7890
If you will be reading in from a database you will notice that the mask...
I have a maskEdBox for phone numbers. When I read in information form the database it reads in correctly and appears as (123)456 - 7890 , like it should. However when I would tab around from box to box on the form the phone number would disappear and in its place would be
(___) ___-____. To...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.