Jumat, 29 Mei 2015

Re: [belajar-access] record number dalam access [1 Attachment]

 
[Attachment(s) from Yokanan Wahyono wahyono17@gmail.com [belajar-access] included below]

terima kasih
sudah ketemu mengutip dari yg pernah di bahas di milis ini
berikut saya lampirkan programnya

On 29/05/2015 21:51, hari yanto har_i20002000@yahoo.com [belajar-access] wrote:
 

Yokanan Wahyono ....,

Ada yang terewat dari data Sampeyan. Tampilan di Excel tersebut sudah di urutkan terlebih dahulu. Artinya, pada masing-masing nilai ada id uniknya.

Kalau sudah ada id uniknya, kita tinggal membuat query:
"select id from namaTabel where kode=" & ko & " order by id asc"
Disini kita bisa mendenisikan nilai urut dengan cara do while. Apabila id-nya sama dengan yang ditunjuk, kita hentikan dengan cara exit do.

Terlampir adalah contoh kongkretnya.

Semoga bisa membantu dan memberi semangat.

Hariyanto (Surabaya)

--------------------------------------------
On Fri, 29/5/15, Yokanan Wahyono wahyono17@gmail.com [belajar-access] <belajar-access@yahoogroups.com> wrote:

Subject: [belajar-access] record number dalam access [1 Attachment]
To: belajar-access@yahoogroups.com
Date: Friday, 29 May, 2015, 9:32 AM


 









[Attachment(s) from Yokanan Wahyono
wahyono17@gmail.com [belajar-access] included below]





Dear semua



bagaimana cara menuangkan rumus excel di bawah ini ke
dalam access

kodenamarecordnumber541meja1541meja2541meja3231kursi1231kursi2401lemari1401lemari2401lemari3401lemari4


record number akan bertambah jika kodenya sama

jika kode di bawahnya beda akan reset ke 1

saya coba pakai quey tapi tidak bisa reset ke 1 jika
kode beda



salam

yokanan















#yiv6946690494 #yiv6946690494 --
#yiv6946690494ygrp-mkp {
border:1px solid #d8d8d8;font-family:Arial;margin:10px
0;padding:0 10px;}

#yiv6946690494 #yiv6946690494ygrp-mkp hr {
border:1px solid #d8d8d8;}

#yiv6946690494 #yiv6946690494ygrp-mkp #yiv6946690494hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
0;}

#yiv6946690494 #yiv6946690494ygrp-mkp #yiv6946690494ads {
margin-bottom:10px;}

#yiv6946690494 #yiv6946690494ygrp-mkp .yiv6946690494ad {
padding:0 0;}

#yiv6946690494 #yiv6946690494ygrp-mkp .yiv6946690494ad p {
margin:0;}

#yiv6946690494 #yiv6946690494ygrp-mkp .yiv6946690494ad a {
color:#0000ff;text-decoration:none;}
#yiv6946690494 #yiv6946690494ygrp-sponsor
#yiv6946690494ygrp-lc {
font-family:Arial;}

#yiv6946690494 #yiv6946690494ygrp-sponsor
#yiv6946690494ygrp-lc #yiv6946690494hd {
margin:10px
0px;font-weight:700;font-size:78%;line-height:122%;}

#yiv6946690494 #yiv6946690494ygrp-sponsor
#yiv6946690494ygrp-lc .yiv6946690494ad {
margin-bottom:10px;padding:0 0;}

#yiv6946690494 #yiv6946690494actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#yiv6946690494 #yiv6946690494activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#yiv6946690494 #yiv6946690494activity span {
font-weight:700;}

#yiv6946690494 #yiv6946690494activity span:first-child {
text-transform:uppercase;}

#yiv6946690494 #yiv6946690494activity span a {
color:#5085b6;text-decoration:none;}

#yiv6946690494 #yiv6946690494activity span span {
color:#ff7900;}

#yiv6946690494 #yiv6946690494activity span
.yiv6946690494underline {
text-decoration:underline;}

#yiv6946690494 .yiv6946690494attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
0;width:400px;}

#yiv6946690494 .yiv6946690494attach div a {
text-decoration:none;}

#yiv6946690494 .yiv6946690494attach img {
border:none;padding-right:5px;}

#yiv6946690494 .yiv6946690494attach label {
display:block;margin-bottom:5px;}

#yiv6946690494 .yiv6946690494attach label a {
text-decoration:none;}

#yiv6946690494 blockquote {
margin:0 0 0 4px;}

#yiv6946690494 .yiv6946690494bold {
font-family:Arial;font-size:13px;font-weight:700;}

#yiv6946690494 .yiv6946690494bold a {
text-decoration:none;}

#yiv6946690494 dd.yiv6946690494last p a {
font-family:Verdana;font-weight:700;}

#yiv6946690494 dd.yiv6946690494last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#yiv6946690494 dd.yiv6946690494last p
span.yiv6946690494yshortcuts {
margin-right:0;}

#yiv6946690494 div.yiv6946690494attach-table div div a {
text-decoration:none;}

#yiv6946690494 div.yiv6946690494attach-table {
width:400px;}

#yiv6946690494 div.yiv6946690494file-title a, #yiv6946690494
div.yiv6946690494file-title a:active, #yiv6946690494
div.yiv6946690494file-title a:hover, #yiv6946690494
div.yiv6946690494file-title a:visited {
text-decoration:none;}


#yiv6946690494 div.yiv6946690494photo-title a,
#yiv6946690494 div.yiv6946690494photo-title a:active,
#yiv6946690494 div.yiv6946690494photo-title a:hover,
#yiv6946690494 div.yiv6946690494photo-title a:visited {
text-decoration:none;}

#yiv6946690494 div#yiv6946690494ygrp-mlmsg
#yiv6946690494ygrp-msg p a span.yiv6946690494yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#yiv6946690494 .yiv6946690494green {
color:#628c2a;}

#yiv6946690494 .yiv6946690494MsoNormal {
margin:0 0 0 0;}

#yiv6946690494 o {
font-size:0;}

#yiv6946690494 #yiv6946690494photos div {
float:left;width:72px;}

#yiv6946690494 #yiv6946690494photos div div {

border:1px solid
#666666;height:62px;overflow:hidden;width:62px;}

#yiv6946690494 #yiv6946690494photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#yiv6946690494 #yiv6946690494reco-category {
font-size:77%;}

#yiv6946690494 #yiv6946690494reco-desc {
font-size:77%;}

#yiv6946690494 .yiv6946690494replbq {
margin:4px;}

#yiv6946690494 #yiv6946690494ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#yiv6946690494 #yiv6946690494ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean,
sans-serif;}

#yiv6946690494 #yiv6946690494ygrp-mlmsg table {
font-size:inherit;font:100%;}

#yiv6946690494 #yiv6946690494ygrp-mlmsg select,
#yiv6946690494 input, #yiv6946690494 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#yiv6946690494 #yiv6946690494ygrp-mlmsg pre, #yiv6946690494
code {
font:115% monospace;}

#yiv6946690494 #yiv6946690494ygrp-mlmsg * {
line-height:1.22em;}

#yiv6946690494 #yiv6946690494ygrp-mlmsg #yiv6946690494logo {
padding-bottom:10px;}


#yiv6946690494 #yiv6946690494ygrp-msg p a {
font-family:Verdana;}

#yiv6946690494 #yiv6946690494ygrp-msg
p#yiv6946690494attach-count span {
color:#1E66AE;font-weight:700;}

#yiv6946690494 #yiv6946690494ygrp-reco
#yiv6946690494reco-head {
color:#ff7900;font-weight:700;}

#yiv6946690494 #yiv6946690494ygrp-reco {
margin-bottom:20px;padding:0px;}

#yiv6946690494 #yiv6946690494ygrp-sponsor #yiv6946690494ov
li a {
font-size:130%;text-decoration:none;}

#yiv6946690494 #yiv6946690494ygrp-sponsor #yiv6946690494ov
li {
font-size:77%;list-style-type:square;padding:6px 0;}

#yiv6946690494 #yiv6946690494ygrp-sponsor #yiv6946690494ov
ul {
margin:0;padding:0 0 0 8px;}

#yiv6946690494 #yiv6946690494ygrp-text {
font-family:Georgia;}

#yiv6946690494 #yiv6946690494ygrp-text p {
margin:0 0 1em 0;}

#yiv6946690494 #yiv6946690494ygrp-text tt {
font-size:120%;}

#yiv6946690494 #yiv6946690494ygrp-vital ul li:last-child {
border-right:none !important;
}
#yiv6946690494


__._,_.___

Attachment(s) from Yokanan Wahyono wahyono17@gmail.com [belajar-access] | View attachments on the web

1 of 1 File(s)


Posted by: Yokanan Wahyono <wahyono17@gmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)
SPAM IS PROHIBITED

.

__,_._,___

Tidak ada komentar:

Posting Komentar