StarTeam: How to detach labels from a deleted folder? - starteam

I had deleted a folder/files, but forgot to detach a label before deleting the folder/files.
I delete a folder named "data", so that I can create a new folder with the same name "data".
How do I detach the label from the old folder "data"?
I tried:
Go to VIEW > SELECT CONFIGURATION.. to go to time where the label
was. Now i can see both the old "data" and new "data" exist in the
view.
Next I select old folder "data" and right-click on it select
"Labels" > "Detach"
I select the label i wanted to detach, and click "Ok". But I got an
error msg:
"Labels can only be modified from a view configuration that is current or rolled back to the label being modified."
Please kindly help me. Really need this.
Thank you in advance.

Roll the label forward to a time after the label was created but before the files were deleted, rather than rolling the view to the label itself.
Instead of going to Labels > Detach, select the items you wish to "unlabel" and then select the Labels tab in the bottom pane. Then, right-click on the label you wish to remove and click on Detach.

Related

How can I delete a view from a Papyrus model?

In Papyrus, when I create a new model, I can go to the "Welcome" tab, to the bottom-right corner, and click "Create View" to create a new view (e.g. Use Case, Sequence Diagram, etc.).
But, I did not find any way to remove a view that I created. How can I remove a view?
You can't remove it from the welcom page, you should go in the "Model Explorer" view and simply press Suppr.

MS Access trying to link a record with a page tab

I've been searching for a few days and doing every word combination I can think of to try to find the answer to my issue. I'm hoping someone can help me.
Before I begin I'd also like to say I'm very new to Access and admittedly not great with it. I'm still learning so this could be a very easy fix or I may have messed up beyond belief.
The issue I'm having is I've setup several page tab on a form and entered all the information for my records. However I cannot get the page tabs to pull up the corresponding records. Instead I have to either search through the records which doesn't always work or I have to arrow to the right record after selecting the tab I want. I'd like it so that when I click the tab it brings up the proper record automatically. If someone can point out where I'm going wrong and how to fix it I would greatly appreciate it. See below for some pics of what I mean.
As you can see in the first image. The tab name "Auto PLUS" doesn't bring up the proper record. instead I have to manually change the record using the arrows at the bottom of the form (see the arrow at the bottom of the image) in order to change the record. I need the record and the tab to match. Any help would be so greatly appreciated.
Thanks in advance for any help!!
-Deke
Assuming your form is bound (if in design mode your fields do NOT say "Unbound" then your form is bound), you simply need to add some VBA code to each tab's OnClick event.
Enter design mode and select the first tab "Claims Other". Open the properties pane, click the event tab, and click the ellipsis at the end of the OnClick line. When prompted, select "Code Builder" and it should launch the Visual Basic Editor.
It will put your cursor automatically in the correct position. Copy/Paste:
DoCmd.GoToRecord acDataForm, Form1, acGoTo, 1
The 1 should correspond to "Claims Other's" proper record in your table. Use the row number, not the ID number to determine what it should be.
Go back to Form View and click on the "Claims Other's" tab. The data should show the corresponding record in your table.
Repeat the steps of adding events to each tab, finding the relevant record in your table, and replacing the 1 from the above code.

Add record with ID, selecting NAME from another table

Can anyone, please, help me with Libreoffice Base form creation?
I have the following tables:
And I'm trying to add a form to enter new RESOURCES record with the following fields: [RESOURCE_NAME], [CURRENCY_NAME] and [AMOUNT]. But after 10+ tries I have not succeeded. I have tried adding it via wizard, selecting RESOURCES as main form and CURRENCIES as subform and vice versa. I have tried VIEWS and forms based on them. These tries only gave to me or no possibility to enter new record, either creation of the new CURRENCY.
I don't need to create new currency via this form, I only want to enter new Resource (only enter once, not to modify, not to delete). Since I don't want to remember all the ID's I want to select currency name via DropDown list.
Can anyone provide instructions about how to do it, please?
Thanks.
You do not need a subform for this - just create your form document with RESOURCES as the main form (only form).
You will need a listbox to enter the currency item. A listbox has two fields, a display field and a field that is saved in the table. You will set it up to display CURRENCY_NAME and store CURRENCY_ID.
When you create a listbox, the wizard that pops up may get you what you want. If the wizard falls short:
Make sure the form document is open in design mode: on the "Form Controls" toolbar, the leftmost/topmost icon of a pencil with a triangle should be depressed. If this icon is grayed out, close your document, right-click on its name and choose "Edit".
Right-click on the listbox and choose "Control"; this will open the properties window
On the tab "Data" change the "Type of list contents" to "Sql"
In the field "List content" enter SELECT "CURRENCY_NAME", "CURRENCY_ID" FROM "CURRENCIES" ORDER BY "CURRENCY_NAME"
The Bound Field should default to 1. If it isn't 1, change it to 1.
Close the properties window and save your form. It should work as you want now.
If you want a listbox inside a tablegrid: after you create the table, with the form in edit mode, right-click on the column name you want to change and choose "Replace with" and then "listbox".
Edited to include comment by OP about bound field needing to be 1

Is there a way to ONLY add tables to an edmx file?

I wanted to ask if there is a way to ONLY add new tables to the edmx file without updating (refreshing) or deleting the existing table?
Sure, If you right click on your EDMX model diagram. You can select update model from database. A dialogue box will pup up. The dialogue box has tabs up at the top one of them is add. From there expand the table menu and select the tables you want to add.
Update 11/08/2014
In this example Deleted table no longer exists in the Database. Open up your EDMX file. Right click in the white space around your tables and select Update Model from Database.
A dialogue box will pop up. Under the add tab expand tables and select only the tables you want to add. and click finish.
And you're done. Both tables still exist in your EDMX file.

Date time stamp Outlook calendar entry automatically?

I use Outlook 2007 calendar to schedule appointments. Is there a way to automatically date time stamp each appointment card as it is created? I want to know what time I created an appointment without having to manually enter it time.
This took forever for me to figure out. While Zoredache has an answer that will work, here's another way. For Outlook 2007:
Open Outlook
Click on "Calendar" in the left side menu
At the top of the screen, Click on "View"
Move pointer to "Current View"
Click on either "All Appointments" or "Active Appointments"
a. Your appointments should now change from Calendar View and be displayed in as a list.
b. Your items will be sorted by either "Subject, Location, Start, End," etc.
Right click on the bar that displays "Subject, Location, Start, End," etc.
Click on "Customize Current View..."
A new window will open. Click on "Fields"
Under "Available fields:" click on "Created"
Then click "Add->"
Then click "Ok"
Clik "OK" again.
And you're finished! Now sort the items as you want, find the item in question, and you'll find the date created under the Created field.
GOOD LUCK!
The already is a property on an Outlook Appointment item named Created that will have the timestamp from when the item is created. I don't have Outlook 2007 in front of me so I cannot tell you how to easily view that property.
In Outlook 2003 if you are looking at the folder view of a calendar and you choose the 'Events' view you can right click on the column headings, select the Field Chooser and then Add the Created column.
You should be able to create a custom Form using the form-designer and add the Created field somewhere on a Form based on the Appointment Item form.
Open the appointment
Click the round button (file) top left corner
Click Properties
Last modified will give you the date and time of entry

Resources