🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.bd.ms-access
Article #129

Re: insertar un número con un botón

#129
From: ANTONIO
Date: Wed, 18 Oct 2006 21:52
26 lines
1697 bytes
vid escribi�:
> Hola a tod@s, haber si me podeis hechar una mano, necesitaria que
> mediante un click en un bot�n en un formulario, me rellenara un campo
> de una tabla con el n�mero 2.
> Simplemente esto, haber si me podeis dar una instrucci�n en VB
> 
> Gracias
> 
Pues por ejemplo:

Private Sub Comando_Click()
On Error GoTo Err_Comando_Click

Exit_Comando_Click:
     Texto = 2
     Exit Sub

Err_Comando_Click:
     MsgBox Error$
     Resume Exit_Comando_Click

End Sub

Saludos,

Antonio
Technical Details
Message-ID: <4536A224.2020508@wanadoo.es>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!fu-berlin.de!nsnmpen1-lo.nuria.telefonica-data.net!telenews.teleline.es!not-for-mail
References: <1161098996.491069.93600@e3g2000cwe.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111a5a,d5a74ead529cc335
X-Google-Attributes: gid111a5a,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!fu-berlin.de!nsnmpen1-lo.nuria.telefonica-data.net!telenews.teleline.es!not-for-mail
X-Trace-PostClient-IP: 80.24.92.252
Message-ID: <4536A224.2020508@wanadoo.es>
From: ANTONIO <marinageanquitalo@wanadoo.es>
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
MIME-Version: 1.0
Newsgroups: es.comp.bd.ms-access
Subject: Re: insertar un número con un botón
References: <1161098996.491069.93600@e3g2000cwe.googlegroups.com>
In-Reply-To: <1161098996.491069.93600@e3g2000cwe.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Antivirus: avast! (VPS 0642-2, 18/10/2006), Outbound message
X-Antivirus-Status: Clean
Lines: 26
Date: Wed, 18 Oct 2006 21:52:08 GMT
NNTP-Posting-Host: 10.20.31.4
X-Complaints-To: usenet@teleline.es
X-Trace: telenews.teleline.es 1161208328 10.20.31.4 (Wed, 18 Oct 2006 23:52:08 MET DST)
NNTP-Posting-Date: Wed, 18 Oct 2006 23:52:08 MET DST
Organization: Terra Networks