Вы находитесь на странице: 1из 2

Sub : Reg.

Clubman Module Version control

Ref : Your mail and advice


With reference to the above,
1. In master create a table labeled as CLUBMANVERSION
use master
go
---DROP TABLE CLUBMANVERSION
CREATE TABLE [CLUBMANVERSION] (
[Autoid] [numeric](18, 0) IDENTITY (1, 1) NOT NULL ,
[DateofEntry] [datetime] NULL ,
[ClubName] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[ClubShortName] [varchar] (25) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
,
[ModuleName] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[DateofVersion] [datetime] NULL ,
[SizeofVersion] [numeric](18, 0) NULL ,
[DeveloperName] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
,
[ImplementerName] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NU
LL ,
[ChangeReference] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS N
ULL ,
[ChangeRefDate] [datetime] NULL ,
[ListofChanges] [varchar] (2000) COLLATE SQL_Latin1_General_CP1_CI_AS NU
LL
) ON [PRIMARY]
GO

---Sample Data
INSERT INTO Master..CLUBMANVERSION
(DateofEntry,ClubName,ClubShortName,ModuleName,DateofVersion,SizeofVersion,Devel
operName,ImplementerName,ChangeReference,ChangeRefDate,ListofChanges)
VALUES(GETDATE(),'SECUNDERABAD CLUB','SC','SMARTPOS',getdate(),22760,'SHANMUGAVE
LU','SHANMUGAVELU','Mail',getdate(),'1. Report Departmentwise Report is not list
ing Online Entries')

This form should be open after selecting the company


Each and every time check with Clubmanversion table with exe Name,Datetime and S
ize and compare with current exe if any mismatch between table and exe
then show a form Labled as Version control and get the input from the user end.
(It must be controlled by dbskey whether versioncontrol required or not. By defa
ult Yes, Development stage it must be No)
Columnwise Data Filling
1. ClubName - Based On Club Selection - Automatic
2. ClubShortName - Based on Club Selection - Automatic
3. ModuleName - Based on Module - Automatic
4. Dateofversion - Automatcially read from drive
5. Sizeofversion - Automatcially read from drive
6. DeveloperName - User Input
7. ImplementorName - User Input
8. ChangeReference - User Input
9. ChangeRefDate - User Input
10. ListofChanges - User Input

The following validation also possible


1. Recomment to use if anybody trying to use old version compare with table data
and exe
2. Display the Date of Version and size in mdi title.
I kindly requst you to go through and give suitable advice in this reagrds,
Thanking You,
Yours Truly,
A.Shanmugavelu

Вам также может понравиться