-=-
.
.....
  
 
RSS
Direkomendasikan menggunakan brower Opera/Chrome/Firefox. Resolusi minimal 1024x768 | Powered by ____ |
 
  
 
Nikmati Delphi-ID dalam berbagai versi tampilan :
Basic View (LOW Bandwidth)
Default View (Full)
Mobile Edition
Main Menu
..:: onWebTools ::..
..:: onLastPosts ::..
goto Postjumlah komponen maksimal dalam sebuah project(6)
 by d4mnf1y32
 on 21.May at 12:16
goto Posttanya grayscale to biner dengan scanline(1)
 by luckynvic
 on 20.May at 20:44
goto Posttanya looping biner to matriks(1)
 by luckynvic
 on 20.May at 20:10
goto Postsql error:acces denied for user....(2)
 by nasbms
 on 19.May at 16:54
goto Postpemanggilan frame(4)
 by nasbms
 on 19.May at 16:14
goto Posttanya AvLock(0)
 by azuriza
 on 19.May at 11:24
goto PostGet TDBEdit Value Menggunakan LookUp Grid(10)
 by henry_sys
 on 18.May at 11:27
goto Postmenghitung record dalam perulangan(4)
 by idhiel
 on 16.May at 13:53
goto Posttanya ascii(4)
 by mas_kofa
 on 16.May at 12:11
goto PostRawPrint Untuk Delphi XE2(0)
 by adewijaya
 on 15.May at 22:34
goto Postdatabase error..(4)
 by idhiel
 on 15.May at 15:57
goto Postbekasi, pt arila putra mahkota(3)
 by mas_kofa
 on 15.May at 15:37
goto Postbagaimana cara membaca file *.doc dg delphi?(0)
 by ficky
 on 15.May at 06:14
goto Posttanya biner to matriks(13)
 by diandewi
 on 14.May at 20:30

..:: onLast Articles ::..
..:: New Download ::..
Pascal-id.Org
Feeds -  Popular -  Latest
RE: The Longue
8 months, 3 weeks ago
RE: belajar pascal
8 months, 3 weeks ago
RE: The Longue
8 months, 3 weeks ago
RE: belajar pascal
8 months, 3 weeks ago
RE: Perkenalan dan Absen
8 months, 3 weeks ago
RE: Alhamdulillah Buka Puasa Bersama
8 months, 4 weeks ago
RE: تَقَبَّلَ اللهُ مِنَّا وَمِنْكَ - Selamat Hari Raya Idul Fitri
8 months, 4 weeks ago
Lintas Situs
«
free web site stats and visitor tracking

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
heraOffline
Location:
Post subject: Akses field  PostPosted: 24/Aug/2008 17:19
onBeginner


Joined: 14-Aug-2008
Posts: 6

Status: Offline
Saya punya 2 tabel. Cara ambil isi field dari tabel1 untuk dimasukkan tabel2 gimana.Thanks..
 
 View user's profile Send private message  
Reply with quote Back to top
ichan29Offline
Location:
Post subject: Re: Akses field  PostPosted: 25/Aug/2008 09:31
onProfessional


Joined: 23-Feb-2007
Posts: 603

Status: Offline
      hera wrote:
Saya punya 2 tabel. Cara ambil isi field dari tabel1 untuk dimasukkan tabel2 gimana.Thanks..

banyak cara utk itu, bisa dg cara
      Code:
1.Select Table1- Insert Table2
2.BatchExecute
3.SQLDump etc

jd tergantung expore dikau maunya spt apa..
 
 View user's profile Send private message  
Reply with quote Back to top
am4tiranDelphian
Location: nGaLam
9 Post subject: RE: Re: Akses field  PostPosted: 25/Aug/2008 09:56
onConfident


Joined: 09-Feb-2008
Posts: 30

memang cara utk masalh itu tergantung kebutuhan kalo butuhnya cuman buat laporan z mendingan di query z ga usah disimpan [select tabel1.namafield, tabel2.namafield from tabel1, tabel2 where kondisi]
atau kalo data dari tabel1 disimpan permanent ketabel2 bisa gunakan perintah insert z, btw hera pake database apa?

_________________
drEam Maker cOmmunity "buT dOn't ForgEt to mAkE It rEaL" ^_^
 
 View user's profile Send private message  
Reply with quote Back to top
heraOffline
Location:
Post subject: RE: Re: Akses field  PostPosted: 25/Aug/2008 14:37
onBeginner


Joined: 14-Aug-2008
Posts: 6

Status: Offline
pke database paradox. Tp ga pake alias. So masih bingung jg. Lha koneksinya gmn ya? Thanks bapak2 sekalian..
 
 View user's profile Send private message  
Reply with quote Back to top
DelphiExpert
Location:
Post subject: RE: Re: Akses field  PostPosted: 25/Aug/2008 16:00
onMage


Joined: 06-Feb-2006
Posts: 2401

ngga' pake alias = databasename = full_path

_________________
Dude, if you don't understand the basics and just want to get someone else write the code for you, it means you really shouldn't study computer science. Find a different field.
http://delphiexpert.wordpress.com
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
mas_kofa
Location: New York Arto
Post subject: RE: Re: Akses field  PostPosted: 25/Aug/2008 16:37
onElite


Joined: 18-Mar-2006
Posts: 1753
Location: New York Arto
ato langsung aja sebut namafile *.db nya baik relatif maupun absolut [gak pake databasename]

tablename := 'db_ku.db';

ato

tablename := 'c:\db_ku\db_ku.db';

_________________
Pay Per Day | Pesbuk
Me isn't mine
Aku Ini adalah satu

Cerdik seperti ular, Tulus seperti merpati
 
 View user's profile Send private message  
Reply with quote Back to top
_aa_Offline
Location:
Post subject: RE: Re: Akses field  PostPosted: 26/Aug/2008 01:52
onKnowledgeable


Joined: 16-Dec-2005
Posts: 129

Status: Offline
kalo maksudnya duplikasi db, gampangan begini;
masuk ke C:\ prompt (run.. cmd),
lalu ketik: copy source.db destination.db [ENTER]
Smile
 
 View user's profile Send private message  
Reply with quote Back to top
nizarOffline
Location:
Post subject: RE: Re: Akses field  PostPosted: 27/Aug/2008 17:44
onConfident


Joined: 12-Dec-2005
Posts: 31

Status: Offline
sebenarnya pertanyaanya apa ya? bisa enggak gini

pertama pilih dari tabel satu :
Select field1,field2,field3 from tabel1 where field1='x'

terus dimasukkan ke tabel dua untuk field4,field5,field6

total jadinya :
Insert into tabel1(field4,field5,field6)
select field1,field2,field3 from tabel2 where field1='x'
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic





Powered by PNphpBB2 © 2003-2009 The Zafenio Team
Credits


| Register | Lost Password ? |