Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PAF File

Status
Not open for further replies.

tonyA1DL

Technical User
Feb 11, 2003
32
GB
We have recently installed AFD Postcode (Post Office Address File Software) and populate address fields in Approach using same.

How can I lock these fields down so that they can only be populated by the AFD software?

I want to prevent users overkeying good PAF validated data with rubbish data !
 
Thanks Paul,

however if I set the fields to Read Only, they won't accept the data populated by the PAF software.

Tony
 
The PAF software runs minimised and whenever it identifies a text string which matches a valid postcode on the post office address file, a window pops up with the option to accept (press enter) or reject (press minimise)

Typically a user would press enter, it then populates the address fields on the current approach view with this data

The problem arises when users miskey a postcode and then proceed to key the address manually and get it wrong, whereas I want to force users to obtain and key the correct postcode. If the data is not on the post office address file, it should not be able to be keyed manually.
 
OK, I just had a quick look at the AFD web site. Are you using the "Postcode Robot" to transfer the data to Approach? If so you have to allow write access to those fields.

The site mentions that the software has an API. This will be one or more C++ dlls containing functions that can be forward declared in the Approach LotusScript Editor and called to get the address data. That would let you make the fields read-only and use script to write to the database but will require quite a high level of programming knowledge.

Paul Bent
Northwind IT Systems
 
Once again Paul, many thanks for your help on this

Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top