home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PROG_BAS
/
DGDEMO.ZIP
/
TGDEMO10.FRM
(
.txt
)
< prev
next >
Wrap
Visual Basic Form
|
1994-01-25
|
2KB
|
52 lines
Demo10
Demo 10 - Simple Value Lists
Form15`
Command2
Show Raw Data
Command1
Use Value List
Table1
TgDemo
MS Sans Serif
Prospective
Normal
Buyer
Distributor
Other
CustType
CustType
Company
Company
First
FirstName
LastName
Phone
Phone
Data1R
Data1%
OE.MDB
Customers
Customer List
Command1_Click
Table1
VlistColumn
VlistStyle
GVLS_TRANSLATE
Command2_Click
Form_Unload
Cancel
QuitCurrentDemo
Table1_ValidateError
Command1_Click
Turn on the TRANSLATE bit for Column 1's value list
so it uses the value translation table.
Command2_Click
Turn off the translation bit so TrueGrid displays
the actual database data.
Form_Unload
Table1_ValidateError
ValidateError is triggered automatically if
TrueGrid detects an attempt by the user to entern
a value which isn't in the value list.r
Not a valid entry for CustType column.