I have a form that has a combo box. The row source of the combo box is a query with 3 fields. I also have a text box located to the right of the combo box. I would like the first item to the left in my combo box to show up in the actual combo box when selected. Then I want the value of the second field to be automatically placed in the text box. I had this working kind of when my text box was a list box and in the combo box code i put
Me.MyListBox.Requery
But this changed all of my records from that point on. Everytime I change the value in the combo box, the list box value changed for every record.
I have a form that has combo boxes and text fields (as well as sub forms). There is also a button linked to some code that says'
Private Sub cmdQuote_Click() 'Creates quote date and prints quote Me.QuoteDate = Now() Me.cbAgentID.Requery DoCmd.OpenReport "Quote", acViewPreview, , "BookingID = " & Me.BookingID End Sub
When the button is pressed the QuoteDate field (it is bound) should be be populated, but unfortunately it is not. I have played with refresh and requery but cannot derive a solution.
I am in the process of development of a database and one of the functionality that I would like to achieve is a custom ID to become automatic on my 'ADD-CUSTOMER' form (e.g. CID0001 - CID0002) so on an so forth. From my research all I can see in access 2010 is a autonumber which cannot be altered (or at least i don't know how).
I am tying to create a setup application in access. The setup forms are incorporated in the database application.It has to split my database into a FE and BE so that the corresponding files can be placed in thier corresponding files folders automatically. Iam doing this because the database has to be exported to a number of remote locations every after two weeks.
Apart from using the Database Splitter, Could there be any Ideas on how i can split and link my database through code.
I am using DMax function for my custom autonumber I just realized that when using this in a multi user environment, I am getting duplications. This field is not the primary key, and I am using this as a group ID and cannot set it to “no duplications” My form also has a sub form, and when entering the sub form, the main record gets saved automatically. First I added the following procedure
Private Sub Form_AfterInsert() If IsNull(Me.OrderNo) Then Me. OrderNo = DMax("OrderNo ", "tblOrder") + 1 End If
Private Sub cmdSave_Click() If IsNull(Me.OrderNo) Then Me. OrderNo = DMax("OrderNo ", "tblOrder") + 1 End If
However, I then realized the after insert function will add the new autonumber to the form. However, it will not saved it to the table until the main record is saved again (which may not happen)
“DoCmd.RunCommand acCmdSaveRecord” doesn’t seems to be working after the “Form_AfterInsert”
Now I moved the code to the “Form_BeforeUpdate” (still testing)
Hi there,I know very little about Access but been asked to find out if this is possible:On a database we have a date field for when subscription is due, is there any way that if a DirectDebit method of payment has been chosen, when the date of renewal is, access will automatically update the year to the next one?Thank you very muchCathy
Our small newspaper needs to create a database of subscribers from which we can print labels in what the post office calls "Walk Sort" order, the order in which the mail carrier hand delivers the mail on his route. The number associated with a particular subscriber is not fixed because if another subscriber is added on that mail carriers route, it may fall between two existing entries. So the Walk Sort field needs to automatically renumber up or down when an entry is added or deleted. I will use that field to sort chronologically and print form feed labels. I've figured out a way to do this in Excel, but I think Access might be a better program to use for this database. My question is, can Access automatically renumber a Walk Sort field if I add or remove entries? If so, how do I set it up to do that? P.S. I haven't used Access for quite some time, and I wasn't very proficient with it then. :o
I have many front end's (using ACCESS 2007 runtime version) in different terminals. Suppose that from 'terminalA', I am assigning a task to an employee who's using 'terminalB'. The user is already looged on to the program by this time, so I want that 'task' to appear on his terminal without him having to press the 'Refresh' button (that I placed on the form) every time I give him a new task when he's logged on so he could see it. How would I do this?
i need to run a specific qry that runs from 5th to 5th of every month to show payments made between the dates. i dont want to fill anything in as these dates are set. can a qry be made to run and retrive the info between 5th of last month & 5th of current month automatically ( by the press of a button ) every month?
I am building an employee performance report database. Part of this report I need to integrate initial and midterm feedback dates. These dates are as such:
The initial is 30 days after supervision started or annual performance report completed The midterm is 120 after supervision started or annual performance report completed
I'd like to give the supervisor a set month for their feedback completions as a guidline. If they are a few days prior or after the "30 day or 120 day mark" it is not a big deal, so I am just wanting it to automatically calculate the month rather than a specific day. After a performance report is completed the intial and midterm feilds should automatically update to calculate the new feedback dates for the next year.
The most updated dates need to be available for supervisors to print on a master report on all their subordinates. No need to store older dates (unless the performance report has not been completed yet)
Pertinent Info:
Form: Perf_Report Table: Rater_tbl Field Name 1: Initial ::: (format = mmmm) Field Name 2: Midterm ::: (format = mmmm) Field Name 3: Date of Supervision ::: (format = dd mmm yyyy) Field Name 4: Report Completion ::: (format = dd mmm yyyy)
I have a column which is made up of two parts from the table as follows...
function area .... FINANCE
ID number ... 001, 002, 003 etc
combined together this will make my ID column which should look somehting likie this : FINANCE 001, MARKETING 002 etc
BUT
the problem is that now i need to import some existing data into the tables and it appears as though the existing data has repeating numbers for different function areas
Please Could any one help out, i have this Database am building for students in a school, The attached WORLD file respresnt a query in the database. The Position in class and Position in level is suppose to grade the student automatically i.e 1st, 2nd, 3rd, 4th, 5th e.t.c. according to the score in a particular subject in their class and in the level.
I dont know how to go about this, am not even sure if this could be done using the query or i should do it using VBA on the report sheet that i generated from the query.
If any one has any idea on how to go about it please let me know it will be highly appreciated.
i build a query that filter names. i want that when the user start to write the name he want to find in the query , he will get a list of names that starting with the same letter he wrote how can i do this thing in access ?
I'm fairly new to Access and databases in general but I have built a great database which I am really pleased with, but I want to be able to have a pop-up reminder which is activated when a date in one of the form fields is reached.
First of all is this technically possible?
If it is could somebody give me an indication of how to go about doing it because I have no idea!
If it is not possible, is there any other way around it?
Thanks in advance for your assistance and the simpler you can keep any advice the better!!
This is going to be a dumb question for all you Access experts, but how do I insert a field that will automatically display the date that the record was created (not updated, but created)?
This is going to be a dumb question for all you Access experts, but how do I insert a field that will automatically display the date that the record was created (not updated, but created)?
Hi I am a newbie on here!!!!! Anyways, now that I got that out of the way.... I need help on my Access Database. Hopefully this isn't a stupid question..... I would like to have one of my cells in my form to automatically count from 1000-9999 when I go to the next form. when it hits 9999, I need it to start over, but not delete any of the previous entries that I have in there. Anyone willing to help me out?
Greatly Appreciated, I am sure I will have more questions!!!
I am trying to create a function whereby when I update a memo field or a field where I put in notes, after I am done, it will automatically put in the current date.
I am putting this form together that involves the user to enter in the current date 2/20/2007 in that format. Is there a script or something i can do in access that will autmatically put the current date in the date field and just update the date as each day changes everyday?
OK, next question. I have a query for my database that asks for all records reviewed on a particular date. I've got it set up so that when I run the query, it will ask me for a date range and then run the query only bringing up the records that meet the date range criteria. I then developed a report from this query and it too asks for a date range when I run the report. My question is this: I hit the button to run my report, the box asks me for a beginning date and then a ending date. I enter the date range and the report runs great. Is there a way that after I put in the date range, that date range will show on my report? Thanks once again for your help.
Example:
NAME OF REPORT 1/12/07 - 1/20/07 (this is the date range I entered)
I have a table/form that has name, a specific date, and an email address. I would like that when the specified date matches the current date, it will automatically send an email to the address specified with a pre-built message. Is this possible? If so, how?
we have a database that i have helped on a little...it is all new to me and i have a question?
a previous database on our network(windows 2000 domain) can tell who you are the moment you log! ie when i open it it displays my log on name? how is this done?