How Do I Delete A Form In The Project Window?

Sep 29, 2007

Hi,

I have a form named in the project window that does not exist. It used to exist when I was doing alot of data entry, but now that that is finished, I deleted the form and do not need it.

However, it is showing in the Project list.

How do I delete it?

Thankyou for your time

View Replies


ADVERTISEMENT

Access 2010 - Delete Form Command Button With A Password To Confirm Delete

May 6, 2014

All I am trying to do is insert to have a form with a "Delete Record" button on it. The problem is I don't want anyone to be able to delete a record, I would like someone to have to insert a password to confirm the delete.

View 13 Replies View Related

How Do I Complete This Project? Need A Few Answers To Finish DB Project.

Apr 25, 2005

I have tables and forms setup but I have 3 general questions on how to finish the project.

1. Should I create a folder where all the files reside for instance, create a phone log folder, put the DB file into the folder and export XML's into the same folder?

2. How do I get the form to launch as a self-contained form without the Access application in the background?

3. How can I get this form and table to automatically update an XML spreadsheet whenever records are added?

4. How can I get the form to sort all records according to time logged? The time will be entered in manually and we need all the records to sort automatically by time in ascending order.

View 5 Replies View Related

Help: Pass Argument From Child Window To Parent Window?

Feb 15, 2005

Hi,

I have a parent window which upon clicking on a button will pop-up a child window containing a listbox. The listbox recordsource is a subset of the parent window. I want the user to select a record from the listbox which will load the selected record onto the parent window.

How does one pass argument back from child window to parent window?

From parent window to child window, I used
docmd.openform ,,,,,,[argument] and me.openargs in the child window

thanks in advance.

View 4 Replies View Related

Many-Many Form Multiple People To One Project

Mar 14, 2007

Hello,

I have done some reading in the forums and tutorial site and thanks to the help of many members here I am learning lots thanks!

My question of the day (Hour :) ) is I have a
ProjectTbl
ProjectID *Defined by user*
Project.StartDate
Project.EndDate

PersonTbl
PersonID *Autonumber*
Person.LastName
Person.FirstName

I have built a form which I can add multiple people to one project but when I look in the table only the person who the relationship was linked to gets the subtable.

Then I researched a Many-Many relationship and this solved that issue, now I can put multiple people on a project and multiple projects on people.
PersonProjectTBL
PersonProjectID *Autonumber*
PersonID
ProjectID

However how do I now make a form where I select a project and associate more then one person with this project?
I think I need to somehow increment the PersonProjectTBL and add to it as I go.

The layout I would like to have is:

Combobox 1: Selects the Project (After Select use a (queary ??)) to load in
Combobox 2 and 3 with people.
Combobox 2: Select a person to load into project.
Combobox 3: Select a second person to load into project.

I dont expect a full answer a link or multiple links is very appriciated, even a search topic of what to look for.

Thank you for your time,

Derek L

View 2 Replies View Related

Link MS Project File To Form

Aug 14, 2006

http://www.access-programmers.co.uk/...ad.php?t=97787

I am attempting to add a command button on a form that will allow user to browse files, then select a MS Project file to import, then have it linked to the current record (by a hyperlink or icon of some sort) so that clicking on it will open that MS Project file.

I found the above thread and have imported the modules and the fFindOpenImportFile in order to test in my database. I have made only slight alterations to the code, as I am still a novice w/ VB, but may not have done so correctly. In the Private Sub bImport_Click, I inserted 'tbFile' where sample "C:WindowsWin.ini" had previously been, so that it will import the file already selected from the bBrowse_Click. (If there is a cleaner/better way to do this, I would appreciate any help.)

Here is an exceprt from the code:
Private Sub bImport_Click()
On Error GoTo Err_bImport_Click

Me.tbHidden.SetFocus

If IsNull(tbFile) Or tbFile = "" Then
MsgBox "Please browse and select a valid file to import.", vbCritical, "Invalid File"
Else
If Dir(tbFile) <> "" Then
CurrentDb().Execute "DELETE * FROM tImport"
'FileCopy "C:WINNTWin.ini", "C:WINNTWin.txt"
DoCmd.TransferText acImportDelim, , "tImport", "tbFile", False
MsgBox "Your file has been imported into the Database."
Else
MsgBox "Your computer does not have a C:WindowsWin.ini file so the import example will not work.", vbInformation
End If
End If

Exit_bImport_Click:
Exit Sub

Err_bImport_Click:
MsgBox Err.Number & " - " & Err.Description
Resume Exit_bImport_Click

End Sub

The imported form works great for 'Browse' or 'Open', but when I try 'Import', I get the following error:

2391- Field 'F1' doesn't exist in destination table 'tImport'

I even went back to the sample database and tested the form within the sample, using "win.ini" file and get the same error????:eek:

Of course, when I try it with an actual *.mpp file, I get this error:

31519- You cannot import this file.

...which leads me to believe that even if I fix the first error, I might be on the totally wrong path b/c it's an *.mpp file???:confused:

Any help would be greatly appreciated.

Thanks in advance for any help!

View 5 Replies View Related

Tables :: Auto Fill Part Of Form From Project List Table?

Nov 14, 2012

I have a master list of projects, with project reference number, project name, and nature of project.

I have also got a form for individuals to fill in details of project events, with date, time, name, and two or three other fields - also included are project reference and name. I'd like the name field to be auto filled when the user selects the project reference from a combo box; I think? (the list only shows open projects).

I'd did something similar some years ago in Access 2003 (I think) but cannot figure it out in the version I'm currently using 2010.

View 8 Replies View Related

Height Of Window For Form?

Jun 5, 2006

Hi..

Is there anyone can help me?

how to create a form that automatically can make the form longer when user click a button?

thank you..

View 1 Replies View Related

Move Form To Top Window

May 25, 2005

I have a pop up form that appears (with a beep) when a condition occurs. I would like that form to appear on top of all other window applications.

Access is an active application but the pop up form is hidden if other applications are in use.

Is there a way to have the pop up window appear on top?

Any help would be appreciated.

View 6 Replies View Related

Keeping Form Window On Top

Apr 5, 2006

How do I keep a form window always on top? Thanks..

View 3 Replies View Related

Forms :: Set Where In The Window A New Form Will Appear

Apr 2, 2014

I have a pop-up form that is coded through VBA to open on certain button clicks. I would like this form to always open in the top-left corner of the window. For the life of me, I can't find anyway to specific in access where the form should open when called...

Is there a way to specify this? Or does access simply determine that itself? (arbitrarily it seems...)

View 1 Replies View Related

Problem Updating Main Form Control From Subform In Access 2003 Project (ADP)

Nov 30, 2005

I'm supporting some Access/VBA code which includes the following behavior:

When an update is made in a (linked) child form, the current date/time is written to a textbox on the main form via

Me.Parent!txtMod = Now

Likewise, the BeforeUpdate event of the main form updates the same field (and then does a bunch of form validity checks, possibly followed by a Save).

When we upgraded to Access 2003 from Access 2000, a problem erupted:

When the user returns to the main form (by clicking on any control outside the subform), the following message is issued: "This record has been changed by another user since you started editing it (etc.)..."

At this point the user must choose between "Save Record", "Copy to Clipboard" and "Drop Changes".

Conceptually, I see why this is happening (though I wonder why Access 2000 didn't flag it). The subform is the "other user". When the main form is returned to, it is "Dirty" (unsaved update), so the main form's BeforeUpdate event fires, and attempts to update the field again (Me.txtMod = Now). Since there is a pending change to the field, an error dialog pops up.

As a quick fix, I replaced the code in the subform with a flag ("Hey, I've been updated!"), which the main form checks on the Exit event of the subform control. But that seems a horrible solution. Surely there's a better way?

Notes:

1. It would be preferable to have the timestamp updated right away by the subform, though having it updated when the subform loses focus is better than nothing.

2. Since a subform is a control from the main form's perspective, I'm surprised that a change to that control doesn't render the main form "Dirty". I guess from a database standpoint it makes sense (the form's table isn't getting updated at all; just the subform's). But then, how does the main form know that the subform has been updated?

3. I tried catching the error via Form_Error. I can make the dialog not appear via "Response = acDataErrContinue", but unfortunately it defaults to dropping the changes (old and new), rather than saving the new.

View 14 Replies View Related

Main Access Window/form

Dec 12, 2005

I need to have Access open with a form that does not take up the entire screen and I don't want to see the Access stuff behind it. How can I make just the start up form appear when I open the db?

Thanks for any help...

View 3 Replies View Related

Moving Form To Top Right Of Access Window

Feb 15, 2006

I have a form which I want to move OnLoad to the top-right of the Access window. Something like this:

Private Sub Form_Load()
Me.Move Right:=150, Top:=150
End Sub

But there isn't a Right:=, only Left:=. So maybe I could find out the width of the Access window? Is this possible?


Thanks for any advice.

View 6 Replies View Related

How To Disable Form Window While The Second One Is Being Opened?

May 17, 2006

Hi all, I have a main form which contains buttons to control all other window. I'd like to prevent user to work on two forms at the same time. Can anyone advise me how to disable the main window while the second window is opened?

thanks

View 3 Replies View Related

Form/Window Resize To Specified Dimensions?

Jul 5, 2006

Hey guys,
I know how to maximize a form when it opens, but I was wondering if there isn't a way to actually shrink down the Access app window to specified dimensions when it opens the form? I'm trying to write a dimension-specific app, so there is no distortion what-so-ever. thanks!

View 4 Replies View Related

Autofill A Form Window From A Table?

Sep 25, 2006

Hi all,Sorry if this has been asked before, but I've used the Search function and can't find exactly what I'm trying to achieve.The Current SetupI have a database that I'm now trying to expand upon by adding extra features. One of these features I'd like to add is the ability to, firstly, know how many records in the entire datasheet have not been officially closed (i.e. have their 'rmaclosed' column empty), and, secondly, to have a list autogenerated that shows all of these records and allows the user to double click an item from the list and have that record open.Now, to make life easier, I should point out that I already have a successfully working search function in my database. Clicking a button from the switchboard opens up a form that allows the user to enter full or partial text into a box, then, at the click of another button, the main window of the form will automatically fill out with a list of all those records which match the entered text. The user can then double click anything from this generated list and the appropriate record will be opened.Working on the assumption that the code for what I want to achieve would be near-identical to this search function code, I have replicated both the form and code, and am now trying to adapt it; it is this adaption I'm having trouble with.The Current SituationTake a look at the attached image. That is how my form looks to the user when opened.Now what I really, really want to achieve is for that central window to be automatically filled out with the listed column headings of any record stored in the table maindata that has a Null value in the column rmaclosed when the form is opened. However, I don't see any option for 'OnLoad', so I'm willing to compromise and just have the user click a button.You'll see the button there for 'List RMAs'. When clicked, that should populate the main window with the records that have not had their 'rmaclosed' column filled out. The code behind the button - which is where I'm having the problem - is as follows:Private Sub cmdSearch_Click()Dim strSQL As String, strOrder As String, strWhere As StringDim dbNm As DatabaseDim qryDef As QueryDefSet dbNm = CurrentDb()strSQL = "SELECT maindata.ID, maindata.rmanumber, maindata.company, maindata.rmalogged, maindata.initials " & _"FROM maindata"strWhere = "WHERE"strOrder = "ORDER BY maindata.ID;"'THIS IS THE BIT I'M HAVING TROUBLE WITHIf IsNull(maindata.rmaclosed) ThenstrWhere = strWhere & " (maindata.rmaclosed) Like '*" & maindata.rmaclosed & "*' AND"End IfstrWhere = Mid(strWhere, 1, Len(strWhere) - 5)Me.lstCustInfo.RowSource = strSQL & " " & strWhere & "" & strOrderEnd SubThis code has been adapted from that which - successfully - runs my filtered search engine. The problem is that my search engine runs a query based on text entered onto the search form by the user, whilst the form I'm trying to write should simply list every record in the main table, filtered according to the state of the 'rmaclosed' column.As I said in the opening paragraph, although it's not essential it would be really nice to have a counter somewhere on the form that would show the total numebr of records in the filtered list.

View 10 Replies View Related

Open A Form In A Small Window

Dec 7, 2006

Hello I have a database that opens in maximized form.
I also have another form that opens when a button is clicked.

What I want is for the second form to open small and not maximized like the main form.

Can this be done?

Thanks

View 2 Replies View Related

Open 2nd Form In Minimized Window

Apr 12, 2005

Hi all,

I have a main form which is open in a maximized window (which i want to leave as it is), i have a command button which opens a form, now i want the form to open up as the size of a box i have created in the form, without altering the size of the first form. Also is it possible to move the 2nd form to the bottom left hand corner of my screem.

This is code i have so far does minimize window to what i want it to but also restores first form, which i want t leave maximized:
Code: Me.InsideHeight = Me.Box15.HeightMe.InsideWidth = Me.Box15.WidthDoCmd.Restore
Thanks in advance for any help,
M-.

View 2 Replies View Related

Open Form On Close Of RelationShip Window

Aug 12, 2005

Folks,
i open my relationship window from a form and i after hide its visibility using the code below.
DoCmd.RunCommand acCmdRelationships
Forms![frmRelations].Visible = False
I need to open the hidden form after clicking on the close(x) button of the relationship window.
Are there any ideas please.

View 2 Replies View Related

Open Word Window On Access Form

Sep 6, 2005

Hello,
I am a researcher creating critical editions of ancient texts by collating readings from several manuscripts (i.e. different mss all contain minor differences). I create my edition in Word and use footnotes to record the variant readings. I also have a database - created from the word file - in which I can add context to each variant e.g. decisions, history etc. So I have a word file containing the text and its variants uniquely identified with a footnote reference and a database with one table and a record per variant and where the variant records are also unique and share the same number as the footnote. I would very much like to be able to open a window on my variant form which displays the word file at the correct variant (i.e. footnote reference) location. This will make it easier for me to record my assessments of the variant in the dbase while looking at where the variant occurs in the text. Obviously I don't need to see the footnote window as I have this info in the dbase.
I haven't got a clue how to do this and would appreciate any pointers.
Many thanks in advance,
Tim

View 1 Replies View Related

Database Window Shows After Printing Form

Feb 16, 2005

Hello team,

My database window is hidden.

I have a form with data about an article. When I click a button, another form opens showing a sales graph of that article.

On the form with the graph, I have put another button to print it. The code behind that button is:

Private Sub printpriceevolution_Click()
On Error GoTo Err_printpriceevolution_Click

Dim stDocName As String
Dim MyForm As Form

stDocName = "frm_priceevolution"
Set MyForm = Screen.ActiveForm
DoCmd.SelectObject acForm, stDocName, True
DoCmd.PrintOut
DoCmd.SelectObject acForm, MyForm.Name, False

Exit_printpriceevolution_Click:
Exit Sub

Err_printpriceevolution_Click:
MsgBox Err.Description
Resume Exit_printpriceevolution_Click

End Sub

The funny thing is that after the printing (which works fine) my database window is shown, where it is supposed to be hidden.

Any idea what could trigger this? Does it have to do with pop-up dialog box settings?

Thanks

View 1 Replies View Related

Form Display To Fit Window (monitor Screen)

May 18, 2006

I have a form of data base which is being shared by 3-4 persons. The problem being observed is, in Laptop it shows the complete form on screen but in PC of 14" monitor, we have to adjust the seek bar to view the form up/down.
Can there be any solution to automatically fit the form size to monitor size?

View 2 Replies View Related

Forms :: Opening Image In Form And Pop Up In Window?

Jun 7, 2013

I am working on a form as a user interface. I have added an picture to the form and it will change, according to the selection in the combobox. It looks small, and not clear because of the size, and each image has different sizes. I would like to know if there is a a way that will allow me to click on it, and then it will open in another window so it is bigger with the right sizes. I was thinking that it could be something in the on click event.

View 7 Replies View Related

How To Disable Save / Close Window In Form

Aug 14, 2012

I would like to disable this window : (which appears by right-clicking mouse on form headline)

So the users won't be able to close form by right-clicking. How to do it?

View 2 Replies View Related

Hiding Close Button When Form Window Maximised

May 8, 2006

Hi,
Anyone know in microsoft access 97 is it possible to remove the close button (top right hand corner) when a form is maximised?
Thanks.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved