Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Problem calling a form with parameters

$
0
0
Problem calling a form with parameters
FoxInCloud
Problem calling a form with parameters
Jan. 22, 2013
05:44 am
3P50CB3WBShow this entire thread in new window
Gratar Image based on email address
From:Michele
To:thn@foxincloud.com
I have one class (form's based) that receive as parameter the table i have to opend and show in a grid......or better i receive the kind of a table and on that table i have to make a Select ....From...Where... and show in the grid the resulting cursor...

I put all the code in the Init method, but the second time i call the form the grid is empty......

In the Init my code is this:

Lparameters cTipoTab, cValue, cOrderIfPcount()>0DoDefault()This.TipoTab = cTipoTab Use wdfPath + "TaGen" In 0Select Code, Des1 From TaGen Where Tipo = This.TipoTab Order By Code Into Cursor Tab ReadWrite Use In TaGenWith .Grid1 .RecordSource = "Tab" .Column1.ControlSource = "Tab.Code" .Column2.ControlSource = "Tab.Des1" .SetFocusEndWithEndif


Viewing all articles
Browse latest Browse all 10393

Latest Images

Trending Articles



Latest Images