NetTalk Central

Author Topic: Need lookup button without a field  (Read 2553 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 649
    • View Profile
Need lookup button without a field
« on: October 01, 2010, 03:18:22 PM »
Hi,
I would like to place a lookup button with lookup functionality on a form, but I don't need a field to go with it.
I have temporarily resolved this by using an entry field of 1 char which has a lookup function.
The field is a dummy field which is set as value field and description field in the lookup settings.
I also I blank it out in the "more assignments" section.

There is a relation between the file in the popup and the file in the update form browse.
As soon I check/uincheck a check box, the result shows in the browse "under" the popup. Nice!!

All I want now is to get rid of the dummy field.Conditioning does not help because the lookup button has the same condition as the field.

The result can be seen in the pics below.

Rene

[attachment deleted by admin]
Rene Simons
NT14.14

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: Need lookup button without a field
« Reply #1 on: October 02, 2010, 02:17:37 AM »
It seems to me that you don't really want a "lookup" - you want a button which just calls a popup (browse, or mem form or whatever).

Geoff mentioned this to me as well, and it's something I'll be adding.

Cheers
Bruce

Rene Simons

  • Hero Member
  • *****
  • Posts: 649
    • View Profile
Re: Need lookup button without a field
« Reply #2 on: October 02, 2010, 01:52:28 PM »
Yes please. :)
Rene Simons
NT14.14

charl99

  • Full Member
  • ***
  • Posts: 185
    • View Profile
    • Email
Re: Need lookup button without a field
« Reply #3 on: January 18, 2011, 02:34:08 AM »
Any progress on this?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: Need lookup button without a field
« Reply #4 on: January 18, 2011, 05:56:12 AM »
not yet. It'll come after the calendar stuff is finished.

cheers
Bruce

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Re: Need lookup button without a field
« Reply #5 on: January 20, 2011, 06:49:46 PM »
You could create a dummy field and give it a class like this -
.NoShow {
  visibility: hidden;
/* optional other stuff -  height: 1em;
  width: 1em;
  position: absolute;
  top: 0px;
  left: 0px */
}

hth
chris
Real programmers use copy con newapp.exe