473,395 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Tracking Notes

Hi All,

I created 'Notes' table which is linked to the main 'Client' table
(One-to-many). The form which shows client details has a tabbed page
for tracking notes. I have created two subforms to enter new notes and
to view previous notes.

NewNotes - Continuous Form View, No additions allowed
NotesHistory - Single Form View, Opens Default to New Record.

Since both subforms have linked to the ClientID, they display only
records which are linked to that particular client.

When I enter notes in NewNotes and save, it is not immediately
displayed on NotesHistory form. I need to close and re-open that
record again for last notes to be updated on NotesHistory form.

Can anyone suggest me how I can update notes immediately? Also How can
we create a time stamp for each note?

May 29 '07 #1
7 2304
On 29 May 2007 04:22:11 -0700, Matuag <ma****@gmail.comwrote:

You need to .Requery the NewNotes form, probably from the
NotesHistory.AfterUpdate event.

A timestamp can be created by adding a date field (e.g. DateCreated),
and setting the default value to Now()

-Tom.

>Hi All,

I created 'Notes' table which is linked to the main 'Client' table
(One-to-many). The form which shows client details has a tabbed page
for tracking notes. I have created two subforms to enter new notes and
to view previous notes.

NewNotes - Continuous Form View, No additions allowed
NotesHistory - Single Form View, Opens Default to New Record.

Since both subforms have linked to the ClientID, they display only
records which are linked to that particular client.

When I enter notes in NewNotes and save, it is not immediately
displayed on NotesHistory form. I need to close and re-open that
record again for last notes to be updated on NotesHistory form.

Can anyone suggest me how I can update notes immediately? Also How can
we create a time stamp for each note?
May 29 '07 #2
On May 29, 6:35 pm, Tom van Stiphout <no.spam.tom7...@cox.netwrote:
On 29 May 2007 04:22:11 -0700, Matuag <mat...@gmail.comwrote:

You need to .Requery the NewNotes form, probably from the
NotesHistory.AfterUpdate event.

A timestamp can be created by adding a date field (e.g. DateCreated),
and setting the default value to Now()

-Tom.

Ran requery, didn't work :(

May 29 '07 #3

"Matuag" <ma****@gmail.comwrote in message
news:11**********************@i13g2000prf.googlegr oups.com...
On May 29, 6:35 pm, Tom van Stiphout <no.spam.tom7...@cox.netwrote:
>On 29 May 2007 04:22:11 -0700, Matuag <mat...@gmail.comwrote:

You need to .Requery the NewNotes form, probably from the
NotesHistory.AfterUpdate event.

A timestamp can be created by adding a date field (e.g. DateCreated),
and setting the default value to Now()

-Tom.


Ran requery, didn't work :(
Make sure that if you're using transactions, you close that transaction
before the requery.
May 30 '07 #4
>
Make sure that if you're using transactions, you close that transaction
before the requery.
Can you please explain what do you mean by transactions?

May 31 '07 #5

"Matuag" <ma****@gmail.comwrote in message
news:11**********************@z28g2000prd.googlegr oups.com...

Make sure that if you're using transactions, you close that transaction
before the requery.

Can you please explain what do you mean by transactions?
from the MS Access Help page:

TRANSACTION Statement
Used to initiate and conclude explicit transactions .

Syntax
Initiate a new transaction.

BEGIN TRANSACTION

Conclude a transaction by committing all work performed during the
transaction.

COMMIT [TRANSACTION | WORK]

Conclude a transaction by rolling back all work performed during the
transaction.

ROLLBACK [TRANSACTION | WORK]

Remarks
Transactions are not started automatically. To start a transaction,
you must do so explicitly using BEGIN TRANSACTION.

Transactions can be nested up to five levels deep. To start a nested
transaction, use BEGIN TRANSACTION within the context of an existing
transaction.

Transactions are not supported for linked tables.

if you don't recognize this, then it's probably not your problem.
transactions are used to insure that multiple table updates complete
normally--or are rolled back completely, so that partial updates do not
occur due to system halts, etc.

sorry if i've confused the issue with this.
Dale.
May 31 '07 #6

"Dale" <dhcarter_at_alliancecable_dot_netwrote in message
news:46***********************@news.mindlink.net.. .
>
"Matuag" <ma****@gmail.comwrote in message
news:11**********************@z28g2000prd.googlegr oups.com...
>
Make sure that if you're using transactions, you close that transaction
before the requery.
Can you please explain what do you mean by transactions?

from the MS Access Help page:

TRANSACTION Statement
Used to initiate and conclude explicit transactions .

Syntax
Initiate a new transaction.

BEGIN TRANSACTION

Conclude a transaction by committing all work performed during the
transaction.

COMMIT [TRANSACTION | WORK]

Conclude a transaction by rolling back all work performed during the
transaction.

ROLLBACK [TRANSACTION | WORK]

Remarks
Transactions are not started automatically. To start a transaction,
you must do so explicitly using BEGIN TRANSACTION.

Transactions can be nested up to five levels deep. To start a nested
transaction, use BEGIN TRANSACTION within the context of an existing
transaction.

Transactions are not supported for linked tables.

if you don't recognize this, then it's probably not your problem.
transactions are used to insure that multiple table updates complete
normally--or are rolled back completely, so that partial updates do not
occur due to system halts, etc.

sorry if i've confused the issue with this.
Dale.

Where did you see "Transactions are not supported for linked tables."???
I know transactions work where the BE is Jet. Access help does warn that
some databases such as Paradox do not support transaction.
May 31 '07 #7

"paii, Ron" <pa**@packairinc.comwrote in message
news:ZZ******************************@athenet.net. ..
>
"Dale" <dhcarter_at_alliancecable_dot_netwrote in message
news:46***********************@news.mindlink.net.. .
>>
"Matuag" <ma****@gmail.comwrote in message
news:11**********************@z28g2000prd.googleg roups.com...
>
Make sure that if you're using transactions, you close that
transaction
before the requery.

Can you please explain what do you mean by transactions?

from the MS Access Help page:

TRANSACTION Statement
Used to initiate and conclude explicit transactions .

Syntax
Initiate a new transaction.

BEGIN TRANSACTION

Conclude a transaction by committing all work performed during the
transaction.

COMMIT [TRANSACTION | WORK]

Conclude a transaction by rolling back all work performed during
the
transaction.

ROLLBACK [TRANSACTION | WORK]

Remarks
Transactions are not started automatically. To start a transaction,
you must do so explicitly using BEGIN TRANSACTION.

Transactions can be nested up to five levels deep. To start a
nested
transaction, use BEGIN TRANSACTION within the context of an existing
transaction.

Transactions are not supported for linked tables.

if you don't recognize this, then it's probably not your problem.
transactions are used to insure that multiple table updates complete
normally--or are rolled back completely, so that partial updates do not
occur due to system halts, etc.

sorry if i've confused the issue with this.
Dale.


Where did you see "Transactions are not supported for linked tables."???
I know transactions work where the BE is Jet. Access help does warn that
some databases such as Paradox do not support transaction.

yes, i was concerned by that too. i just copy/pasted the above from the MS
Access 2003 Help screen. i have also used transactions with linked MySQL
tables and they appear to work fine. The MySQL tables must be InnoDB type
because that is the only table type that supports transactions in MYSQL.
but i did not want to alter the contents of the MS Access Help text, so i
left it as it appears above.

regards,
dale.
Jun 1 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: James | last post by:
Hello, I'm designing an online shopping cart using ASP. I want the flexibility of session tracking by using URL rewriting but I don't know how I would go about this. I'd like to know how I...
3
by: Kyle Friesen via AccessMonster.com | last post by:
Mike, I have databse that creates a "tracking number" based on the selections made on the form via concatenating. At the end of the tracking number, I need a two digit (01-99) sequence number by...
3
by: BW | last post by:
Has anyone attempted writing a print-tracking application in VB.Net? I'd like it to run as an active service on the server and monitor all printjobs. I'd like to write it myself but am not sure...
11
by: SKBodner | last post by:
Hello, I'm stumped and I'm hoping someone could help me figure out the best way to track daily attendance for the next 6-4 months. I have a list of 80 or so participants who should be attended...
2
by: runner7 | last post by:
Can anyone tell me if there is a way in PHP to determine when a session times out on the server or how many concurrent sessions there are in your application?
1
by: bdockery | last post by:
So I figured out that if you use this html: http://wwwapps.ups.com/WebTracking/processInputRequest?sort_by=status&tracknums_displayed=1&TypeOfInquiryNumber=T&loc=en_US&InquiryNumber1=<TRACKING...
3
by: =?Utf-8?B?R3JhaGFt?= | last post by:
I've added 2 tracking services to the wf runtime; one is the standard SqlTrackingService: trackingService = new SqlTrackingService(<trackingConnectionString>); <workflow...
3
by: Berteun Damman | last post by:
Hello, I have programmed some python script that loads a graph (the mathemical one with vertices and edges) into memory, does some transformations on it, and then tries to find shortest paths in...
1
by: Becky99 | last post by:
In the database I'm working on (2003) I have a client table that includes a client status field, and I have a linked notes table that includes the note entry date, note type, and note details. Each...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.