Tuesday, November 04, 2008

To set scroll bars for DocuWare Web Client instead of using pages, set the following in the designer:

Cell - No wrap

Pager - Page size 250, ax page size 250, link 10, align center

Table - Fixed 175pt and set sorting to whatever you want.

Tuesday, November 04, 2008 1:45:39 PM (Mountain Standard Time, UTC-07:00)  #    Comments [0]  | 
Thursday, October 23, 2008

Use despeckle blocks to indicate where people should write each character. "A Guide to Creating Machine-Readable Forms" recommends raster dots .39 pixels, and five times that space between each dot.

Thursday, October 23, 2008 12:05:32 PM (Mountain Standard Time, UTC-07:00)  #    Comments [0]  | 
Wednesday, October 22, 2008

Many useful libraries are included in the standard VBScript and JScript languages. There are libraries for regular expressions, string manipulation, math, and much more.

There are also libraries for connecting to databases. And while there is a FC8 Database Check rule, often you will want to customize its behavior. You can do that by connecting to the database with vbscript and adjusting the logic as you need. Here is an example of connecting to a Microsoft Access Database and populating the result to a suggestion box.

FC8:
Dim conn
Dim rs
Dim strSQLQuery
Dim arrayRows

Wednesday, October 22, 2008 12:04:13 PM (Mountain Standard Time, UTC-07:00)  #    Comments [0]  | 
Tuesday, September 02, 2008

var ItemsCount = Field(“Total”).Items.Count;
var Sum = 0;
Field(“TotalAmount”).Value = Field(“TotalAmount”).Value.replace(” “,”“);
for( i = 0; i     Field(“Total”).Items.Item(i).Value = Field(“Total”).Items.Item(i).Value.replace(” “,”“);
    Sum = Sum + parseFloat(Field(“Total”).Items.Item(i).Value);
}
if (Sum != parseFloat(Field(“TotalAmount”).Value)) {
    CheckSucceeded = false;
    ErrorMessage = “Sum of values in Total column doesn’t match TotalAmount value”;  
    Field(“TotalAmount”).Suggest( Sum );
}
else {
    CheckSucceeded = true;
}

Tuesday, September 02, 2008 8:45:37 AM (Mountain Standard Time, UTC-07:00)  #    Comments [0]  | 
Monday, June 23, 2008

Rect r;
If Not kwInvoiceNumber1.IsNull Then {
r = kwInvoiceNumber1.Rect;
r.Inflate(10*dt,10*dt);
restrictsearcharea(r);
}
Else If Not kwInvoiceNumber2.IsNull Then {
r = kwInvoiceNumber2.Rect;
r.Inflate(10*dt,10*dt);
restrictsearcharea(r);
}
Else DontFind;

Monday, June 23, 2008 7:21:52 PM (Mountain Standard Time, UTC-07:00)  #    Comments [0]  | 

Pick a theme: