MS Access Verification With Form Help
Feb 12, 2008
Hi I have a form that I would like to check an MS database (.mdb) to verify the user exists in a field before allowing the form to go through. If the field doesn’t exist, is there a way to have the form redirect to a certain page? ..Also I noticed within the database, there are different categories within, does that make a difference with the coding?
Any help is greatly appreciated, thank you!
Form:
<html>
<head>
<script type="text/javascript">
//<![CDATA[
function processForm(f) {
f._recipients.value = f.Email.value;
}
//]]>
</script>
</head>
<form action="formmail.asp" method="post">
<input name="_recipients" type="hidden" value="" />
<input name="_replyToField" type="hidden" value="email@email.com" />
<input name="_requiredFields" type="hidden" value="Name,Email" />
<input name="_fieldOrder" type="hidden" value="info1,info2" />
<input name="_subject" type="hidden" value="Your confirmation Email.." />
<input type="hidden" name="info1" value="Info...">
<input type="hidden" name="info2" value="Info 2...">
<input name="_redirect" type="hidden" value="post-enter.htm" />
<input name="Name" type="text" size="28" />
<input name="Email" type="text" size="28" />
<input class="button" type="submit" value="Submit" onclick="return processForm(this.form)" />
<input class="button" type="reset" value="Clear" /></th>
</body>
</html>
View Replies
ADVERTISEMENT
Feb 4, 2005
any one have experience with address verification in access through the US postal service? any good resources? Examples?
View 3 Replies
View Related
Oct 19, 2005
Is there a way to verify the drive that an FE is opening from and then close if it is not where is should be?
I have a frontend that gets copied to each users C: drive by a .bat file. However, some just don't care about rules and proceedures and continue to open the frontend on the network drive. Since they map their drive to a specific letter drive for the BE that is where they are opening the FE from.
Thanks
Rich
View 2 Replies
View Related
Feb 21, 2006
I have a db with the following fields: ID, Customer first name, customer last name, account number, date, time, score1, score 2.
My problem is this: We are running a promotion in which the customers receive a score. This score must be entered correctly as we are highly regulated, however the users are constantly fat fingering or miss typing the data. I want to force the score 1 and score 2 fields to match before the record can be saved.
Any suggestions on this would be greatly appreciated; I have to go in every night to correct these errors manually, which defeats the purpose of this db.
View 14 Replies
View Related
Mar 5, 2015
I want to set a rule where employees cannot change the "Status" from "Active" to "Closed" if there is no date entered in the "Actual Closure Date" field.
The 2 fields I am trying to create a rule for are called 'Actual Closure Date' and 'Status'.When we raise an incident the 'Status' is set to 'Active' and the 'Actual Closure Date' field is left blank as it hasn't yet been closed.What I want to do is prevent people setting the 'Status' to 'Closed' when they havent entered a date in the 'Actual Closure Date' field.The Form name is called 'Issue Details' and the information is stored in a table called 'Issues'.
View 4 Replies
View Related
Sep 9, 2005
Using Access's User and Group Accounts or Using a Login Form to access database?
I've been researching on how to make a database secure. How to create User and Group Accounts on access, I see the step by step instructions and tried it out myself.
I also saw some sites where they give an example of a Login Form and how to create one.
My question is do you need to create both. First create the users and groups to permit or deny access to certain forms and then have a login form?
But would that mean that they'd have to login twice? Once when the database opens because it activates the db security that was created and then login again in the login form that was created?
Also when the user logins in and clicks on the cmd button on the form which opens up another from, frmWorkLog, I have an Employee field. This field I want it to have the user's name entered automatically and "locked". So that info, employee name, is extracted from the user's login. So then the user can only see his or her records only and no one elses.
How would I go about creating that. Hope I made my explanation clear.
Thanks in advance.
View 3 Replies
View Related
May 3, 2014
I have a simple access search form , that's based on a query that fill parameters from the form textboxes, when the access form loads its keeps prompting for parameters value which looks ugly .. I want to open the form, displaying all the records in the table and filter when i click search ..
I have a data entry entry form, that i want to generate success message after successful insert in database. I have done it in the button event if no error happens, still if i left all fields blank and clicked save, it displays the message ..
I need to change that to display please fill the textboxes then click save , and display success message when the row is actually inserted ..
Check the following attachment for sample.
View 14 Replies
View Related
Aug 7, 2013
I have made a form on access which will be used by other employees within the company, however they have never used access before and they are wanting to access only just the form as I feel with Access and all the tools in the background will confuse them, plus I don't want them editing the data base its self.
Is there a way to only bring up the form, unless I obviously need to edit the date base.
I've done some research on Google and it seems I need to use:
SW_SHOWMINNOACTIVE
However I can not seem to find how I would use this or where?
and also if i did find a way to only bring up the form, how would I be able to switch it from that veiw to the veiw I edit in?
View 2 Replies
View Related
Mar 28, 2007
Hi,
I have a database (.mdb file) which includes a table, forms and VB code. I intend on putting it onto a CD and then opening the form on another computer which may not have Access. Is this possible? Can I convert the file or can I attach some type of reader to the disk?
I have seen some software for download on the internet which allows you to open the tables however the Form is the most important thing in this case (but I take it whatever I use, it will need to be able to view the VB, subforms and tables as well since the Form depends on them?).
...also can I install an auto-run to the file for when the disk is inserted? (this is not a major issue though).
Thanks.
View 5 Replies
View Related
Jun 13, 2006
I am very new at Microsoft Access. I have two forms, A and B, that are filled out by two different users. Form A gets filled out first than form B gets filled out. Each has a name box as well as a birthdate box and a few other similar text fields. However, each form also has a few distinctive fields. I was wondering how I could input the common information in Form A to Form B so the user of Form B does not have to spend time retyping the name and birthdates again. In other words, I want to synchronize the similar records between the two forms. I would like the values to appear in a table as well. I would greatly appreciate it if someone could help me with the visual basic code. Thank You.
View 1 Replies
View Related
Mar 14, 2013
I am using Access 2010 - Version 14.0.61.29.5000 (32-bit)
I am building a custom Export Wizard to export data to Excel using the Report Wizard for the basic ideas.
All I am trying to do is have a [Back] button on a form to open another form and close the current form.
Private Sub cmdBack_Click()
DoCmd.OpenForm "frm_ExportWizardPage2", , , , , , Nz(Me.OpenArgs)
DoCmd.Close acForm, "frm_ExportWizardPage3"
End Sub
The new form is opening but then the current form is not closing. All forms are the same size, shape and positioned centrally although this should not make any difference.
Could this be anything to do with which form has the focus when I open the new form?
View 2 Replies
View Related
Nov 24, 2014
I have a Lost/Found property database which we use to keep record of the lost/found property and it is working fine.
As per our organization's policy, we keep the item(s) for up to three months in which if it gets restored to the owner then fair enough otherwise after three months the item(s) can be claimed by the "Finder". But for this very purpose we issue the Finder with a "Claim Receipt" which he/she should bring in when claiming for the item(s) after three months period. Therefore, It's just the right time to upgrade the database to a more professional level.
The database has one table and two forms.
One form (LostFoundForm) is visible to the user in which they enter data, this form has two sections; Item(s) & Finder's details and the second section is about Restoring details.
However the second form (ClaimReceiptForm) is hidden to the users (for manual data entry) and has only one section which is exactly the same as the first form's first section, i.e., Item(s) & Finder's details. This second form takes the data automatically from the first form because the table behind them is same and fields are same (please see attachment). Up to here it's all working fine.
I would like to introduce a Checkbox or a CommandButton in the LostFoundForm which when we click should pull up a msgbox asking "Do you want to print the receipt for this item(s)?" with a Yes/No option. On clicking "No" it should, obviously, settle down but on clicking "Yes" it should print the "corresponding record" from the ClaimReceiptForm.
View 3 Replies
View Related
Mar 10, 2013
I have a Form called X which contains a subform called Y. I have placed this Form inside another form called Z.
There is a CommandButton which when clicked must refer to the Subform. How do I do this?
I tried using [Z]![X]!Y, Form_Z.Form_X.Y, [Z]![X].Y but it throws an error saying the form name has been misspelled ...
View 4 Replies
View Related
Apr 3, 2014
I have a form that I can view in Design view and layout view just fine.
BUT --
If I just try to open the form in from view, it disappears somewhere even though it says it's open.
If I view it in Layout view first, then Form view, it shows.
I've removed any code behind to try and figure out what's going on but it still happens.
View 1 Replies
View Related
Dec 13, 2013
I have created a MS access form having a combobox,button.There I have coded like : When the user click on button,a report will be generated. I need to show the access form in the excel form.I have searched and got code,which only allows me to open the ms access not the form.
View 8 Replies
View Related
Apr 19, 2006
I am trying to display only my form on startup.
Tools-Startup allows you to eliminate"Database window" default menu and toolbar but I can't eliminate "Microsoft Access" window.
I don't know if there are other settings that I am not aware of or there has to be code built.
Thanks in advance
Sebastian
View 8 Replies
View Related
Jun 9, 2006
I have a form (called DeliverableDescription ) that has the following buttons: close, and save
the main from has a sub form (called DeliverableDescriptionsubform) that is viewed as a datasheet
also I have a table called DeliverableDescription that has three columns (outline number, name, and group number)
the DeliverableDescriptionsubformshows data from DeliverableDescription (only the outline number and name)
this DeliverableDescriptionsubform is used to update the DeliverableDescription table (through copy and paste from another source)
what I need to do is populate the group number column when the DeliverableDescriptionsubform is updated
the group number is just the first part of the outline number (i.e. if the outline number is 20.45.35.1.4.9 then the group number is 20)
I want to create a command in the save button that takes the string value of each item in outline number column and do some simple string manipulation to it then populate the group number
my approach is to have a select query that gives me all the outline number then through a loop iterate through each one, performing the string manipulation and update to the table.
my question is how to access elements in a sub form, since the save button is in the main DeliverableDescription form
also is there a better way to do this?
thanks for any help you might be able to offer.
Code:Dim ws As WorkspaceDim db As DatabaseDim rs As RecordsetDim OutlineNum As StringDim queryResult As StringDim returnResult As StringDim SearchChar As StringDim Pos1 As IntegerDim TotalLen As Integer OutlineNum = "SELECT DeliverableDescription.OutlineNumber " & _ "FROM DeliverableDescription " Set ws = DBEngine.Workspaces(0) Set db = ws.OpenDatabase("N:statusReport_Test.mdb") Set rs = db.OpenRecordset(OutlineNum) Do While Not rs.EOF queryResult = rs.Fields(0) TotalLen = Len(queryResult) SearchChar = "." Pos1 = InStr(queryResult, SearchChar) returnResult = Left(queryResult, Pos1 - 1) DoCmd.RunSQL ("Update DeliverableDescription SET DeliverableDescription.TeamLeadNumber = returnResult " & _ "WHERE DeliverableDescription.OutlineNumber = OutlineNum ;") queryResult = "" SearchChar = "" Pos1 = 0 rs.MoveNext If rs.EOF Then Exit Do End If Loop DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
View 2 Replies
View Related
May 24, 2005
Hi all,
Is it possible to run web pages from within an Access form?
I've heard there's an Active X plugin that will enable me to do this but haven't found it yet?
Has anyone used this?
View 5 Replies
View Related
Jan 24, 2006
Hi,
I was wondering if anyone might be able to help me with this question. I have a form that is used for access authentication. In the form, there is a textbox for password and two buttons i.e. ok and cancel. My question is this. As soon as the user enters a password and hit enter key, i want the form to disappear and let the user access to the database.
What's happening at the moment is that when the user hit the enter key after entering his password, it goes to the OK button but doesn't let you in until you have to hit another enter key again.
I hope i explains it well otherwise let me know.
Thank you in advance and look forward to hearing from you.
View 1 Replies
View Related
Oct 13, 2004
right i have a access form with text boxes and i want to insert this data into a table. how do i do it. please reply.
View 12 Replies
View Related
Jan 7, 2008
I have a drop down list, which on one sub form needs to perform a function to get the data i require. However this drop down is used on several other forms/sub forms in my programe. How do i write an if statement in my sub so it knows to only use the code if the ststement is true?
Below is my code and i tink i need something like this to be added in front of it, but ive tried this and it didnt work!!!
If CurrentProject.AllForms("frm_main").sbf_schedule_allocate.Form.sbf_schedule_engineer .IsLoaded Then
Below code is executed
Else Exit Sub
End If
Code: Sub ampm() If Forms("frm_main").sub_main.Form.sub_property.Form.cmd_ampm.Caption = "PM" Then Forms("frm_main").sub_main.Form.sub_property.Form.cmd_ampm.Caption = "PM" Forms("frm_main").sub_main.Form.sub_property.Form.lbl_period.Capti on = "PM Appointments Available" Forms("frm_main").sub_main.Form.sub_property.Form.LBL_PM.Caption = Forms("frm_main").sub_main.Form.sub_property.Form.txt_totalPM Forms("frm_main").sub_main.Form.sub_property.Form.txt_totalPM.Visi ble = True Forms("frm_main").sub_main.Form.sub_property.Form.txt_totalAM.Visi ble = False Else Forms("frm_main").sub_main.Form.sub_property.Form.cmd_ampm.Caption = "AM" Forms("frm_main").sub_main.Form.sub_property.Form.lbl_period.Capti on = "AM Appointments Available" Forms("frm_main").sub_main.Form.sub_property.Form.lbl_AM.Caption = Forms("frm_main").sub_main.Form.sub_property.Form.txt_totalAM Forms("frm_main").sub_main.Form.sub_property.Form.txt_totalAM.Visi ble = True Forms("frm_main").sub_main.Form.sub_property.Form.txt_totalPM.Visi ble = False End If If Forms("frm_main").sub_main.Form.sub_property.Form.cmd_ampm.Caption = "PM" Then Forms("frm_main").sub_main.Form.sub_property.Form.LBL_PM.Visible = True Forms("frm_main").sub_main.Form.sub_property.Form.lbl_AM.Visible = False Forms("frm_main").sub_main.Form.sub_property.Form.LBL_PM.Caption = Forms("frm_main").sub_main.Form.sub_property.Form.txt_totalPM Else Forms("frm_main").sub_main.Form.sub_property.Form.cmd_ampm.Caption = "AM" Forms("frm_main").sub_main.Form.sub_property.Form.lbl_AM.Visible = True Forms("frm_main").sub_main.Form.sub_property.Form.LBL_PM.Visible = False Forms("frm_main").sub_main.Form.sub_property.Form.lbl_AM.Caption = Forms("frm_main").sub_main.Form.sub_property.Form.txt_totalAM End If End Sub
View 2 Replies
View Related
Oct 19, 2005
Hi
First of all i have found a lot of helpful things while browsing through the forums, so thank you very much everyone and this forced me to register here.
I have got a question to ask:
Can i get some access form styles from a website? I have tried searching but could not find anything, however i have seen in sample databases that there are different form styles then to those originally available in access xp.
Any help is appreciated
Thankyou
View 2 Replies
View Related
Sep 19, 2006
Dear All, i have a very simple database with only one table.
The table has three values [Start], [end] and [Total].
The [start] & [end] fileds are numerical.
I am trying to get it so that i can enter the values onto a form, the two values in [start] and [end] need to be added together to give the [total] value.
I can get it to do it on the form but i don't know how i can get the record in the table to be updated.
Does anyone know if this can be done and if so could you advise me where i'm going wrong.
Any help would be most appreciated.
View 5 Replies
View Related
Jul 28, 2007
I need to create a frontend for my database that enables average users to edit the tables. So far, I got as far as creating a tabbed form for this function, but now I would like to know if it is possible to "externalize" this form, so that the users wouldn't need to start Access to use it.
If so, how can it be done?
View 2 Replies
View Related
Feb 28, 2005
Hi there,
I have being creating some forms with Access 00/02 and I have come across one for me particular strange and somehow annoying item “Colours”.
My question here now is, how would it be possible to use instead of the say ”Back Color: 65280 numbering” a colour scheme similar use in web design i.e. hexadecimal or where at least could I find a list of colour numbering??? as used in Access.
Thanks aktell
View 3 Replies
View Related
Mar 8, 2005
I have posted about this before andhave done some reading, but cant get it working no matter what I do.
I have the following forms:
SuppierOrderCreateNew
SupplierOrderCreateNewSubForm
Obviously "SupplierOrderCreateNewSubForm" is a sub forms on "SupplierOrderCreateNew".
There is a text box on "SuppierOrderCreateNew" called "supplierOrderNumber".
There is a text box on "SuppierOrderCreateNewSubForm" called "productNumber".
I then have a second form: "ProductSuppliers". I want to return a value from "ProductSuppliers" when a button is clicked on. When the button is clicked on, I want to put the value into "productNumber". However, I dont know how to refer to the text box.
I can put the value into "supplierOrderNumber" but not into "productNumber".
Can anyone help?
I have tried:
Forms![SuppierOrderCreateNew]![SupplierOrderCreateNewSubForm].Form![productNumber] = 10
But it doesnt seem to work.
Note: 10 is not the value I want to put into the textbox, its only a random value ive been using to test the statement with.
Thanks.
View 6 Replies
View Related