NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on April 01, 2009, 03:29:08 AM

Title: From with 2 tabs, same date field, calendar error
Post by: Alberto on April 01, 2009, 03:29:08 AM
Hi,
I have a Form with two tabs, a browse in each one and need to fiter it with the same date value.
Then add the same field (different equate) in each tab, when I try to use the calendar I get the following error:

Error calling the calendar. Parameter especified is not valid target control.

Regards
Alberto
Title: Re: From with 2 tabs, same date field, calendar error
Post by: Bruce on April 01, 2009, 04:21:35 AM
I'll look into it.

cheers
Bruce
Title: Re: From with 2 tabs, same date field, calendar error
Post by: Alberto on May 13, 2009, 04:41:55 PM
Hi Bruce,

Still not working on PR37.

Thanks
Alberto
Title: Re: From with 2 tabs, same date field, calendar error
Post by: Bruce on May 13, 2009, 09:17:40 PM
can you duplicate in one of the example apps and send to me please?

Cheers
Bruce
Title: Re: From with 2 tabs, same date field, calendar error
Post by: Alberto on May 14, 2009, 06:41:20 AM
Yes, its very simple.
Browse in form example (21)
Update Invoices procedure
I´ve added a tab called error
added the same date field of the general tab changing only the equate to INV:Date2
compiled
run
go to the proc and try to click on the calendar button of each tab

See attached app

Hope this helps
Alberto

[attachment deleted by admin]
Title: Re: From with 2 tabs, same date field, calendar error
Post by: Bruce on May 18, 2009, 11:59:13 PM
Hi Alberto,

The short answer is that it's not possible to have multiple dates on the window, on the same field.
The reasons are somewhat complex as to exactly why, but suffice to say that changing it would be quite a serious step at this stage, and not one I'm wanting to make before at least NetTalk 5.

So what you'll need to do is make another field (a local field) to hold the second copy of the date.

Sorry.
Cheers
Bruce