Multiple Item Form Update with an image - image

I am currently creating a multiple items form to show all the data I have, the interface will be similar to the one I have attached
This is in the design view. When I want to update the image for the selected record it updates the image for all records. Any suggestions on how I can update the image for each record individually? Or it is not possible to do it for multiple item form?
any other good suggestions?

For Ms Access 2007 and upwards:
The image control can be bound, you should set the ControlSource property of the image control to the field in the record source that contains the image path for each record.
For earlier versions of Ms Access (only works for single record forms):
You must set the image for each record in the Form_Current event.
Example function to be called (assuming the image control is called imgPhoto):
Public Sub SetPhoto(strPhotoPath As String)
Screen.ActiveForm.imgPhoto.Picture = strPhotoPath
End Sub

Related

How to pass values or reference objects between the sceen powerapps

I am developing an app using PowerApps Web. Tried to integrate excel file which has tables in it. There is table called "employee" which has few details about employee. In first screen i just show employee listing with names in it. But when user clicks on any of the listing item, i would want to show the details about the employee in the next screen.
Note: I am able to connect to the excel file which is in dropbox. Excel file has employee table information. But only the problem is passing reference of selected employee to the next screen in powerapps.
Thanks!
Bhat
On the Navigate call that you use to move from a screen to the next you can pass an optional third parameter (context) that is passed to the next screen.
So for example, if you display your employee names in a gallery in the first screen, and within one of the controls of the gallery you handle the OnSelect action to navigate to the next screen, you can pass the ThisItem value that represents the value that is being used in the gallery:
Navigate(ScreenDetails, ScreenTransition.Fade, { employee: ThisItem })
In the second screen (ScreenDetails), you can access the properties of the selected employee by using the employee context variable. For example, if you have a text box (label) in that screen, you can set its Text property to
employee.FullName
And that will show the name of the employee that you selected in the previous screen.

Can I add a custom/email domain column in Outlook?

Sometimes in Outlook I want to be able to see the last few emails I received or sent to a client.
As there can be several individual email addresses per client, the only way to reliably identify emails as belonging to a client is to look at the domain part of the email address, eg the company in person#company.com
How can I add this as a sortable column in the main views (Inbox, Sent Items, etc)?
Almost found what I want from here (I've improved on the formula).
Add a new column to a view from the Show Columns dialog, click New Column and enter a new formula based column:
IIf(InStr([SearchFromEmail], "#") = 0, "", Mid([SearchFromEmail], InStr([SearchFromEmail], "#") + 1))
Similar question was asked here https://superuser.com/questions/703013/outlook-how-to-display-sender-email-address-in-inbox/703035#703035
Be aware, the ItemAdd event of the Items class is not fired when multiple items are added to the folder at the same time.
You can handle the NewMailEx event of the Application class which is fires when a new message arrives in the Inbox and before client rule processing occurs. You can use the Entry ID returned in the EntryIDCollection array to call the NameSpace.GetItemFromID method and process the item.
In the event handler you can add a user property which can be user in the UI for sorting items (MailItem.UserProperties.Add). The CurrentView property of the Folder class returns a View object representing the current view.
The View object allows you to create customizable views that allow you to better sort, group and ultimately view data of all different types. There are a variety of different view types that provide the flexibility needed to create and maintain your important data.
- The table view type (olTableView) allows you to view data in a simple field-based table.
- The Calendar view type (olCalendarView) allows you to view data in a calendar format.
- The card view type (olCardView) allows you to view data in a series of cards. Each card displays the information contained by the item and can be sorted.
- The icon view type (olIconView) allows you to view data as icons, similar to a Windows folder or explorer.
- The timeline view type (olTimelineView) allows you to view data as it is received in a customizable linear time line.
Views are defined and customized using the View object's XML property. The XML property allows you to create and set a customized XML schema that defines the various features of a view.
Not out of the box. You can process all your existing emails (and automatically process all new items using MAPIFolder.Items.ItemAdd event on the folders that you want to process) to set a user property (MailItem.UserProperties.Add) to the value extracted by your code. If you modify the folder views to include your property, you will be able to see it.

Print all Images in a ms access database

I Have developed a reporting tool using ms access. It is composed of 10 forms which allows the user to input data. I also allow the user to upload images to the database(images are uploaded to image folder and the link is store in the database table). The user could upload as many as 30 image files.
What i want to do is add another form which displays all the images the user has uploaded. Would this be possible in access i know in php you can use the mysql_num_rows function , just wondering is their a similar way to achieve this in access. Can anyone point me in the right direction ?
Basically when a form opens i want to run an Sql statement that retrieves all the images in the tables database and then shows the images on the form.
Using MS Access 2010:
\1. Create a continuous form, there is a wizard that will step you through. You can base the from on a table or query, a query is usually best. Ensure you include the field that holds the path to your image. You do not need to include the field with the path to the image on the form, it just needs to be part of the recordset.
\2. Add an image control
\3. Set the control source for the image control to the name of the field that holds the path to the image.
\4. View the form.
The continuous form can be a subform

How to display list of content items using Telerik Grid component

I'm begginer in the Orchard CMS.
I would like to create Content Type composed from different parts and fields which I know before. I want this content type to be enumerable ie I use content part List, I want to list it using telerik components.
For example my content type is Product and I specify its fields: Price, SKU apart from default: user(who created it) and creation time fields. Moreover the product contains also image gallery, ie image gallery content part.. I want the list of products to be shown using Telerik component Grid, including creation time and user name.
Is it better to create the whole module specifying all its fields(price,SKU) and its templates or is there any way to just take what has been already created in orchard as a content type and display it different way(using telerik)..
thanks for any advice ;)
Tomas
It appears this topic was moved and answered here:
http://orchard.codeplex.com/discussions/371276

plupload, how to allow descriptions for uploaded images

I am trying to use the plupload flash widget as it works in all browsers for multiple image upload.
For every image I want my users to select a property from a dropdown box. As every image used in my site represents a property image type ex- rear image, side image, front image etc.. these options will be in the dropdown.
I would like to know, if I can dynamically inject a dropdown to pluploader.
Here is an image to see as how exactly I would like to have the drop down box for every image.
http://www.diigo.com/item/image/2ma3g/9wsq
Upon inspection of the jQuery queue element it is easy enough to determing how to inject your dropdown box into the DOM.
Because it is based on jQuery you can simply use something like..
$('#uploader_filelist li').each(function(index,data){
$(this, '#plupload_file_name').append('<html>Your html here</html>');
});
That is a very simple sample but that is how you would inject markup dynamically into the queue.
The problem is when you do it? And how to identify it later. With this you need to go back to the plupload API and attach events (Documentation here) to the following:
public event FilesAdded(uploader:Uploader, files:Array)
public event UploadProgress(uploader:Uploader, file:File)
And you will need to handle chunks in the script as well as the uplaod handler you are using to retrieve the dropdown value using multipart_params that get set on each chunk uploaded.
Adding the drop down is easy, making sure the process is handled all the way around is another problem and can take some time to perfect.

Resources