Table Name:Customer Status
Fileds:
: SID - (Auto Number)
: CID - (Customer ID is Link to customer Details table's CID)
: Name
: Status (Suspended / Active / Terminated)
: Date
Above are the fields of my customer table and i just wanted to know how to get lastest status of each customer.
Eg:Customer A might have many records such as suspended on 20th may and again active on 25th may like so on...
AND ALSO finally i want to view this information in Customer Details Table form which will include all customer details.
eg: the form will look like this
CID (Customer ID)
Customer Name
Address
phoneNumber
Email
STATUS (LAST UPDATED STATUS FROM CUSTOMER STATUS TABLE)
Hope i have explained well what i need
Pls help me on how to do this...
thanks in advance
ibrahim
Fileds:
: SID - (Auto Number)
: CID - (Customer ID is Link to customer Details table's CID)
: Name
: Status (Suspended / Active / Terminated)
: Date
Above are the fields of my customer table and i just wanted to know how to get lastest status of each customer.
Eg:Customer A might have many records such as suspended on 20th may and again active on 25th may like so on...
AND ALSO finally i want to view this information in Customer Details Table form which will include all customer details.
eg: the form will look like this
CID (Customer ID)
Customer Name
Address
phoneNumber
STATUS (LAST UPDATED STATUS FROM CUSTOMER STATUS TABLE)
Hope i have explained well what i need
Pls help me on how to do this...
thanks in advance
ibrahim
Last edited: