Senin, 05 September 2011

[belajar-access] Re: Access ke SQL Server ...

 

Silahkan taruh ini di module.
lalu jalankan.
Gunanya untuk menghilangkan tulisan "dbo_" tsb.

Sub RenameDBO()
For Each tbl In CurrentDb.TableDefs
If Left(tbl.Name, 4) = "dbo_" Then
NewName = Trim(Replace(tbl.Name, "dbo_", ""))
DoEvents
DoCmd.Rename NewName, acTable, tbl.Name
End If
Next
End Sub

Semoga bermanfaat.

Edy Wiyono

__._,_.___
Recent Activity:
SPAM IS PROHIBITED
MARKETPLACE
A bad score is 598. A bad idea is not checking yours, at freecreditscore.com.

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

.

__,_._,___

Tidak ada komentar:

Posting Komentar