Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 3rd, 2006, 10:59 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

I am heading out for the day so won't be able to reply for a couple hours.

mmcdonal
 
Old July 4th, 2006, 01:32 AM
Authorized User
 
Join Date: Apr 2005
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Expert,

As shown in the Excel that the column A contains english text and localized text row by row.

The same I have to do with Access Table Name "Lemmas" which contains only one field as "Lemma" and the data in this field should like the excel data in one column A.

I don't have to put data in two feilds.

Here "Source Text" means a english strings and "Text" Means Localized Strings but not as a feild Name as you mentioned.

--
Shailesh


 
Old July 5th, 2006, 06:13 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Then it would be:

Rs1.AddNew
Rs1("Lemma") = trn.String(x).SourceTextRs!.Update
Rs1.Update
Rs1.AddNew
Rs1("Lemma") = trn.String(x).TextRs1.Update
Rs1.Update

Within the loop.

Did that work?


mmcdonal
 
Old July 5th, 2006, 08:26 AM
Authorized User
 
Join Date: Apr 2005
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Expert,

Great! it's as per the requirements!

Thanks,
Shailesh






Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding row to dataset in C# MAKO C# 2 March 11th, 2010 08:10 AM
Adding a row without using Update command wpyoung2600 ADO.NET 1 August 22nd, 2004 08:26 AM
Adding a button to each row of a datagrid badgolfer ASP.NET 1.0 and 1.1 Basics 1 March 1st, 2004 10:05 AM
Dynamically adding a row to a DataGrid vwindrow ASP.NET 1.x and 2.0 Application Design 2 August 20th, 2003 03:10 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.