15347 Rename a Back End Table
Sign Up |  Live StatsLive Stats    Articles 37,294| Comments 176,919| Members 19,397, Newest birinder| Online 385
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Rename a Back End Table

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 100 USD (20%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Sikhs seek to rename Indian town of Boj Boj after Komagata Maru Chaan Pardesi India 0 03-Oct-2010 04:50 AM
Rename a Switchboard Menu Lori Information Technology 1 28-Jul-2006 08:35 AM
In Acess 2003 how do I rename a Yes/No Field? dg2k Information Technology 1 28-Jul-2006 08:06 AM
If you type data in 1 table will it populate to another table? Jwyffels Information Technology 2 02-Nov-2005 11:47 AM
Cousins Shoot Back-To-Back Aces (AP) Sikh News Reporter Interfaith Dialogues 0 11-Jun-2005 00:14 AM


Tags
back, end, rename, table
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:10 AM
N. Cotton's Avatar N. Cotton
Guest
 
Posts: n/a
   
   
Rename a Back End Table

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
I have a Front and back end Database and need to rename a table in the back
and a field within that table. I do this as follows:

Dim dbsUpdate As Database, wrkDefault As Workspace
Dim tdfUpdate As TableDef

Set wrkDefault = DBEngine.Workspaces(0)

Set dbsUpdate = wrkDefault.OpenDatabase(strBackEnd, True, False, "MS
Access;")
dbsUpdate.TableDefs("tbltemptable1").Name = "tblControl"
dbsUpdate.TableDefs("tblControl").Fields("Field1").Name = "PatchVersion"
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/10148-rename-a-back-end-table.html

My question is how do I then rename the table in the front-end without
breaking the link?

Many thanks.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10148


Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:10 AM
Rick Wannall's Avatar Rick Wannall
Guest
 
Posts: n/a
   
   
Re: Rename a Back End Table

When you rename the table in the back end, you've already broken the link.

Your best bet, after renaming the table in the back end, is to delete the
link in the front end and then use transferdatabase to re-link the table,
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10148
using the new table name as the source and any name you like for the link
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10148
name.

Check out "DoCmd.TransferDatabase acLink"


Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:10 AM
N. Cotton's Avatar N. Cotton
Guest
 
Posts: n/a
   
   
Re: Rename a Back End Table

thanks for the reply, I decided in the end it was easier to create a new
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10148
table in both and set the source for the front end to the table in the back
end.

"Rick Wannall" wrote:

> When you rename the table in the back end, you've already broken the link.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10148
>
> Your best bet, after renaming the table in the back end, is to delete the
> link in the front end and then use transferdatabase to re-link the table,
> using the new table name as the source and any name you like for the link
> name.
>
> Check out "DoCmd.TransferDatabase acLink"
>
>
>

Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:11 AM
Rick Wannall's Avatar Rick Wannall
Guest
 
Posts: n/a
   
   
Re: Rename a Back End Table

  Donate Today!  
That's pretty much what TransferDatabase acLink does.


"N. Cotton" wrote in message
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10148
news:4843BF67-F3C0-4A07-A94A-006556CA7C9C@microsoft.com...
> thanks for the reply, I decided in the end it was easier to create a new
> table in both and set the source for the front end to the table in the
> back
> end.
>
> "Rick Wannall" wrote:
>
>> When you rename the table in the back end, you've already broken the
>> link.
>>
>> Your best bet, after renaming the table in the back end, is to delete the
>> link in the front end and then use transferdatabase to re-link the table,
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10148
>> using the new table name as the source and any name you like for the link
>> name.
>>
>> Check out "DoCmd.TransferDatabase acLink"
>>
>>
>>



Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
Of Serpents, Pigs,...
Today 20:44 PM
31 Replies, 766 Views
Map shows world's 'most...
Today 20:30 PM
5 Replies, 71 Views
The Great Imp Debate
Today 15:09 PM
28 Replies, 415 Views
Panjabi
Today 11:53 AM
8 Replies, 181 Views
Do you believe in...
Today 11:43 AM
163 Replies, 3,422 Views
A Sydney [Aust] man who...
By Ishna
Today 11:04 AM
0 Replies, 43 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 10:42 AM
164 Replies, 4,256 Views
BHOOTS (Ghosts) and...
Today 08:20 AM
91 Replies, 13,693 Views
Before He Was Sir...
Today 05:40 AM
6 Replies, 126 Views
Should SPN Keep the...
Today 04:37 AM
15 Replies, 270 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 01:52 AM
298 Replies, 7,357 Views
‘Our girl was murdered...
Today 01:37 AM
8 Replies, 158 Views
Magnacare ? Cure for...
Yesterday 19:45 PM
3 Replies, 797 Views
Punjabi Proverbs - Add...
Yesterday 16:39 PM
10 Replies, 1,221 Views
Polish exports of meat...
By Ishna
Yesterday 09:53 AM
1 Replies, 92 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 20:45 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.54452 seconds with 32 queries
0