Run time error base/1449

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Paramvir
Posts: 44
Joined: Sun Mar 27, 2016 9:46 am
Location: India
Contact:

Re: Run time error base/1449

Post by Paramvir »

dragancesu wrote: Fri Jun 05, 2020 9:16 am The program cannot display the window because some variable has no good value

maybe OK CCTXT2: = ALLTRIM (NAM) + "BORN:" + PDATEX1

if NAM is string and PDATEX1 is a date field then ... NAM + DTOC(pdatex1), all variables must be string
Thank you Dragancesu. Actually variable pdatex1 stores string values of date functions:

pdate11=ltrim(str(day(b_date)))
pdate22=cmonth(b_date)
pdate33=ltrim(str(year(b_date)))
pdate44=cdow(b_date)

PDATEX1:=pdate44+", "+pdate11+" "+pdate22+" "+pdate33

Thank you
Post Reply