Wanna change GRID datasource via radiobutton. i have 2 datasource,2 view and 1 grid. with radiobutton wanna switch grid datasource.

asked 06 Dec '12, 00:44

lezgin's gravatar image

lezgin
71421
accept rate: 0%


Also, with version 1.2, it will be possible to set the runtime query of a datasource.

link

answered 06 Dec '12, 01:12

Ugur%20Kocak's gravatar image

Ugur Kocak ♦
5616
accept rate: 23%

Gozumuz karaldi. Ne zaman eni version chikacak?

(06 Dec '12, 01:28) lezgin

Hi Zamir,

You can create a third view union of two view as follows:

Create view3 as
Select view1.*, 1 view_nr
from view1
Union all
Select view2.*, 2 view_nr
from view2

Then, query view3 with view_nr column:

Select *
from view3
where view_nr = 1 -- or 2
link

answered 06 Dec '12, 01:09

Ugur%20Kocak's gravatar image

Ugur Kocak ♦
5616
accept rate: 23%

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:

×85
×64

Asked: 06 Dec '12, 00:44

Seen: 1,307 times

Last updated: 06 Dec '12, 01:28


© Copyright Gerger 2017