NetTalk Central

Author Topic: From with 2 tabs, same date field, calendar error  (Read 4595 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
From with 2 tabs, same date field, calendar error
« 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
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: From with 2 tabs, same date field, calendar error
« Reply #1 on: April 01, 2009, 04:21:35 AM »
I'll look into it.

cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: From with 2 tabs, same date field, calendar error
« Reply #2 on: May 13, 2009, 04:41:55 PM »
Hi Bruce,

Still not working on PR37.

Thanks
Alberto
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: From with 2 tabs, same date field, calendar error
« Reply #3 on: May 13, 2009, 09:17:40 PM »
can you duplicate in one of the example apps and send to me please?

Cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: From with 2 tabs, same date field, calendar error
« Reply #4 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]
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: From with 2 tabs, same date field, calendar error
« Reply #5 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