Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / November 2006

Tip: Looking for answers? Try searching our database.

Populating from one field to another

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Grizz - 17 Nov 2006 07:36 GMT
My problem is that I have two linked (Not to each other) tables with
different field names for the same value (integer).  My INSERT INTO table is
using a different field then the SELCET....FROM table.  I am populating the
the SELECT....FROM table from combo boxes on the form which in turn are
getting the values from different tables. I guess what I am saying is how can
I force the value to be inserted from one table to another using different
field names? Should I be passing this as a stored string value?

Thank You
TonyT - 17 Nov 2006 11:31 GMT
Hi Grizz,

If the data you want inserting is already selected in your combobox just use;

"INSERT INTO myTbl (fldName) VALUES(" & Me.myCombobox & ") WHERE......"

TonyT..

> My problem is that I have two linked (Not to each other) tables with
> different field names for the same value (integer).  My INSERT INTO table is
[quoted text clipped - 5 lines]
>
> Thank You
Grizz - 18 Nov 2006 03:37 GMT
TonyT

I will give this a try thank you, I really didn't fully explain what is
going on but this is the legit of it and I do appreciate your help.  

Grizz

> Hi Grizz,
>
[quoted text clipped - 13 lines]
> >
> > Thank You
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.