A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Append Query Question



 
 
Thread Tools Display Modes
  #1  
Old September 10th, 2004, 08:33 PM
AccessNewbie
external usenet poster
 
Posts: n/a
Default Append Query Question


I'm just starting trying to put together an Access app for the first time
and would appreciate some help.

I've read and updated data in Access database files from VB programs but
never done it within an Access module. Can I still use ADO and read/write
data to the MDB file from within a module of the MDB file, or is there some
object of the application that I can execute sql queries and updates against?

Thanks for any help.
  #2  
Old September 11th, 2004, 04:33 AM
Van T. Dinh
external usenet poster
 
Posts: n/a
Default

Yes, you can. In fact, Access makes it easier for you to establish the
connection to the current database with CurrentProject.Connection.

Check Access VB Help on the Connection Property of CurrentProject.

HTH
Van T. Dinh
MVP (Access)



"AccessNewbie" wrote in message
...

I'm just starting trying to put together an Access app for the first time
and would appreciate some help.

I've read and updated data in Access database files from VB programs but
never done it within an Access module. Can I still use ADO and read/write
data to the MDB file from within a module of the MDB file, or is there

some
object of the application that I can execute sql queries and updates

against?

Thanks for any help.



  #3  
Old September 13th, 2004, 06:38 PM
AccessNewbie
external usenet poster
 
Posts: n/a
Default

Van, thanks for the tip. That at least got me started. Now I have another
problem...

The form I am working with uses navigationbuttons for moving among the
table's records. The form has several controls that are bound to various
fields. I want to use the value of one of the controls after the user moves
to a different record. My current problem is that I don't know how to
determine the current record number. Can you help?

thanks

"Van T. Dinh" wrote in message
...
Yes, you can. In fact, Access makes it easier for you to establish the
connection to the current database with CurrentProject.Connection.

Check Access VB Help on the Connection Property of CurrentProject.

HTH
Van T. Dinh
MVP (Access)





  #4  
Old September 13th, 2004, 09:42 PM
Van T. Dinh
external usenet poster
 
Posts: n/a
Default

Not sure what you meant by "to use the value of one of the Controls" but
check Access Help on the following Properties of the Form:

* CurrentRecord
* BookMark

--
HTH
Van T. Dinh
MVP (Access)




"AccessNewbie" accessnewbie wrote in message
...
Van, thanks for the tip. That at least got me started. Now I have another
problem...

The form I am working with uses navigationbuttons for moving among the
table's records. The form has several controls that are bound to various
fields. I want to use the value of one of the controls after the user

moves
to a different record. My current problem is that I don't know how to
determine the current record number. Can you help?

thanks



  #5  
Old September 14th, 2004, 01:14 PM
AccessNewbie
external usenet poster
 
Posts: n/a
Default

Thanks again. that helps but I'm still left with issue of event. I can't see
any event that corresponds to the user clicking one of the form navigation
buttons.


"Van T. Dinh" wrote in message
...
Not sure what you meant by "to use the value of one of the Controls" but
check Access Help on the following Properties of the Form:

* CurrentRecord
* BookMark

--
HTH
Van T. Dinh
MVP (Access)




"AccessNewbie" accessnewbie wrote in message
...
Van, thanks for the tip. That at least got me started. Now I have

another
problem...

The form I am working with uses navigationbuttons for moving among the
table's records. The form has several controls that are bound to various
fields. I want to use the value of one of the controls after the user

moves
to a different record. My current problem is that I don't know how to
determine the current record number. Can you help?

thanks





  #6  
Old September 14th, 2004, 01:38 PM
Van T. Dinh
external usenet poster
 
Posts: n/a
Default

Use the Form_Current Event???

--
HTH
Van T. Dinh
MVP (Access)


"AccessNewbie" accessnewbie wrote in message
...
Thanks again. that helps but I'm still left with issue of event. I can't

see
any event that corresponds to the user clicking one of the form navigation
buttons.




 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sub Query Consolidation, Syntax Question Quizarate Running & Setting Up Queries 5 September 9th, 2004 10:30 PM
Append Query problem -- producing WAY too many records. Richard Hollenbeck Running & Setting Up Queries 3 July 24th, 2004 09:32 AM
Append Query Question Chaplain Doug Running & Setting Up Queries 2 July 7th, 2004 02:30 PM
can't append records in append query Greg Clements Running & Setting Up Queries 1 July 2nd, 2004 04:29 PM
Newbie? Do I use Report or Query John Egan New Users 11 June 28th, 2004 08:31 PM


All times are GMT +1. The time now is 12:05 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.