Design a Form to display multiple database columns using SQL Request controls

  • 15 February 2022
  • 0 replies
  • 53 views

Userlevel 6
Badge +22

Topic

When adding an SQL Request Control to a form only one field (column) will be returned. A potential work around is to add multiple SQL Request controls.

Instructions

1) Create the first SQL Request control and configure the "display format" as "text" to query the primary key column of the desired database record.
2) Create a Form variable of type string and name it after the primary column and populate it with the value returned by the first SQL control.
3) All proceeding SQL Request controls need to contain a select statement with the desired field and also include a where clause to include the primaryKeyField = <primaryKeyVariable>

 


0 replies

Be the first to reply!

Reply