Announcements
The Google Cloud Community will be in read-only from July 16 - July 22 as we migrate to a new platform; refer to this community post for more details.

Need Help with Form and show_if()

Hi Friends

I have a a table and form from that table for input.

I have a ref table [Tank or Gauge Name] and I am using buttons to show them in the form. All the code is based on selection of the [Tank or Gauge Name]

ABBA_1-1657313919257.png

When I click the selection a drop down of [Tank of Guage ID] drops

ABBA_2-1657314096983.png

I dont want this to be dropdown but rather an auto SELECTTION process in the app, because each [Tank or Gauge Name] has a specific [Tank or Guage ID]

Also, since the code is based on [Tank or Gauge Name] or [_ThisRow], I have to have [Tank or Gauge Name] as selection, when the users prefer [Tank or Gauge ID]. 

is it possible to change something in the table where I dont have to change all the 25 to 30 formulas to [Tank or Gauge ID] but rather have users select [Tank or Gauge Name] and this action auto selects the corresponding [Tank or Gauge ID]?

ABBA_0-1657313833842.png

I have a table [Tank Gauge List] that I am using as reference to get [Tank or Guage Name]-column Tank or Guage Name

IDFacilityTank or Gauge NameTank#TypeCapacitybbls/in
EARL Harlan-11978EARL Harlan11978Production TankOil3001.167
EAST Dome Ellis-25293EAST Dome Ellis25293Production TankOil3001.167
EAST Dome Ellis-66018EAST Dome Ellis66018Sales TankOil3001.167
MOSBY Dome Ellis-11955MOSBY Dome Ellis11955Production TankOil3001.167
MOSBY Dome Ellis-Sales Tank #1MOSBY Dome EllisSales Tank #1Sales TankOil3001.167
Unit#1-1230Unit#11230Production TankOil3001.167
Unit#1-1231Unit#11231Production TankOil3001.167
Unit#1-55769Unit#155769Production TankOil3001.167
Unit#2-21469Unit#221469Production TankOil3001.167

Also I have another table called [Tank Guage Capacity] from which I get [Tank or Guage Name] as Unique([Tank Guage Capacity].[Tank or Guage ID-Name])

ABBA_0-1657316365651.png

I know the code is jumbled

I am trying to simpli

Solved Solved
0 7 276
1 ACCEPTED SOLUTION

Hi Friend.

This solved the problem with auto selection. Now the user does not have to select from drop down. Its auto selected.

I did change to initial value as sugested

[Tank or Gauge Name].[ID]

View solution in original post

7 REPLIES 7
Top Labels in this Space