Edit Database From Web Browser
Feb 8, 2006
I would like to edit a MS Database structure from a Web Browser using ASP. What I mean is I would like to be able to add more columns to a database table or delete or rename...Not the data that is already in the columns... Is this possible? If so can some one please point me in the right direction. I've searched these forums and have not been able to find the answer.
View Replies
ADVERTISEMENT
Sep 15, 2011
I am used to old Access 97 where I could edit a report while others are in it. I created an Access 2007 db and it does not let me edit unless I have exclusive rights to the file. Is there a way to turn that functionality on?(editing reports/queries/ while others are in the database. ?
View 6 Replies
View Related
Jul 9, 2007
Hello,
When I attempt to open any of my Access databases I am presented only with the form that has been selected as the 'startup' option. Furthermore, it seems to be impossible to switch to 'design' view and my only options on the toolbar are File, Edit, Insert, Records, Windows, Help. As far as I can tell, none of these enable me to select the options required to give me my entire database back.
I am something of an Access novice, so if the above problem seems familiar to anyone i'd be grateful for the solution! The help option within MS Access hasn't been particularly useful.
Many thanks,
David
View 3 Replies
View Related
Apr 13, 2007
I have recently gotten a handle on ASP and found it to be a very powerful tool.
I am wondering if there is a way to design a page where I can list my database tables, and by using a command, I can use asp to do the following.
1. Add or delete table
2. Add, delete, or update fields within the tables
for instance: rename a field 'PersonName' to 'MyName' without change the original values in the field 'PersonName'
I have searched all over the net and could not find information on this subject.
Thanks in advance.
View 3 Replies
View Related
Mar 18, 2014
Is it possible to edit the recent files of a access database?
We have a main database (version control database) from where you can open a database which is located on a network drive.
By selecting the datbase you need from a dropdown menu, access will check which version you have locally. If there is an updated version available on the network it will download this updated version, overwriting the old one. The 'main' database is then closed and the local version of the database you needed is opened.
The problem is that this local database is mentioned in the recent files history so people are able to bypass using the main database.
In Excel you can clear the recent files with application. Recent Files setting the maximum to 0 and back to original again. In Access you do not have this option.
Where I would be able to find this option. Ideally I'd like to only take out a specific databasename from the recent files, rather then resetting the full list.
View 2 Replies
View Related
Jul 26, 2007
I wrote the following statements to update a SQL server database:
Dim MyDb As Database
Dim MyRs As Recordset
Set MyDb = DBEngine.Workspaces(0).OpenDatabase("AMD", dbDriverPrompt, False, "ODBC;DATABASE=AMD;DSN=Remote")
Set MyRs = MyDb.OpenRecordset("SELECT AllAttendanceEvents.* FROM AllAttendanceEvents ORDER BY AllAttendanceEvents.EntryTime DESC")
MyRs.MoveFirst
While Not MyRs.EOF
MyVal = MyRs!EntryTime
Debug.Print MyVal
MyRs.Edit
MyRs!Ix = 50099
MyRs.Update
MyRs.MoveNext
Wend
When it execute the red line statement, it generates the error:Cannot update. Database or object is read-only.
This error is generated isnpite that I already checked the boxes: SELECT, INSERT, UPDATE, DELETE in the Permissions page of the tables?
Please advise.
View 3 Replies
View Related
Jan 21, 2014
I'm trying to secure my database so users can't edit tables, forms, reports, queries, etc.I'm splitting the database, making an ACCDE for users:
1. I inserted code to disable the bypass key.
2. I inserted code to hide the Quick Access Toolbar (QAT) in the On_Load sub of the form that opens with the DB.
3. Deselect Navigation Pane, Allow Full Menus and Allow Default Shortcut Menus are deselected
4. Then, I use the immediate window to show the QAT, I then create an ACCDE.
How do I link this ACCDE with the original ACCDB? Am I supposed to delete tables from the front end and link the forms/reports to the back end DB?
View 7 Replies
View Related
May 27, 2014
I have a split database made in Access 2007. Each user gets their own copy of the frontend from a script. I wanted to be able to edit the design view of the backend tables even if people were using the database so I made all the forms use snapshot source and only allowed data updates through VBA macro update queries. Having any form open locks the backend source table from being edited. In fact, I've found that just having a normal snapshot query open causes the message "Either an object bound to table 'whatever' is open or another user has the table open. Do you want to open the table as read-only?"
Is there some way to have a table be the source for a form or query, but still have it designable under most circumstances?
Attempted to late-bind a recordset on form load; result was the same:
Code:
Set rs = CurrentDb.OpenRecordset("Select redacted as ft from tblRedacted ", dbOpenSnapshot, dbReadOnly)
Set Me.Recordset = rs
Set rs = Nothing
View 3 Replies
View Related
Aug 23, 2011
I have an Access 2010 database that I have split. In the database I have a couple tables, forms and two reports. I have entered some data into one of the tables, but when I go to edit the data in the form the next time, there is no data (though I have verified that there is data in the table). Also, there are two reports that can pull the data without any problem.
Why the data wouldn't show up in the form.
View 3 Replies
View Related
Oct 25, 2007
Hi Folks -
I'm really close at getting what I need done, I just have a small bug.
I have a form with a web browser control in Access 2003.
One text box on the form is for an address.
One text box on the form is for the street.
A command button on the form navigates to a website where I am trying to input the values of the text boxes into the text boxes on the web page.
The following code:
Me.WebBrowser0.Document.All("EnteredAddrNmbr").focus
Me.WebBrowser0.Document.All("EnteredAddrNmbr").Value = txtaddr
Me.WebBrowser0.Document.All("EnteredStreetName").focus
Me.WebBrowser0.Document.All("EnteredStreetName").Value = txtStreet
Me.WebBrowser0.Document.All("GetPrecinct").focus
Me.WebBrowser0.Document.All("GetPrecinct").Click
This works - but FIRST I get an error 91 on the first line here stating that the Object variable or With block variable is not set. It lets me debug the code as it's running, showing me the highlighted first line in error. I then click the Continue button in the code window and all the rest of the code executes fine.
How do I get past that first error? And why is it letting me continue afterwards without addressing the error?
If I do a On Error Resume Next, it doesn't fill the boxes with data or issue the Click event command.
Thanks for your help in advance!!
Pahbie
View 2 Replies
View Related
Aug 29, 2005
Hi
I need to be able to do the following things with the Microsoft Web Browser:-
1. Back page
2. Find what the current pages
3. perform code on load of a new page
Help
Sean
View 4 Replies
View Related
Apr 4, 2006
From MS Access, I want to export my files to MS excel. However, i want to allow the user to open up windows file browser to select the folder n filename. Any advice on how can i go about coding this?
View 2 Replies
View Related
Apr 10, 2006
i am using file browser to save a file in MS ACCESS forms. However, i want another file browser to allow the user to specify the folder he wants, then from the folder he selects, i will generate a series of codes. Any advice on How can tat be done?
thks
FT :)
View 2 Replies
View Related
Dec 9, 2005
Below is the code I'm using to try and view the microsoft page in my Access Form, but its not working for me.
I searched for the name of the Web Browser by inserting it into Excel and reading the name from the Excel NameBox. Is the another way of confirming the name of the Web Browser?
Private Sub Form_Load()
Me!WebBrowser1.Navigate "http://www.microsoft.com"
End Sub
If I have the correct name of the Web Browser does anyone have any ideas how I can troubleshoot this problem?
Currently, I use two browsers (Avant and IE)
Thxs
View 3 Replies
View Related
Nov 25, 2006
Hi Access World Community,
Im fairly new to vba and was wondering how I can refer to a username field and login field on a website that is within my Microsoft Web browser control.
I have some code below but it is giving me error91 Object vairable or With Block variable not set.
Private Sub Combo2_AfterUpdate()
Me.WebBrowser1.Navigate URL:=Me.Combo2.Text
Me.WebBrowser1.Document.Username.Value = "tester"
End Sub
It navigates to the site fine so it is narrowed down to {Me.WebBrowser1.Document.Username.Value} being the problem.
P.S. The website is https://www.taylorbeandirect.com/default.aspx
View 3 Replies
View Related
Oct 20, 2014
I want to find out how I can write VBA to find out if a default browser is open to a particular webpage. I guess I'm going to have to find the browsers handle but I also don't know where to go from there.
View 7 Replies
View Related
Jan 18, 2014
I am making a point of sale system using access 2010. I want to run the main form through a web browser.
View 1 Replies
View Related
May 28, 2014
I have developed an access database whereby multi users are using via front end application. I have split the database into back end and front end.
Problem is each time i make a change to the front end, I have to go to each pc to update. Apart from this, any other programmer can easily see all my workings and can copy my database.
I want an option whereby when i make any changes to the front end, then the user will get the change upon the next login. I was thinking of using the front end over the local intranet web browser. will have one front end and all users will be connected to that. any changes i make will be on that front end and they will see the change upon next login.
My other problem is that I do not want the front end to be stored at the user's end as any programmer can access my tables, forms, queries, reports, macros even if i disabled the navigation option.
View 3 Replies
View Related
May 26, 2005
I am trying to create a database such that everyone in my company will be able to access it, but without having to install access and put a link to the DB on every computer. Ideally, I would like to have some sort of web applet that uses the DB on a central server and allows users to add and modify entries without having to know anything about Access.
Any help would be appreciated
View 2 Replies
View Related
Apr 2, 2013
I'm trying to use the Access 2010 web browser control to dynamically show a PDF.
The base file path is a constant (R:MS_ACCESS_PROJECTSSAFETYIMAGESMSDS SHEETS)
and the dynamic part is two fields from the selected record:
me.txtMsdsID & "." & me.txtVersion
what is the simplest way to "bind" this so that when a record changes it automatically refreshes this control? I've tried setting it with VBA, but it's not working consistently.
I know the issues isn't the file path, as it works fine if I paste it in windows explorer.
View 1 Replies
View Related
Sep 12, 2014
Just wondering if there is a web browser control or work around for reports?
View 2 Replies
View Related
Jan 27, 2014
If I have an XML file, I can load it into an XML document and parse it.
For an HTML file, I have been unable to find similar parsing methods - that is, using DOM and not involving a browser (other than simply treating the file as text). I'd prefer to avoid the browser control because it is different for a number of different Access versions, so the only option remaining that I see is to run Internet Explorer with visibility off.
Can one parse HTML using the DOM without a browser?
View 8 Replies
View Related
Oct 17, 2011
I created a new form and subform and set an "On Update" event on one of the fields.
Went to Visual Basic and can't find the form or subform in the object browser. What gives? How do I create the code when I can't find the object?
View 1 Replies
View Related
Dec 9, 2004
trying to get; add picture, done. i´m using the northwind example in my database. below is the code behind my form.
Code:Option Compare Database Option Explicit Dim path As String Private Sub cmdExit_Click() DoCmd.Close End Sub Private Sub cmdMenu_Click() DoCmd.Close DoCmd.OpenForm "frmMenu", acNormal, , , acFormReadOnly End Sub Private Sub cmdNieuweFoto_Click() getFileName End Sub Private Sub Form_RecordExit(Cancel As Integer) ' De label errormsg verbergen om te voorkomen dat het scherm ' knippert bij het navigeren naar een andere record. ErrorMsg.Visible = False End Sub Private Sub cmdFotoVerwijderen_Click() Me![ImagePath] = "" hideImageFrame ErrorMsg.Visible = True End Sub Private Sub Form_AfterUpdate() ' Query opnieuw uitvoeren op de keuzelijst met invoervak ' Superieur nadat een record is gewijzigd. Vervolgens de ' label errormsg weergeven als er geen naam voor het ' fotobestand is ingevuld of de foto weergeven als een ' geldige bestandsnaam is ingevuld. On Error Resume Next showErrorMessage showImageFrame If (IsRelative(Me!ImagePath) = True) Then Me![ImageFrame].Picture = path & Me![ImagePath] Else Me![ImageFrame].Picture = Me![ImagePath] End If End Sub Private Sub ImagePath_AfterUpdate() ' De foto van de medewerker weergeven zodra het fotobestand ' is geselecteerd. On Error Resume Next showErrorMessage showImageFrame If (IsRelative(Me!ImagePath) = True) Then Me![ImageFrame].Picture = path & Me![ImagePath] Else Me![ImageFrame].Picture = Me![ImagePath] End If End Sub Sub getFileName() ' Geeft het Office-dialoogvenster Bestand openen weer van ' waaruit een fotobestand voor de huidige medewerkersrecord ' kan worden gekozen. Het geselecteerde bestand wordt in het ' besturingselement voor afbeeldingen weergegeven. Dim fileName As String Dim result As Integer With Application.FileDialog(msoFileDialogFilePicker) .Title = "Foto van medewerker selecteren" .Filters.Add "Alle bestanden", "*.*" .Filters.Add "Gifs", "*.gif" .Filters.Add "Bitmaps", "*.bmp" .FilterIndex = 3 .AllowMultiSelect = False .InitialFileName = CurrentProject.path result = .Show If (result <> 0) Then fileName = Trim(.SelectedItems.Item(1)) Me![ImagePath].Visible = True Me![ImagePath].SetFocus Me![ImagePath].Text = fileName Me![merk].SetFocus Me![ImagePath].Visible = False End If End With End Sub Sub showErrorMessage() ' De label errormsg weergeven als het fotobestand niet ' beschikbaar is. If Not IsNull(Me![foto]) Then ErrorMsg.Visible = False Else ErrorMsg.Visible = True End If End Sub Function IsRelative(fName As String) As Boolean ' Onwaar als resultaat geven als de bestandsnaam een station ' of UNC-pad bevat IsRelative = (InStr(1, fName, ":") = 0) And (InStr(1, fName, "\") = 0) End Function Sub hideImageFrame() ' Het besturingselement voor afbeeldingen verbergen Me![ImageFrame].Visible = False End Sub Sub showImageFrame() ' Het besturingselement voor afbeeldingen weergeven Me![ImageFrame].Visible = True End Sub
the remove picture button works fine, the picture is actualy removed from the database. but the add picture buton wont work, i get an error. i have a idea wy. the northwind DB uses text in its table for the picture ( to define a path). but my database is using OLE object in the table for the pictures. i select add object » use file » and browse for the pic (and fill the checkbox to merge the pic with the DB). northwind uses "getFile" (opens a file browser) to define a path and i think it´s only text based and won´t work with OLE objects.
does annybody know the code to get the OLE Object browser (see atached pic).
to make it short: neet the code to open the OLE Object browser (if there is a code). if somebody thinks the problem is something else, tell me plz.
thanks
View 2 Replies
View Related
Oct 8, 2013
From access I'm calling a code in excel. My code in excel pops up a browser that allows the user to select what files they'd like to import. For various reasons I have to import data through excel, not directly to Access which is why the browser appears in excel instead of access. Essentially the user will select a word file which is imported into access through excel.
I'd like this browser to appear in access instead of excel though. If I move my browser from excel to access is there any way to have my code in excel reference the file selected in access? Or is there some way for this browser to appear without the user having to select the excel icon in the task bar? I essentially want the user to only see and interact with access, but because my browser is in excel this isn't possible right now.
View 2 Replies
View Related
Aug 15, 2014
I have a form that displays a html document in a WebBrowser object. This displays fine on screen but shows up blank when printing the form. Is there any way to get this to appear on the print? I know you can right-click on the object and select "print" to print the contents of the object but ideally I'd like the page to print in the context of the form. Is this possible?
View 2 Replies
View Related