Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ControlSource In Form Init
Message
From
16/08/2002 04:13:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00690257
Message ID:
00690266
Views:
12
>SELECT &ACTUALTABLETAHUNAN
>GO bottom
>thisform.txtnamapt.Value = " " +ALLTRIM(NAMAPT) + " ("+ALLTRIM(KodePt)+")"
>
>thisform.txttglInspeksi.controlsource = FIELD(2)
>thisform.txtkd_afd1.controlsource = FIELD(5)
>thisform.txtkd_afd2.controlsource = FIELD(7)
>
>thisform.txtkd_blok1.controlsource = FIELD(6)
>thisform.txtkd_blok2.controlsource = FIELD(8)
>
>thisform.txtactualtotal.ControlSource=FIELD(19)
>
>SELECT &inspektabletahunan
>thisform.txttotal.ControlSource = FIELD(21)


thisform.txttglInspeksi.controlsource = alias()+'.'+FIELD(2)
...

Also instead of macro substition use name expression - parentheses :
SELECT (ACTUALTABLETAHUNAN)

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform