Hi there
I'm actually using an application developped in C, VB with an Ms Access database. But I would like to add .txt scripts to the program for additional information. The sttyle of the script is somethig like that
Code:
SUB PROCESS_ONLOAD
Dim %M50
FormMaximized
ENDSUB
SUB PROCESS_SAVE
Dim %M10
Dim %T1(10,10)
%M1 = "{#=CRM - Equipment.Delivered Date}"
%M5 = "{#=CRM - Equipment.Warranty Period}"
if %M5 = "1" then
%M2 = format$({#=%M1},"dd/mm/yyyy")
%M3 = dateadd$({#=%M2},+12,"m")
endif
if %M5 = "1.5" then
%M2 = format$({#=%M1},"dd/mm/yyyy")
%M3 = dateadd$({#=%M2},+18,"m")
endif
if %M5 = "2" then
%M2 = format$({#=%M1},"dd/mm/yyyy")
%M3 = dateadd$({#=%M2},+24,"m")
endif
%M4 = OBJECT.UPDATE [CRM - Equipment.Maintenance Due]='{#=%M3}' WHERE T_OBF_OB_Code='{#=%REF}'
ENDSUB
Could anyone out there tell me where this type of script writing could be learnt from.
Many thanks guys for your quick answer
Last edited by digioz; 09-11-09 at 07:31 AM.
Reason: Please use code tags