Hello. I have a field defined as text called InvoiceNo. I want the default value to be 00-0000. However, 00-0000 converts itself to 0-0 when I save the field properties. What am I doing wrong? TIA. :confused:
I am trying to setup a routine that will allow the user to change the RecordSource of a subform. The RecordSource is being changed yet once I move to another record the subform is reverting back to the original subform RecordSource. I am using the below command to change the subforms RecordSource...
Me.MySubformName.Form.RecordSource = MySQL I even to make a copy of the subform and I changed the table it is linked to yet I got the same result
Me.MySubformName.SourceObject = "MyOtherSubForm"
There are no functions in the record selectors that would interfere with the subforms RecordSource.
Any suggestions as to why the RecordSource of my subform will not "stick" when I move to another record?
I have an old mp3 player that works off a USB stick. The player plays in the order of when the tracks are copied to the USB stick.
I am nearly there with an Access app that copies the tracks in the order that I want, but I can't get the Filecopy to work. Code below? F: in the location of my USB stick.
Dim Source, Destination, Song As String Dim lngCount As Long For i = 1 To lngCount Song = DLookup("[Filename]", "tblFiles", "[ID]= " & i & "") Source = "D:Mysongs" & Song & "" Destination = "F:" Filecopy (Source, Destination) Next i
If i simply remove the GROUP BY line and stick the semicolon at the end of the previous line (.EmpID; ) it works just fine. How is adding a group by line causing an error?I tried adding another parenthes at the beginning ((( and ending the joins as EmpID); and that failed with the exact same error.
I have a form with a combo boxes and a table with relevant list and additional field, fldDefaultDrive (Yes/No Field).
Currently in order to set the default value, I have used the following code for each default;
Private Sub Form_Load() Forms!frmMediaLabeller!CboDriveName.DefaultValue = """D"""
End Sub
However, I want users to be able to go into the table and change the default value if thier CD player default Drive is anything but D: Drive. I have tried to replace the D above with an SQL statement but with no success.
Private Sub Form_Load()
Dim Drivename As String
Drivename = SELECT tblMediaDrive.fldDrivename FROM tblMediaDrive WHERE (((tblMediaDrive.fldDefaultDrive)=-1));
I am trying to set up two date fields in a table, and I would like the second date field to default to the value of the first date field for each record - is this possible to do in the table design?
I want to set the default value on a table to 'Previous'. Basically I want to display the value in the field above it, so say if I have a company name "bobs boats", I want the next company name to default to "bobs boats". Can you do this??
Ive got a table set up which is not calculating properly (or least i cant seem to get it to) Basically i have a row for quantity and a row for unit price. What i want to do in my table if possible is times the unit price by the quantity so it will come up in my reports which at the moment it isnt doing, as the default value is 0 in my table! Might anyone be able to help me on this matter?
I have a billing date on my form. Each billing date should be on the 15th of any month (1/15 or 2/15 or 3/15, etc…) Is there a way to default a day to the 15th and then make the user enter month and year? Or if there is no way to default the date to the 15th, may be there is somehow I can check to see if day that user entered = 15th? Thanks.
How can I Default a Text Box value by the input of another two Text Boxes. This Expression on the Text Box Default Value does not work.
=IIf([Text0]=0 Or ([Text8]="<" And [Text0]=1),"White",IIf(([Text0]>=1 And [Text0]<=49),"Blue",IIf(([Text0]>=50 And [Text0]<=499),"Orange",IIf([Text0]>=500,"Yellow","No Input, left blank")))) :confused:
Other Text Boxes follow, I want to see the Default Value as soon as I leave Text0 and Text8.
Hi I have tried to look, but have not find the solution!
I have a form wich I need in certain fields to have a default value, at themoment I have a default value on the properties of the form, but this cannot be changed by the final user. Ho can I display the same value of the last record of the database? Marco
I have a combo box, Table/Query type. It selects a query then propergates the values. Nice, but any ideas how I could select a default selection from the query, ie the top record ?
I have an access 2003 database. Properties are set as whenever open it a default form appears. I want this to be changed to some other form. Please Advice.
Is it possible to make the default values of a table with symbols in it?
I have a database that returns results with pictures and links included. What Im trying to do is make it as quick as possible to enter information, i've got the ASP page returning everything correctly but I still have to copy n paste certain things onto every form entry in the database.
These are all the things I couldn't get into the ASP code on the page. When i enter data I just have to flick back a page, copy, flick forward and paste for every section that has symbols (theres about 7 of em)...... gets a bit annoying after only 5 pages.
I hope thats enough info and not too confusing. Thanks to anyone that can help.
Is there any way I can have a default value in a table set to the value in a field in another table?
I have a table that has event information including the number of the event, e.g., this year is the 51st one. This event information table only has one line because after the event I'm going to save the record to an archive table and then update the information for the next year.
I have another table with participants in the event and records for it come from a form. I'd like to have it so that it automatically inserts the event number for each record. In this way when I archive that information, we'll know which event the participant was involved in. The participant could be involved for a number of years.
I'd rather not have the input person have to type in the event number every time. Doing a combo box also involves an extra step for them. It seems like I ought to be able to automate this info. I don't know anything about VBA.
Would one of you help me? By the way, I've learned an awful lot reading on this forum. I can't tell you how many problems you've solved for me. Thank you.
I have a month field on my table, I have tried to ass "Now()" on the Default Value, but its not seems to be working, what I want is when the form is opened the default value would be the current month.
I have a table in access and one of the fields (date) has a default value of =now().
I have an excel spreadsheet that has all the fields in the access table inlcuding the date column (but the column is not populated).
When I import the spreadsheet into access, I get some errors...violations...when I open up the table, it does not have the date field populated, do you know why?