Hi every body

Working with FS 1.9

I have a Form Panel, with a bind variable in the datasource same that primary key and using it in the where clausule, and when I call the panel I want that it come with the record choice, for that I fill the bind variable with the record key.

Regards.

asked 29 Aug, 12:46

JoseBenitez's gravatar image

JoseBenitez
4113
accept rate: 16%


Hi Jose,

You should use api_datasource.setBindVar API to set the value of the bind variable. Next, you should run api_datasource.executeQuery for your datasource.

If the components in your panel are bound to the datasource columns, the data that shows in the panel will change automatically.

Please also see: http://formspideronline.com/formspider/main.html?name=DemoMain#DemoBindingForm

and http://formspideronline.com/formspider/main.html?name=DemoMain#DemoDependentComboBoxes

Hope this helps.

Kind Regards,
Yalim

link

answered 30 Aug, 12:07

Yalim's gravatar image

Yalim ♦♦
2.8k5
accept rate: 21%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×7
×6
×4
×2

Asked: 29 Aug, 12:46

Seen: 124 times

Last updated: 30 Aug, 12:07


© Copyright Gerger 2017