⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 formdemo.sql

📁 关系型数据库 Postgresql 6.5.2
💻 SQL
📖 第 1 页 / 共 2 页
字号:
.full.txt tag configure link -font {Helvetica -12 underline} -foreground #000080\.full.txt tag configure code -font {Courier 13}\.full.txt tag configure warning -font {Helvetica 12 bold} -foreground #800000\\# That't the way help files are written\\.full.txt delete 1.0 end\.full.txt insert end {Centered title} {title} "\\You can make different " {} "portions of text bold" {bold} " or italic " {italic} ".\Some parts of them can be written as follows" {} "\SELECT * FROM PHONEBOOK" {code} "\You can also change " {} "colors for some words " {warning} "or underline them" {link} } {Old style button} {} {} raised #000000 #d9d9d9 2 n} {checkbox checkbox14 {48 297 153 309} {} different {} {} flat #00009c #d9d9d9 1 b} {checkbox checkbox15 {48 321 156 336} {} {fonts and} {} {} flat #cc0000 #d9d9d9 1 i} {checkbox checkbox16 {48 345 156 360} {} colors {} {} flat #00b600 #dfb2df 1 f} {radio radio17 {207 297 330 315} {} {red , rosu , rouge} color red flat #9c0000 #d9d9d9 1 n} {radio radio18 {207 321 324 333} {} {green , verde , vert} color green flat #009000 #d9d9d9 1 n} {radio radio19 {207 345 327 363} {} {blue , albastru, bleu} color blue flat #000000 #d9d9d9 1 n} {label selcolor {210 369 345 384} {} {} color {} flat #000000 #d9d9d9 1 n} {button button21 {285 258 363 285} {destroy .full} Exit {} {} raised #7c0000 #dfdbb8 1 b}Working with Tables namespace	f3 13 {3 4 5 6 7 9 10 11 12 13} 377x263+59+127 {radio usa {36 24 138 36} {} USA selcont} {radio europe {36 45 141 60} {} Europe selcont} {radio africa {36 66 147 81} {} Africa selcont} {label label6 {9 99 339 114} {} {Select one of the above continents and press} {}} {button button7 {270 93 354 117} {Tables::open phonebook "continent='$selcont'" $selorder} {Show them} {}} {button button9 {66 189 312 213} {Tables::design phonebook} {Show me the phonebook table structure} {}} {button button10 {141 228 240 252} {destroy .f3} {Close the form} {}} {button button11 {93 141 282 165} {Tables::open phonebook "company=true"} {Show me only the companies} {}} {radio name {183 24 261 36} {} {Order by name} selorder} {radio phone_nr {183 45 267 57} {} {Order by phone number} selorder}The simplest form	mf 5 {FS {set thename {}}} 306x136+82+146 {label label {42 45 99 60} {} Name {} label flat #000000 #d9d9d9 1 {Helvetica 12 bold italic}} {entry ename {120 42 219 63} {} entry2 thename ename sunken #000000 #fefefe 1 n} {button button3 {6 96 108 129} {set thename Teo} {Set the name} {} button3 raised #000000 #d9d9d9 1 n} {button button4 {192 96 300 129} {destroy .mf} {Close the form} {} button4 raised #000000 #d9d9d9 1 n} {button button5 {114 96 186 129} {set thename {}} {Clear it} {} button5 raised #000000 #d9d9d9 1 n}A simple demo form	asdf 14 {FS {set color none}} 370x310+50+75 {label label1 {15 36 99 57} {} {Selected color} {} label1 flat #000000 #d9d9d9 1} {entry entry2 {111 36 225 54} {} entry2 color entry2 sunken #000000 #fefefe 1} {radio red {249 21 342 36} {} {Red as cherry} color red flat #900000 #d9d9d9 1} {radio green {249 45 342 60} {} {Green as a melon} color green flat #008800 #d9d9d9 1} {radio blue {249 69 342 84} {} {Blue as the sky} color blue flat #00008c #d9d9d9 1} {button button6 {45 69 198 99} {set color spooky} {Set a weird color} {} button6 ridge #0000b0 #dfbcdf 2} {label label7 {24 129 149 145} {} {The checkbox's value} {} label7 flat #000000 #d9d9d9 1} {entry entry8 {162 127 172 145} {} entry8 cbvalue entry8 sunken #000000 #fefefe 1} {checkbox checkbox9 {180 126 279 150} {} {Check me :-)} cbvalue checkbox9 flat #000000 #d9d9d9 1} {button button10 {219 273 366 303} {destroy .asdf} {Close that simple form} {} button10 raised #000000 #d9d9d9 1} {button button11 {219 237 366 267} {Forms::open "Phone book"} {Open my phone book} {} button11 raised #000000 #d9d9d9 1} {listbox lb {12 192 162 267} {} listbox12 {} lb sunken #000000 #fefefe 1} {button button13 {12 156 162 186} {.asdf.lb insert end red green blue cyan white navy black purple maroon violet} {Add some information} {} button13 raised #000000 #d9d9d9 1} {button button14 {12 273 162 303} {.asdf.lb delete 0 end} {Clear this listbox} {} button14 raised #000000 #d9d9d9 1}Working with listboxes	f2 5 {FS {set thestudent ""}} 257x263+139+147 {listbox lb {6 6 246 186} {} listbox1 {} lb sunken #000000 #ffffd4 1} {button button2 {9 234 124 258} {# Populate the listbox with some data\#\\foreach student {John Bill Doe Gigi} {\\	.f2.lb insert end $student\}\\\\# Binding the event left button release to the\# list box\\bind .f2.lb <ButtonRelease-1> {\\	set idsel [.f2.lb curselection]\\	if {$idsel!=""} {\\	\	set thestudent [.f2.lb get $idsel]\\	}\}\\# Cleaning the variable thestudent\\set thestudent {}} {Show students} {} button2 groove #000000 #d9d9d9 2} {button button3 {132 234 247 258} {destroy .f2} {Close the form} {} button3 groove #000000 #d9d9d9 1} {label label4 {9 213 119 228} {} {You have selected} {} label4 flat #000000 #d9d9d9 1} {label label5 {129 213 219 228} {} {} thestudent label5 flat #00009a #d9d9d9 1}Invoices	inv 0 {FS {frame .inv.f\place .inv.f -x 5 -y 100 -width 500 -height 300\set wn [Tables::getNewWindowName]\Tables::createWindow .inv.f\set PgAcVar(mw,.inv.f,updatable) 0\set PgAcVar(mw,.inv.f,layout_found) 0\set PgAcVar(mw,.inv.f,layout_name) ""\Tables::selectRecords .inv.f "select * from cities"\}} 631x439+87+84\.COPY "pga_scripts" FROM stdin;How are forms keeped inside ?	Tables::open pga_forms\\\\Opening a table with filters	Tables::open phonebook "name ~* 'e'" "name desc"\\\Autoexec	Mainlib::tab_click Forms\Forms::open {Full featured form}\\\\.COPY "pga_reports" FROM stdin;My phone book	phonebook	set PgAcVar(report,tablename) "phonebook" ; set PgAcVar(report,y_rpthdr) 21 ; set PgAcVar(report,y_pghdr) 47 ; set PgAcVar(report,y_detail) 66 ; set PgAcVar(report,y_pgfoo) 96 ; set PgAcVar(report,y_rptfoo) 126 ; .pgaw:ReportBuilder.c create text 10 35 -font -Adobe-Helvetica-Bold-R-Normal--*-120-*-*-*-*-*-* -anchor nw -text {name} -tags {t_l mov ro} ; .pgaw:ReportBuilder.c create text 10 52 -font -Adobe-Helvetica-Medium-R-Normal-*-*-120-*-*-*-*-* -anchor nw -text {name} -tags {f-name t_f rg_detail mov ro} ; .pgaw:ReportBuilder.c create text 141 36 -font -Adobe-Helvetica-Bold-R-Normal--*-120-*-*-*-*-*-* -anchor nw -text {city} -tags {t_l mov ro} ; .pgaw:ReportBuilder.c create text 141 51 -font -Adobe-Helvetica-Medium-R-Normal-*-*-120-*-*-*-*-* -anchor nw -text {city} -tags {f-city t_f rg_detail mov ro} ; .pgaw:ReportBuilder.c create text 231 35 -font -Adobe-Helvetica-Bold-R-Normal--*-120-*-*-*-*-*-* -anchor nw -text {phone_nr} -tags {t_l mov ro} ; .pgaw:ReportBuilder.c create text 231 51 -font -Adobe-Helvetica-Medium-R-Normal-*-*-120-*-*-*-*-* -anchor nw -text {phone_nr} -tags {f-phone_nr t_f rg_detail mov ro}	\N	\N\.COPY "phonebook" FROM stdin;FIAT	623463445		t	europeGelu Voican	01-32234	Bucuresti	f	europeRadu Vasile	01-5523423	Bucuresti	f	europeMUGADUMBU SRL	+92 534662634	Cairo	t	africaJimmy Page	66323452		f	europeIBM	623346234	\N	t	usaJohn Doe	+44 35 2993825	Washington	f	usaBill Clinton	+44 35 9283845	New York	f	usaMonica Levintchi	+44 38 5234526	Dallas	f	usaBill Gates	+42 64 4523454	Los Angeles	f	usaCOMPAQ	623462345	\N	t	usaSUN	784563253	\N	t	usaDIGITAL	922644516	\N	t	usaFrank Zappa	6734567	Montreal	f	usaConstantin Teodorescu	+40 39 611820	Braila	f	europeNgbendu Wazabanga	34577345		f	africaMugabe Kandalam	7635745		f	africaVasile Lupu	52345623	Bucuresti	f	europeGica Farafrica	+42 64 4523454	Los Angeles	f	usaVictor Ciorbea	634567	Bucuresti	f	europe\.COPY "pga_layout" FROM stdin;pga_forms	2	formname formsource	82 713Usaisti	5	name phone_nr city company continent	150 150 150 150 150q1	5	name phone_nr city company continent	150 150 150 150 150view_saved_from_that_query	5	name phone_nr city company continent	150 150 150 150 150phonebook	5	name phone_nr city company continent	150 105 80 66 104Query that can be saved as view	5	name phone_nr city company continent	150 150 150 150 150pg_database	4	datname datdba encoding datpath	150 150 150 150pg_language	5	lanname lanispl lanpltrusted lanplcallfoid lancompiler	150 150 150 150 150cities	3	id name prefix	60 150 150	3	id name prefix	125 150 150	3	id name prefix	150 150 150	3	id name prefix	150 150 150	3	id name prefix	150 150 150\.COPY "pga_schema" FROM stdin;Simple schema	cities 10 10 phonebook 201.0 84.0	{cities name phonebook city}\.COPY "cities" FROM stdin;3	Braila	40394	Galati	40365	Dallas	53626	Cairo	93521	Bucuresti	40137	Montreal	5325\.CREATE UNIQUE INDEX "cities_id_key" on "cities" using btree ( "id" "int4_ops" );

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -