SUBJECT: Looking for Access VBA modual programing.
I have a warranty claims database for WorkOrders to repair airplanes when
they come into for maintenance. Whenever warranty is filed a Claim is
submitted so that the shop can be reimbursed for parts and work performed
from the manufacture. In a claim there can be multiple line items that
were fixed. However the data is recorded record-by- record for each item
that was fixed. In one field is a notes text field that is filled out by
the mechanic describing what the defect was. (Field Name: Squawk) and
another text field that explains how the defect was repaired by the
mechanic (Field: Action). Here is a list of fields:
Field 1.) CLAIMNO; Field 2.) SQUAWKNO; Field 3.) SEQNUMBER; Field 4.)
CODETYPE ; Field 5.) NOTETEXTS
The 'CODETYPE' field is coded with the letter "F" for "Failure" to
describe the wording in the "NOTETEXT" field. A letter "A" in the
'CODETYPE' field describe what "Action" that was taken to repair or
correct the failure in the "NOTETEXTS" field.
In some NOTETEXTS field there may be empty lines so there needs to be
some programming to ignore empty text lines.
Here is how the data is recorded now in a database:
CLAIMNO SQUAWKNO SEQNUMBER CODETYPE NOTETEXTS
234568 1 1 F Per Sam Rogers at Williams International, comply
234568 1 2 F with FADEC downloads. Contact for assistance with
234568 1 3 F Tech Rep George Smith.
234568 1 4 F Williams International ref number is 23456ADS
234568 1 5 F
234568 1 6 F Download cable found to be defective.
234568 1 1 A Hooked up laptop for download. Attempted to
234568 1 2 A download bat software for -7 engine. Software was not
234568 1 3 A in laptop. Contacted Williams! He sent -4 config. files
234568 1 4 A for laptop. Loaded files and download EMT files
234568 1 5 A Everything is working fine now. Changed cable.
I want to concatenate the (Failure, NOTETEXTS) field into a memo field
and concatenate the (Action, NOTETEXTS) into a memo field then pull
"Failure" and "Action" memo field together to form only one record like
the example below.
This is how I like the data to look afterwards:
CLAIMNO SQUAWKNO NOTETEXTS
234568 1 Squawk: Per Sam Rogers at Williams International, comply with
FADEC downloads. Contact for assistance with Tech Rep George Smith.
Williams International Ref number is 23456ADS. Action: Hooked up laptop
for download. Attempted to download Bat software for -7 engine. Software
was not in laptop. Contacted Williams! He sent -4 configuration files for
laptop. Loaded files and download EMT files. Everything is working fine
now. Changed cable. EOF
I have tried to find a Access example on the web but cannot find one that
works with this many fields. I hope I have explain my problem very well.
If please send me additional questions.
Thanks
Eric
Eric Patterson
Tecnologia, programação e muito Visual FoxPro.
sexta-feira, 15 de outubro de 2010
[Access VBA Central] Concatenate multiply records and have a memo field with text
__._,_.___
.
__,_._,___
Assinar:
Postar comentários (Atom)
Arquivo do blog
-
▼
2010
(3087)
-
▼
outubro
(245)
- Re: ]] XL-mania [[ Membandingkan deretan angka pad...
- ]] XL-mania [[ menjumlah angka puluhan dari satu s...
- Re: ]] XL-mania [[ Membandingkan deretan angka pad...
- ]] XL-mania [[ File - rules_and_tips
- Re: ]] XL-mania [[ Analisis Ulangan Harian Otomati...
- Re: ]] XL-mania [[ Membuat treshold pada chart
- Re: ]] XL-mania [[ Analisis Ulangan Harian Otomati...
- Re: ]] XL-mania [[ Filter berdasarkan huruf besar ...
- Re: [Access VBA Central] Re: Need help with output...
- ]] XL-mania [[ Filter berdasarkan huruf besar / kecil
- Re: ]] XL-mania [[ Filter Excel 2007
- ]] XL-mania [[ Membandingkan deretan angka pada 2 ...
- ]] XL-mania [[ Analisis Ulangan Harian Otomatis te...
- [Access VBA Central] Re: Need help with outputting...
- Re: ]] XL-mania [[ Bantuan untuk Sumproduct
- Re: ]] XL-mania [[ cell berwarna
- Re: ]] XL-mania [[ tangal bulan serta fill otomatis
- RE: ]] XL-mania [[ cell berwarna
- Re: [Access VBA Central] Import SQLite files into ...
- Re: ]] XL-mania [[ cell berwarna
- RE: [Access VBA Central] Import SQLite files into ...
- Re: [Access VBA Central] De Normalizing a Parent C...
- [Access VBA Central] Re: Need help with outputting...
- Re: ]] XL-mania [[ tangal bulan serta fill otomatis
- ]] XL-mania [[ cell berwarna
- Bls: ]] XL-mania [[ ngitung sks bernilai
- RE: ]] XL-mania [[ ngitung sks bernilai
- Re: ]] XL-mania [[ jika fungsi IF tidak mengcover ...
- Re: ]] XL-mania [[ ngitung sks bernilai
- Re: ]] XL-mania [[ ngitung sks bernilai
- Re: ]] XL-mania [[ ngitung sks bernilai
- Re: [Access VBA Central] Import SQLite files into ...
- ]] XL-mania [[ ngitung sks bernilai
- Re: ]] XL-mania [[ Bantuan untuk Sumproduct
- ]] XL-mania [[ Bantuan untuk Sumproduct
- Re: ]] XL-mania [[ Lookup Table
- RE: ]] XL-mania [[ Lookup Table
- Re: ]] XL-mania [[ Mencari character yang sama
- Re: ]] XL-mania [[ Filter Excel 2007
- Bls: ]] XL-mania [[ Lookup Table
- Re: ]] XL-mania [[ jika fungsi IF tidak mengcover ...
- Re: ]] XL-mania [[ Lookup Table
- RE: ]] XL-mania [[ Lookup Table
- Re: ]] XL-mania [[ Mencari character yang sama
- Re: ]] XL-mania [[ Mencari character yang sama
- Re: ]] XL-mania [[ Filter Excel 2007
- Re: ]] XL-mania [[ Lookup Table
- Re: ]] XL-mania [[ Lookup Table
- Re: ]] XL-mania [[ jika fungsi IF tidak mengcover ...
- Re: ]] XL-mania [[ Mencari character yang sama
- Re: ]] XL-mania [[ Lookup Table
- Re: ]] XL-mania [[ Filter Excel 2007
- Re: ]] XL-mania [[ Mengambil nama Depan
- ]] XL-mania [[ jika fungsi IF tidak mengcover semu...
- ]] XL-mania [[ Buat Beberapa Report berdasarkan Da...
- ]] XL-mania [[ Chartspace
- ]] XL-mania [[ Mencari character yang sama
- Re: ]] XL-mania [[ merubah format date menjadi for...
- ]] XL-mania [[ wta cara posting
- ]] XL-mania [[ Lookup Table
- ]] XL-mania [[ Filter Excel 2007
- Re: ]] XL-mania [[ merubah format date menjadi for...
- Re: ]] XL-mania [[ merubah format date menjadi for...
- ]] XL-mania [[ merubah format date menjadi format ...
- Re: ]] XL-mania [[ VBA Code Untuk Remider dan Foll...
- Re: ]] XL-mania [[ VBA Code Untuk Remider dan Foll...
- Re: ]] XL-mania [[ VBA Code Untuk Remider dan Foll...
- Re: ]] XL-mania [[ chart yg blom sempurna...
- Re: ]] XL-mania [[ chart yg blom sempurna...
- ]] XL-mania [[ kolom hilang setelah di consolidated
- ]] XL-mania [[ VBA Code Untuk Remider dan Follow Up
- Re: ]] XL-mania [[ Mengambil nama Depan
- Re: ]] XL-mania [[ Mengambil nama Depan
- Re: ]] XL-mania [[ Mengambil nama Depan
- Re: ]] XL-mania [[ Lookup dg lebih dr 1 kriteria
- ]] XL-mania [[ rincian pemakaian secara automatic
- Re: ]] XL-mania [[ Lookup dg lebih dr 1 kriteria
- ]] XL-mania [[ Mengambil nama Depan
- Re: ]] XL-mania [[ tangal bulan serta fill otomatis
- Re: ]] XL-mania [[ Lookup dg lebih dr 1 kriteria
- ]] XL-mania [[ tangal bulan serta fill otomatis
- Re: ]] XL-mania [[ selisih tanggal dan angka
- ]] XL-mania [[ Lookup dg lebih dr 1 kriteria
- [Access VBA Central] Import SQLite files into Access
- ]] XL-mania [[ Menentukan dead stock
- ]] XL-mania [[ chart yg blom sempurna...
- Re: ]] XL-mania [[ selisih tanggal dan angka
- Re: ]] XL-mania [[ Mail Merge seribu data
- [Access VBA Central] Need help with outputting fro...
- Re: ]] XL-mania [[ selisih tanggal dan angka
- Re: ]] XL-mania [[ selisih tanggal dan angka
- Re: ]] XL-mania [[ selisih tanggal dan angka
- Re: ]] XL-mania [[ error pada excel 2007
- ]] XL-mania [[ selisih tanggal dan angka
- Re: ]] XL-mania [[ nilai MINIMAL tp bukan nol
- Re: ]] XL-mania [[ menyembunyikan baris yang nggak...
- Re: ]] XL-mania [[ Menambah Nomor Halaman
- Re: ]] XL-mania [[ nilai MINIMAL tp bukan nol
- Re: ]] XL-mania [[ pembulatan bukan 0.00
- Re: ]] XL-mania [[ free memory
-
▼
outubro
(245)
Nenhum comentário:
Postar um comentário