Home
dBworxPE Online Help Prev Page Prev Page
dBworxPE Help File
Overview
Features
Register
Paging
Design
Basics
Field Types
Special Field Types
External Fields
Graphics Fields
Formula Fields
Lookup Fields
Relational Fields
Examples
Operation
Navigation
Add/Edit/Delete Records
Webforms
Smart Forms
Searching
Sorting
Filtering
Action Menu
Saving
Backup/Restore
Keyboard Reference
Text/HTML Editor
Listings, Reports and Labels
Listings
Labels
Reports/Documents
Print/View Document
Print/View Report
Pie Charts
Import
Export
XML import/export
PDA import/export
Macros
Programming
Create web page
Connect to Database
Viewer
Templates
Entry Templates
Application Templates
Tools
Network/Multi-user
FAQ
Other Plworx products
License
Contact
LOOKUP FIELDS:

Lookup field: code = L

A lookup field allows the user to pick a value for that field from
a pop-up list. The pop-up list is just a dBworxPE file (that you 
create) which contains only those field values that you want to
include in the lookup list (see the "lookup" example).

For instance, let's say you have an inventory order file where each
record contains an item description and you want to get that
description from a separate dBworx file you've created named 
"itemdesc.dwh".  In order to do that, in designing your inventory
order file you would enter an "L" under "field type" for the item
description field -- then dBworxPE would display an "Open file"
dialog and you would select "itemdesc.dwh" as the lookup file. 

If you're keying an actual order, when you get to the item 
description field dBworxPE will pop up a window showing the records
in the "itemdesc" file and you can simply click on the record which
has the correct description.  NOTE: the field heading for the item
description field in the inventory order file must match the heading
for the description field in the "itemdesc" file (dBworxPE compares 
the two headings in order to pick the proper field value to return).

As a rule the lookup file itself will only consist of two or three
fields.  In this case "itemdesc.dwh" would probably contain just
"Item number" and "Item description", and you would click on the
record in the pop-up list that goes with the item number you 
entered.

Browser Based Help. Published by chm2web software.