PC Review


Reply
Thread Tools Rate Thread

Re: Question about dtp 6.0

 
 
TC
Guest
Posts: n/a
 
      1st Apr 2004
When you referred to the "updated" event, I assumed that was an event
specific to the dtp control (which I don't use). But if it is an event
related to changes in an "OLE object's data", I doubt that it would ever
fire when you selected a new date in a date-picker control. IOW I think your
expectaions of that event, are mistaken.

Go to the properties page of the control & select the Events tab. Then add a
quick & dirty sub for each event. (MsgBox "Blah event fired!", etc.) Then
change the dates in the control. That should show you which events will
fire, & in what order.

HTH,
TC
(off for the day)


"Jason M Canady" <jasonm11_68ATcharterDOTnet> wrote in message
news:(E-Mail Removed)...
> Thanks for the lesson... as for the answer. I have given it try but with

no
> success. I am not sure what the actual issue is, I have searched for
> solutions through the MS site, but have not had any success. But I am sure
> that the event is not firing. the help system in access is a bit vague

about
> when the event generally occurs: "The Updated event occurs when an OLE
> object's data is changed, and the BeforeUpdate and AfterUpdate events

occur
> when data is updated. Although not related, all three events usually occur
> when an OLE object's data is changed. The Updated event generally occurs
> before the BeforeUpdate and AfterUpdate events; however, this may not

happen
> every time."
> I can use the OnExit event, but i would like to do some validation before
> the focus is actually lost... I will do some more searching.
> Thanks again,
> Jason
>
>
> "TC" <(E-Mail Removed)> wrote in message
> news:406a63a3$(E-Mail Removed)...
> > What crosspost? Crossposting is where you send the same post to several
> > newsgroups >simultaneously<, by including all those newsgroup names,
> > seperated by semicolons (or whatever), in the Newsgroups: line of your

> post.
> >
> > Crossposting to relevant newsgroups is fine, IMO. You have actually
> > multi-posted, which means, to post the same (or similar) message to

> several
> > newsgroups >independently<. Multi-posting is not so fine, because the
> > readers of the post in one newsgroups, can not see any replies to the

same
> > post in the other newsgroups.
> >
> > As for your question, event procedures can sometimes become disconnected
> > from their controls, for various reasons. An easy way to fix this is to
> > select all the code in your code module, press Ctrl-X to cut it, then

> Ctrl-V
> > to paste it back in. Then recompile & save the module. This will

reconnect
> > any disconnected event procedures. See if that helps.
> >
> > TC
> >
> >
> > "Jason M Canady" <jasonm11_68ATcharterDOTnet> wrote in message
> > news:(E-Mail Removed)...
> > > Please forgive the cross post, but I had not recieved a reply from the

> > forms
> > > group yet and thought that it might be more applicable to this group
> > > instead...
> > >
> > > I have a question about the dtp control v.6.0. I am trying to use the
> > > updated event to write the value of the control to a record in my db.

> but
> > > the event does not seem to be firing. I have put a break point at the

> > start
> > > of the sub but it never starts. The control is enabled and is unbound.

> Any
> > > suggentions?
> > >
> > > I would be very interested.
> > >
> > > Thanks, Jason
> > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
 
Jason M Canady
Guest
Posts: n/a
 
      1st Apr 2004
Thanks TC, I will also give that a try.
Like I said the OnExit fires for sure and I am fairly sure that the
LostFocus fires, but on the property page there are only about 5 events to
choose from.
Thanks again for the advice

"TC" <(E-Mail Removed)> wrote in message
news:406ba9f0$(E-Mail Removed)...
> When you referred to the "updated" event, I assumed that was an event
> specific to the dtp control (which I don't use). But if it is an event
> related to changes in an "OLE object's data", I doubt that it would ever
> fire when you selected a new date in a date-picker control. IOW I think

your
> expectaions of that event, are mistaken.
>
> Go to the properties page of the control & select the Events tab. Then add

a
> quick & dirty sub for each event. (MsgBox "Blah event fired!", etc.) Then
> change the dates in the control. That should show you which events will
> fire, & in what order.
>
> HTH,
> TC
> (off for the day)
>
>
> "Jason M Canady" <jasonm11_68ATcharterDOTnet> wrote in message
> news:(E-Mail Removed)...
> > Thanks for the lesson... as for the answer. I have given it try but with

> no
> > success. I am not sure what the actual issue is, I have searched for
> > solutions through the MS site, but have not had any success. But I am

sure
> > that the event is not firing. the help system in access is a bit vague

> about
> > when the event generally occurs: "The Updated event occurs when an OLE
> > object's data is changed, and the BeforeUpdate and AfterUpdate events

> occur
> > when data is updated. Although not related, all three events usually

occur
> > when an OLE object's data is changed. The Updated event generally occurs
> > before the BeforeUpdate and AfterUpdate events; however, this may not

> happen
> > every time."
> > I can use the OnExit event, but i would like to do some validation

before
> > the focus is actually lost... I will do some more searching.
> > Thanks again,
> > Jason
> >
> >
> > "TC" <(E-Mail Removed)> wrote in message
> > news:406a63a3$(E-Mail Removed)...
> > > What crosspost? Crossposting is where you send the same post to

several
> > > newsgroups >simultaneously<, by including all those newsgroup names,
> > > seperated by semicolons (or whatever), in the Newsgroups: line of your

> > post.
> > >
> > > Crossposting to relevant newsgroups is fine, IMO. You have actually
> > > multi-posted, which means, to post the same (or similar) message to

> > several
> > > newsgroups >independently<. Multi-posting is not so fine, because the
> > > readers of the post in one newsgroups, can not see any replies to the

> same
> > > post in the other newsgroups.
> > >
> > > As for your question, event procedures can sometimes become

disconnected
> > > from their controls, for various reasons. An easy way to fix this is

to
> > > select all the code in your code module, press Ctrl-X to cut it, then

> > Ctrl-V
> > > to paste it back in. Then recompile & save the module. This will

> reconnect
> > > any disconnected event procedures. See if that helps.
> > >
> > > TC
> > >
> > >
> > > "Jason M Canady" <jasonm11_68ATcharterDOTnet> wrote in message
> > > news:(E-Mail Removed)...
> > > > Please forgive the cross post, but I had not recieved a reply from

the
> > > forms
> > > > group yet and thought that it might be more applicable to this group
> > > > instead...
> > > >
> > > > I have a question about the dtp control v.6.0. I am trying to use

the
> > > > updated event to write the value of the control to a record in my

db.
> > but
> > > > the event does not seem to be firing. I have put a break point at

the
> > > start
> > > > of the sub but it never starts. The control is enabled and is

unbound.
> > Any
> > > > suggentions?
> > > >
> > > > I would be very interested.
> > > >
> > > > Thanks, Jason
> > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remember the DTP Forum on Compuserve? Steve Rindsberg Microsoft Powerpoint 2 17th Feb 2005 02:52 AM
Question about dtp 6.0 Jason M Canady Microsoft Access Forms 0 30th Mar 2004 04:30 AM
simple dtp program - printing Johannes Peeters Microsoft VB .NET 0 19th Mar 2004 12:49 PM
The best DTP freeware Michael N. Freeware 0 4th Jan 2004 12:38 PM
Cascade DTP version 3.0 Ninou Freeware 0 3rd Jan 2004 06:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:09 AM.