" TYPE="text/css">

More about the Data Entry and Report Example

More About HTML    More About WML    More About Web Services

The HTML Samples

You are encouraged to study the code for these samples. All of the files (WOs and ASP pages) were created using the web application wizards. Once created, they were loaded intot the studio and customized. Most of these customizations were quite simple. Some of the changes you might want to checkout are:

Some Additional Samples

Here are a couple of other samples you should try running. Load these ASP files into the studio and study the code:

Customer0.asp

This shows many different examples of using the DDValue property in an ASP page. The same type of control is created using multiple techniques. Study this code carefully.

Customer1.asp

This uses the DDAUTO parameter in DDValue to create all of the controls. DDAUTO tells the WO to create a the most appropriate control for a field based on the field's DD characteristics. This is powerful.

Customer2.asp

This sample lets you see how you can mix server side ASP script (VBScript) and WO processing power. In this case, the controls are all built inside of a single VBScript sub-routine. This subroutine makes the required calls to the WO.

Customer3.asp

This sample will show you how to create a multi page data entry screen. The first page asks for a couple of input items. When you click "next", the partial data will be submitted to the server (calling the same ASP file) and the data will be validated. If valid, the next page is displayed. If not valid, the first page is redisplayed with the errors properly marked.

Vendor0.asp

This shows you how you can quickly prototype a data entry screen and a report using the AutoEntry and AutoReport capabilities of the WO. The entry screen is built using a single WO function call that says "build a data entry page for each field in the file using the DDs to determine how the page should look. The report is built using a single WO function that says "Build a report for all fields in the file". Generally, this type of automated entry is good for prototyping but not flexible enough for an actual application. However, check out the results - they look pretty good.

More About HTML    More About WML    More About Web Services