/* */

Wednesday, November 16, 2011

Re: [belajar-access] Re: menyisipakan image diform [1 Attachment]

 
[Attachment(s) from Sutrisno Ae included below]

mas edy tolong dibantu untuk penyimpananya,file terlampir.
maksud saya setiap habis memasukkan image, ketika button simpan di clik maka file image tersimpan di folder image.
mohon pencerahannya.
Terima kasih & matur suwon
Salam,

From: Edy <murid.belajaraccess@yahoo.co.id>
To: belajar-access@yahoogroups.com
Sent: Monday, November 14, 2011 5:37 PM
Subjec t: [belajar-access] Re: menyisipakan image diform

 
Sorry ada kekurangan di situ.

tambahkan satu kontrol image. misalnya namanya img_Picture.

script tadi mestinya sbb:
if not me.newrecord then
img_Picture.picture =currentproject.path & "\Image\" & SN.value & ".jpg"

end if

--- In belajar-access@yahoogroups.com, "Edy" <murid.belajaraccess@...> wrote:
>
>
> Untuk menyisipkan image di form, pastikan penamaan dari image tersebut sesuai dengan primary key dari record yang ada di form tsb.
>
> contohnya sbb.
>
> Aplikasi diletakkan di D:\Aplikasi
> Image diletakkan di D:\Aplikasi\Image
>
> Nama Form adalah frm_Pegawai
>
> di form tsb primary keynya misalnya sbb:
>
> SN Nama
> 001 Trisno
> 002 Soetrisno
> 003 Tirta
>
> Maka di folder D:\Aplikasi\Image ada file sbb:
>
> 001.jpg
> 002.jpg
> 003.jpg
>
> ekstensi file tsb terserah. jpg adalah contohnya.
>
> lalu di form pegawai tsb, pada event on Current dituliskan sbb:
>
> if not me.newrecord then
> me.picture=currentproject.path & "\Image\" & SN.value & ".jpg"
>
> end if
>
>
> script di atas belum saya coba di aplikasi. jadi kalau ada error just let me know ya?
>
> salam hangat dan jabat erat,
>
> Edy Wiyono
>
> --- In belajar-access@yahoogroups.com, "Soetrisno" <trisno_ae@> wrote:
> >
> > Dear master access
> >
> > mohon pencerahan bagaimana menyisipakan Image di form, dan menentukan folder penyimpanan data imagenya.
> >
> > Terima kasih
> > salam,
> >
>



__._,_.___

Attachment(s) from Sutrisno Ae

1 of 1 File(s)

Recent Activity:
SPAM IS PROHIBITED
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

No comments:

Post a Comment