Completely locked up my Access database? - ms-access

I think I may have completely messed up my application here! I was foolishly playing around with some settings in the File > Options menu for Access and turned a couple of things off. It said I needed to close and re-open, so I did, and now I can't do or edit anything. How do I revert back?
Right clicking the window doesn't help, I tried using Alt+F11 to switch to VBA but that doesn't help. I disabled the close button on the form already, so can't click the X.
I have spent hours working on this, and feel like I may have to start again.
Any ideas how I can get back into my file?

When you double click on the file; hold down SHIFT key.
When you open a database while holding down the SHIFT key, many of the options that you set on the Current Database page of the Access Options dialog box are bypassed.
Once you have bypassed these settings you can access your ribbons and options to reset your settings.

Related

storage inspector firefox local storage edit JSON error

I am working with an online game that allows editing of its code for testers and / or customers who want to mess around on a private level. The game is called Choice of Game: Rebels Uprising. It is a text based game where you build a character and the story/character change based on your decisions. I am trying to test different things and I am having trouble editing the stats which would allow me to easily control testing different options of play. I got this method from their approved forums and have used it on multiple games. However this one has been very tricky and refuses to work.
Once I open Storage Inspector, I normally can go right to local storage and select the data to change, and then refresh the page to enter the changes.
For this game, I have to go to session storage, select the only option there, then go back to local storage which then reveals the data I wish to change. Otherwise it is invisible. The following pops up and what I would like to change:
{"version":"12169","stats":{"fname":"Balin","lname":"de Brackii","orig_lname":"de Brackii","epithet":"","liebreaker":false,"openhanded":false,"eclect":false,"slur":"","shameveined":false,"filthborn":false,"childkiller":false,"alias":"","crest":"Great Elder Tree","wisard":"Theurge","wisardry":"Theurgy","wisardric":"Theurgic","aristo":true,"helot":false,"female":false,"male":true,"femalepref":true,"malepref":false,"acepref":false,"aropref":false,"kuria":"Captain","milady":"Captain","he":"he","him":"him","his":"his","hers":"his","woman":"man","girl":"boy","sister":"brother","daughter":"son","ruth":32,"skep":24,"natl":46,"ruthreal":32,"skepreal":24,"natlreal":54,"cha":"1","com":"0","int":"2","wealth":35,"loot":"0","followers":336,"kids":178,"nonkids":158,"dead":"0","kidsdead":"0","sa_foll":"12","sc_foll":"21","needfood":88,"foodstore":10,"mules":"4","sickmules":0,"freemules":4,"arms":10,"blood":4,"usedblood":"0","theurgy":"1","theu_spread":"0","theuknown":"0","religion":"0","literate":"10"
I tested by simply editing mules and freemules from 4 to 34. I then tried exiting tab and reopening and it, as well as just refreshing the page and both times I get this error:
JSON.parse: end of data after property value in object at line 1 column 1003 of the JSON data
I have even tried editing the temp one as well before closing/refreshing and this did the same thing.
Ideally, I would like to be able to change the wealth, the mules, the arms, and data like that. Please advise on how to correct/avoid this error. Thank you!
https://www.choiceofgames.com/rebels/#utm_medium=web&utm_source=ourgames

the form refers to a form that does not exist

So I don't know if I haven't saved my form in a proper way, I opened my access today, it gives me a warning of "error accessing file. Network connection may have been lost." I didn't really understand what that meant but I went ahead to work on one of the files I was working on. But then I realized that when I click on "build event" it can't bring up the form code, the code I had yesterday was in "Form_Form1" and I tried to open that, it won't let me. Is there anyway I can rename one of them and try to relink them together. I tried to rename the Forms, it won't let me rename it back to Form 1
Thanks all. And Merry Christmas

Access Application.Quit not working, SharePoint Web Database

In my database (Access 2013, .accdw), I am checking the user's current version in the Form_Open event. If it is not up to date it triggers an external command to download a fresh copy and then is supposed to close itself to allow for the update. The problem is that after Application.Quit is triggered, access closes but instantly reopens, blocking the download. I've stripped out all the code I can to isolate the problem.
If 1 = 1 Then
Application.Quit
End If
Simplified pretty far, right? It should always just close as soon as the form is opened. With this as the only code in my Form_Open event which is the only code in the form, it still closes, reopens, and then closes again. Docmd.Quit has the same effect. I've tried too many variations to enumerate. In a button this code works fine, but I need it to run the check before it loads any data (the linked tables may be being altered while we change versions).
Any ideas how to make it stay closed the first time it closes?
I think it reopens because your external code (.bat file ?) reopens it. It's not an Access problem. Have you checked the numerous tools you can find for Access automated client deployment ? Here are the first 2 I found:
http://www.databasejournal.com/features/msaccess/article.php/3286111/Automatically-Deploy-a-New-Access-Client.htm
http://www.devhut.net/2015/06/30/ms-access-deploying-your-database-front-end-to-your-users/
Your code works for me in a Form_Open(), but then this is Access 2010 and no Sharepoint.
You may have better luck by Creating an AutoExec macro that calls an initialization function that does the version check, instead of having a form open automatically.
If the version check is ok, then open your start form from the function.
The easy work-around is to always fetch the current version and then launch it.
This way there's no fuzz and the user always run the latest version.

Modal Popup causes access to crash

I am working on a modal popup form in access and I have the following problem:
When I incidentally open my form in "form view" instead of "design view" It causes a VB script error (which is normal, because it tries to get information from another form which is not open).
So VB tells me there's an error, I tell the VB debugger to stop the execution of the code, and thus the form does not open, but then access is not re-enabled.
I can't regain any form of control, and it's not an endless loop or something like that, because Access is still running correctly according to my task manager.
So far the only solution I found was to close access through the task manager, but it doesn't seem normal to me.
Here are a few suggestions:
http://www.pcreview.co.uk/forums/control-location-screen-form-opens-t4041436.html
You can also try to modify a bit of your form, move it to a new/good position, and saving it. I have had this happen to me in the past.

Is it possible to open more than one query tab without opening another connection via Alias in Squirrel SQL?

I keep commenting out my queries in the SquirreL SQL client, but I also have been opening new connections using other Aliases, however it all gets a bit crowded in the tab area.
I've also been able to save my queries in files, which works great except for the fact that the entire path to the file (often very long) appears in the tab.
Is it possible to just have another SQL tab opened, or might there be a way to simplify how many SQL query tabs I open?
I hope, the answer will be still useful, although the question is asked some times ago :-)
Is it possible to just have another SQL tab opened, or might there be a way to simplify how many SQL query tabs I open?
You can open a new SQL-Worksheet for the current session.
Try one of the following:
Shortcut CTRL+N
Menu Session >> New SQL-Worksheet
In the toolbar, the icon right of the rollback button.
I've also been able to save my queries in files, which works great except for the fact that the entire path to the file (often very long) appears in the tab.
This changed in 3.4.0. Please see the changes
Instead of displaying the file paths in Session tabs a small button is displayed when an open file exists.
Clicking the button will open a popup menu that gives access to several information and functions concerning the file.