sam. 06 avril 2013, 22h33
Jean-Claude Rivière
atoutfox.public.association
Re: liste deroulante vide
Salut,
après ta modif dans la table, fais :
ThisForm.combo1.Requery()
JC
"casper" a écrit dans le message de groupe de discussion :
kjprt0$296a$1@news.niouzes.net...
select mariage
select max(val(no_mar)) as no_mar from mariage into array arraymax
if _tally > 0
select mariage
go bottom
append blank
replace mariage.no_mar with padl(alltrim(str(arraymax[1]+1,10)),10)
*thisform.combo1.value = padl(alltrim(str(arraymax[1]+1,10)),10)
else
thisform.combo1.value = " 1"
endif
*****quand j ajoute un nouveau record dans ma table c est ok
mais dans le combo c est vide
si je sort du formulaire et revient il voit mon nouveau numero
premier champ combo cle primaire carectaire 10
Permalink : http://www.atoutfox.org/nntp.asp?ID=0000011696