![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
1) Certain fields used in addresses are limited by UPS to 35 characters. We cannot figure out how to check within FM Pro 4 for records which, in a given field, exceed that length. Can anybody suggest a simple way to do this? We can tweak by hand, but it would really help to get a found set that contains only those records which violate this for a given field. |
|
2) Certain fields must not be empty. We can get a found set of records for which a given field is empty, and we can put a dummy into these fields, but is there a way to run a disjunctive set which will return a set of records, each of which has one or more empty fields from a set? Then we could just scroll through those records, putting something appropriate into all those fields one one pass. |
#3
| |||
| |||
|
|
Do a replace in the field, after finding all the too-long records, using a calculated result. Substitute(AddressField, Left(AddressField, 35)) |
#4
| |||
| |||
|
|
This kind of data cleaning using Find, Replace, and Substitute on a relatively small set of records shouldn't take more than an hour or so. Back up as you go along so that if you mess up and hit the wrong button on Replace you don't lose all your work. (very easy to do). |
#5
| |||
| |||
|
|
Greetings! My office uses a FM Pro 4.0/Mac custom-made database to handle invoicing, customer records, inventory and so forth in a small publishing operation. We designed the database ourselves, and it is pretty kludgy. We want to upgrade to 7.0, but haven't found the time to do the work. Anyway, we need to export our customer records (a little under 6000 records) for import to UPS's on-line shipping database. This can be done (we had a test finally work after lots of tweaking), but the UPS database import function is very picky about certain standards. If a single record violates any of its standards, the whole import fails! It would be much more convenient if certain records were excluded, and we could fine tune those. I'm writing to ask for advice in making sure our database meets those standards, because it is a lot of work to keep getting an unhelpful "import failed" error without a pointer to what caused it to fail. In our test, we had two types problems, which we overcame by hand for 1% of the entire database, but we don't want to have to work so hard on this for 6,000 records. 1) Certain fields used in addresses are limited by UPS to 35 characters. We cannot figure out how to check within FM Pro 4 for records which, in a given field, exceed that length. Can anybody suggest a simple way to do this? We can tweak by hand, but it would really help to get a found set that contains only those records which violate this for a given field. (The only way we've been able to figure this out to to export it to Excel, set a monospaced font, and resize columns to accommodate just that number of character, then scroll through the Excel worksheet. This seems inefficient for an easily quantifiable task.) 2) Certain fields must not be empty. We can get a found set of records for which a given field is empty, and we can put a dummy into these fields, but is there a way to run a disjunctive set which will return a set of records, each of which has one or more empty fields from a set? Then we could just scroll through those records, putting something appropriate into all those fields one one pass. Thanks in advance for any useful suggestions! George |
#6
| |||
| |||
|
|
2) Certain fields must not be empty. We can get a found set of records for which a given field is empty, and we can put a dummy into these fields, but is there a way to run a disjunctive set which will return a set of records, each of which has one or more empty fields from a set? Then we could just scroll through those records, putting something appropriate into all those fields one one pass. |
![]() |
| Thread Tools | |
| Display Modes | |
| |