sam. 06 avril 2013, 23h02
Gregory
atoutfox.public.association
Re: liste deroulante vide
Yes - c'est la bonne solution
______
Gregory
______
"Jean-Claude Rivière" wrote in message
news:kjq0q3$2dlr$1@news.niouzes.net...
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=0000011697